From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: help: DECfort77 compiler
Date: 10 Sep 1994 16:43:22 GMT [thread overview]
Message-ID: <34snna$s2s@jac.zko.dec.com> (raw)
In-Reply-To: 34qsag$s9@larch.cc.swarthmore.edu
In article <34qsag$s9@larch.cc.swarthmore.edu>, he@engin.swarthmore.edu
(Ye He) writes:
>I am a novice user of DEC. I was trying to compile a fortran program
>that compiled and ran on Apollos (Domain OS) and DECfort77 gave me
>the following error message:
>
>ld:
>Undefined variable:
>max_
>fort:Sever:Failed while trying to link.
>
>I am not sure what went wrong.
>
>The program declared a lot of "double precision" variables. If my DEC3000
>(running Alpha) uses 64 bits by default, then doubling may get me in
>trouble. If that is the reason, how can I turn the double precision mode
>off in DECfort77? I couldn't find it in the man page.
It is a common misconception that because the AXP is a 64-bit processor
that integers and floats automatically default to 64 bits. Not true.
DOUBLE PRECISION is a 64-bit type the same as it is on most other
systems. You don't need to turn anything off.
I'm a bit confused by the error message - normally, if you used the
MAX intrinsic function the compiler would automatically map it to
the correct library routine (which isn't max_), but the fact that you
got a reference to max_ shows that something else is wrong. Is there
an EXTERNAL MAX somewhere in your program? How is the identifier MAX
used? Feel free to send me mail with code samples and I'll try to help.
Steve Lionel Mail: lionel@quark.enet.dec.com
DEC Fortran Development WWW: http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For a summary of Digital's Internet services, send mail to info@digital.com
prev parent reply other threads:[~1994-09-10 16:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-09 23:49 help: DECfort77 compiler Ye He
1994-09-10 16:43 ` Steve Lionel [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox