Re: [Question:]Difference between PGF90 and Compaq Visual Fortran 6.6
From: Catherine Rees Lay (spamtrap_at_polyhedron.org.uk)
Date: 07/29/04
- Previous message: David Frank: "Re: [Question:]How to split one file into 3/4 using fortran?"
- In reply to: andy: "[Question:]Difference between PGF90 and Compaq Visual Fortran 6.6"
- Next in thread: Nicolas Lardjane: "Re: [Question:]Difference between PGF90 and Compaq Visual Fortran 6.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jul 2004 09:59:54 +0100
In article <16c9ae76.0407241202.443f2e99@posting.google.com>, andy
<andylcx@hotmail.com> writes
>Hi Guys:
> I have a question about running the same program (written by
>Fortran 77)in different platform using different compiler. In Linux
>platform, I run my program compiled by PGF77 and in Windows 2k
>platform, I run my program compiled by Compaq Visual Fortran 6.6; in
>Sun Solaris 8 platform, I run my program compiled by Sun Fortran 95
>compiler. The results caculated by Compaq 6.6 and Sun Fortran 95 are
>the same, but the output by PGI compiler is different. I try to use
>GNU f77 and IBM ifc to compile my problem. However, neither of them
>works. So, I suspect the reliability of PGI compiler and the fortran
>compiler under Linux platform. Is there any suggestion to fix this
>problem? Thanks in advance!
It sounds as though your program isn't as standard f77 as you think it
is, if you have 2 f77 compilers which can't even compile it. At this
point, all bets are off. If I had a program which 2 different compilers
couldn't compile, I'd suspect a bug in my program, not the reliability
of a 3rd compiler. What error messages do you get from the 2 compilers
which reject the code?
If that doesn't help. I suggest you turn all the checking options on all
of your compilers on and start fixing any errors they report. Strong
candidates include a reference to an array element outside the bounds of
the array and using a variable which has never been initialised.
HTH,
Catherine.
-- Catherine Rees Lay To email me, use my first name in front of the "at".
- Previous message: David Frank: "Re: [Question:]How to split one file into 3/4 using fortran?"
- In reply to: andy: "[Question:]Difference between PGF90 and Compaq Visual Fortran 6.6"
- Next in thread: Nicolas Lardjane: "Re: [Question:]Difference between PGF90 and Compaq Visual Fortran 6.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|