LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2007, 03:16 PM   #1
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Rep: Reputation: 15
compiling for fortran


hi



I'm trying to compile a program fortran but saw it in my shell:

Fortran compiling _i686-pc-linux-gnu-.F using flags -O3 -fast-math and extra objects/libs /home/guest/HEN_HOUSE/lib/i686-pc-linux-gnu-/egos_c_utilise.o /home/guest/HEN_HOUSE/lib/i686-pc-linux-gnu-/load_utilise.o -ladle

In file _i686-pc-linux-gnu-.F:12826

YMIN = SIGN(1.,Y(1)) * 1.E-5 * YMIN
1
Error: 'b' argument of 'sign' intrinsic at (1) must be the same type and kind as 'a'



anybody could say me


what should i do to resolve it?
 
Old 05-16-2007, 04:03 PM   #2
sibtay
Member
 
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
The problem appears to be in the source code of the program. If you have downloaded the source from somewhere, try getting a different version.
 
Old 05-16-2007, 04:47 PM   #3
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
but i can compile

i downloaded again the program from the (main home page)


but i can compiling almost all subcodes, but the most only that one (doznrc). i can not compile it.


 
Old 05-16-2007, 05:03 PM   #4
sibtay
Member
 
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
Are you compiling this with a fortran compiler or gcc?
 
Old 05-28-2007, 01:42 PM   #5
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
compiling with g fortran

sorry im compiling with g fortran.\


why?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 07:39 AM
Compiling Fortran program by g77 akillam Linux - Software 1 10-16-2006 06:02 AM
Gnu Fortran versus Intel Fortran tomatoefish Linux - Software 3 02-20-2006 02:31 PM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 09:59 AM
Fortran merlin371 Programming 4 01-05-2004 02:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:39 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