🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #5406

Re: Fascinating DecStation 3100 Fortran problem.

#5406
From: kris graham
Date: Thu, 01 Jun 1989 18:15
25 lines
1255 bytes
> 1)  If compiled with version 1 of the compiler, the program runs fast,
> bug generates an output file that consists of NaN, which somebody told me
> means not a number.  However, the exact same program works like a charm under
> VMS.
> 



I am taking a guess (not knowing your code) on how to get rid of those NaNs...

Try compiling with the -static option.  

The -static option saves local variables in one static location.
Subsequent calls to the procedure containing the variables can 
change their values.

The DECstation 3100 (aka PMAX) Fortran compiler, unlike some other F77-compatible compilers,
does not have the -static switch as a default.

Hey, I speak for myself..not for Digital.

Christopher Graham, [ graham@fuel.dec.com ]
Digital Equipment Corp,
Ultrix Resource Center,
Technical Details
Message-ID: <1253@riscy.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!decwrl!shlump.dec.com!riscy.dec.com!fuel.dec.com!graham
References: <2227@blake.acs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!decwrl!shlump.dec.com!riscy.dec.com!fuel.dec.com!graham
From: graham@fuel.dec.com (kris graham)
Newsgroups: comp.sys.dec
Subject: Re: Fascinating DecStation 3100 Fortran problem.
Message-ID: <1253@riscy.dec.com>
Date: 1 Jun 89 18:15:26 GMT
References: <2227@blake.acs.washington.edu>
Sender: news@riscy.dec.com
Organization: DEC Ultrix Resource Ceneter NYC
Lines: 25