Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!agate!agate.berkeley.edu!thewalt From: thewalt@canuck.ce.berkeley.edu (C. Thewalt) Newsgroups: comp.unix.ultrix Subject: Re: Fortran program under Ultrix 4.0 - Fortran V2.0 Message-ID: Date: 26 Oct 90 15:02:18 GMT References: <244@opus.NMSU.Edu> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: Dept. of Civil Engineering, University of California, Berkeley Lines: 28 In-Reply-To: bemery@nmsu.edu's message of 25 Oct 90 19:39:14 GMT In article <244@opus.NMSU.Edu> bemery@nmsu.edu (Bryan Emery) writes: I have a program that is about 3000 lines long. It compiles and runs under VMS 5.0 Fortran with no problems. It also compiled and ran on a SUN 4. However, on my DECstation 3100 (supposed to be much faster than my VAX) it compiles with some WARNINGS - no ERRORS. When I try to execute the result it runs for a short time (about 3-5 minutes) then does a core dump and quits with no explicit error message. I tried using the debugger but I don't know much about using debugger. Any suggestions?? Bryan Emery Although DEC and I don't see eye to eye on whether this is a bug, try compiling with the -static flag and see if it works better. From what I can tell this flag is mandatory to get semi-normal behavior out of the fortran compiler. I claim this is a bug, because it is necessary even on small programs with no subroutines, when by the description in the man page it sounds like it is necessary only for those who are taking liberties with local variable in subroutines. Anyway, worth a try... Chris -- Christopher Robin Thewalt These opinions are not necessarily thewalt@ce.berkeley.edu shared by my employer... University of California, Berkeley