f77 problem -- flag???

Jeffrey McDonald (jm@heplx.phyast.pitt.edu)
Tue, 17 Aug 1999 17:08:32 -0400 (EDT)

Hello,

This probably isn't the best mail server for these problems, but I
expect that perhaps someone who has ported cern code to linux/f77 has
experience a similar problem.....

I'm having a problem with some sloppy code from cern. I think I
know what the authors want to do, but the code is in some patchy format
that I don't know if I can change. With f77, there is a problem with the
following two lines:

DOUBLE PRECISION ACTION(8)

DATA ACTION/'HOLD ','RESUME','EOF ','REWIND','ATTACH','DETACH'
+, 'EOFREW','CLOSE ' /


I know of work-arounds, but the code is re-created during each
build by a ypatchy script which is a binary file that I don't know how to
edit. Strangely enough, this is an acceptable f77 construct (at least on
sgi). Does anyone know a flag to pass to f77 to allow it to compile this
code? (I've searched but haven't found anything yet.) I do know that I
can change the flags to the f77 compiler.

Jeff

_____________________________________________________
Jeffrey McDonald, University of Pittsburgh jemcdon+@pitt.edu
100 Allen Hall office: 412-624-9056
3941 O'Hara St. lab: 412-624-9160
Dept. of Physics and Astronomy
University of Pittsburgh
Pittsburgh, PA 15260