Re: [Question:]Difference between PGF90 and Compaq Visual Fortran 6.6

From: Catherine Rees Lay (spamtrap_at_polyhedron.org.uk)
Date: 07/29/04

  • Next message: Herman D. Knoble: "Re: Lahey & Intel compilation size/speed issues"
    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".
    

  • Next message: Herman D. Knoble: "Re: Lahey & Intel compilation size/speed issues"

    Relevant Pages

    • Re: General advice on C++ F77 multi-language compiling and linking
      ... This last part I am working through separately using help from Mixed language programming using CO++ and FORTRAN 77. ... From what I've been able to learn so far, I'll need a f77 compiler running on Windows-Intel as a minimum. ... MSVS2005 express is the only cheap way with current support; as you may have noticed, MS does not permit Fortran to be used with it, except by command line. ...
      (comp.lang.fortran)
    • Re: Compiling compaq visual fortran
      ... the command to run in f77 compiler ... or do I have to fgo for fortran 90 comlier?Is Compacq Visual Fortran ... error message looks very much like an F77 compiler's barf. ... It seems that I have to complie it with f90 right..??? ...
      (comp.lang.fortran)
    • Re: General advice on C++ F77 multi-language compiling and linking
      ... Mixed language programming using CO++ and FORTRAN 77. ... From what I've been able to learn so far, I'll need a f77 compiler running ...
      (comp.lang.fortran)
    • Re: interesting use of NEXT SENTENCE vs. CONTINUE
      ... These days I don't do compiler maintenance, but I HAVE done in the past, so ... You had a chance to point out how adherence to the standard can improve ... >> compile it WITH MINOR MODIFICATIONS for a specific platform. ... > platform-specific extension to COBOL ...
      (comp.lang.cobol)
    • Re: f77 <-> g77
      ... Generically, it will refer to a Fortran 77 compiler, but in different ... Fortran 77 compilers. ... saying that someone is using "the f77" compiler is very little ...
      (comp.lang.fortran)