Article View: comp.lang.fortran
Article #4509Re: compiling FORTRAN IV on Unix f77
From: Michael Lemke
Date: Wed, 27 Jan 1993 21:04
Date: Wed, 27 Jan 1993 21:04
34 lines
1983 bytes
1983 bytes
In article <1k6e6cINNmqo@bigboote.WPI.EDU> bugsy@yoyodyne.WPI.EDU (Christopher Sean Moran) writes: >Help me... I have a program called VORLAX which I need to compile. >It was written and compiled originally on CDC FORTRAN IV. All >I have access to is Unix f77. I have tried to compile it, but >its a no go. One problem is the first line > >PROGRAM VORLAX(INPUT,OUTPUT, etc) > You can drop this line; INPUT, OUTPUT simply means the program reads from stdin and writes to stdout on units 5 and 6. Too bad you didn't give the etc, I suppose it is something like TAPE7=FOO or so, which is equivalent to OPEN( 7, FILE = 'FOO' ). Also beware of the crazy `file' structure on CDCs where you have several files in a file ;-), i.e., you can read beyond EOF and get more data. Check if your code does anything with END=label on READs. >the compiler doesnt like the parenthesis after the program >declaration. Past that there are no other problems. > >I do get an executable after compiling if I take the stuff >in the parenthesis out. But UNIX dumps my core every time >I run the program. Can anyone help me? Can you give a little more information? Sometimes even Unix error messages give a little more information. Also try to compile -g (debug, check you f77 man page for the correct switch) than a traceback might have a line number in it. Michael -- Michael Lemke Astronomy, UT Austin, Texas (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
Technical Details
Message-ID:
<1993Jan27.210443.25080@chpc.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.eng.gtefsd.com!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!cs.utexas.edu!hermes.chpc.utexas.edu!michaelReferences:
<1k6e6cINNmqo@bigboote.WPI.EDU>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.fortran Path: arc1-ca.pugleaf.net!sparky!uunet!europa.eng.gtefsd.com!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!cs.utexas.edu!hermes.chpc.utexas.edu!michael From: michael@chpc.utexas.edu (Michael Lemke) Subject: Re: compiling FORTRAN IV on Unix f77 Message-ID: <1993Jan27.210443.25080@chpc.utexas.edu> Organization: The University of Texas System - CHPC References: <1k6e6cINNmqo@bigboote.WPI.EDU> Date: Wed, 27 Jan 93 21:04:43 GMT Lines: 34