LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 02-16-2017, 04:05 AM   #1
amini29
LQ Newbie
 
Registered: Sep 2016
Posts: 8

Rep: Reputation: Disabled
fortran 90 compiler


I had been using the same fortran 90 code on openSuse with intel compiler and it used to work perfectly;, however, when I switched to ubunu with gfortran, it gives me error. I appreciate if someone could help me with this problem. A copy of what I get while compiling is as wirtten below.

make

--- Compiling Fortran-90 source file [analysis.f90]
f95 -O3 -c analysis.f90
analysis.f90:18:4:

data vk /1,1,1, -1,1,1, 1,-1,1, 1,1,-1, -1,-1,-1, 1,-1,-1, -1,1,-1, -1,-1,1/
1
Error: DATA statement at (1) has more variables than values
makefile:21: recipe for target 'analysis.o' failed
make: *** [analysis.o] Error 1
[/tmp/Analysis100_azeo]
% gvim analysis.f90
[/tmp/Analysis100_azeo]
 
Old 02-16-2017, 06:51 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Please post your question only once. Posting a single thread will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of https://www.linuxquestions.org/quest...or-4175599834/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran 90 compiler amini29 Linux - Newbie 2 09-05-2016 03:47 AM
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 06:39 AM
Fortran compiler serafimg Ubuntu 1 01-28-2007 02:19 PM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM
Fortran Compiler bob10a Linux - Software 14 07-19-2003 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration