Re: Need Help: compiling old Fortran program




"Förster vom Silberwald" <chain_lube@xxxxxxxxxxx> wrote in message
news:1183113239.585586.309450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jun 29, 12:28 pm, Förster vom Silberwald <chain_l...@xxxxxxxxxxx>
wrote:

Sorry for additional staff. F77 on Sun accepts the code. However, g77
on Sun does not (as it expected from my Mac OSX experience and g77). I
am not sure who the boss actually is in terms of compiler hirarchy
because when using F77 then F90 is called with -f77 option:

==
igam02ws% f77 ./preprces.f -c
NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=%none ./preprces.f -
c
../preprces.f:
MAIN:
read5:
comhm:
comsig:
qext1:
tauin:
compw:
sigeps:
matinv:
adjust:
pplot:

IF (R(J) .EQ. 0.D0) GO TO 40
^
I was reading this as trying for double precision rather than having to do
with control.
--
WW


.



Relevant Pages

  • Re: Need Help: compiling old Fortran program
    ... F77 on Sun accepts the code. ... on Sun does not (as it expected from my Mac OSX experience and g77). ... Reference to label at inconsistent with earlier reference at ...
    (comp.lang.fortran)
  • Re: closing unit=5 and unit=6 and print *
    ... |> Lepsh's Force 2.0 Editor and Compiler. ... |> specific to the build of g77 I have been using? ... Prior to f77, ... | units, for just such reasons, regardless of the standard. ...
    (comp.lang.fortran)
  • Re: same progams give different results, why?
    ... I first compile it under f77, it runs stably and gives reasonable ... I've tried them under g77 and gfortran, they both gave the same result ...
    (comp.lang.fortran)
  • error due to -ldl option
    ... Mandrake Linux 9.x with gcc-g77-3.2. ... change 'f77' to 'g77'. ... My limited prgramming knowledge suggests this is a linking error, ...
    (comp.lang.fortran)
  • Newline (linefeed) suppress.
    ... What option do I have in F77 to stop writefrom adding a newline ... Using 'ADVANCE' makes g77 and ifort complain. ...
    (comp.lang.fortran)