tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: esci <esci () fastlane ! net>
To: tru64-unix-managers
Subject: SUMMARY: debugging FORTRAN
Date: Wed, 20 Jan 1999 18:11:11 +0000	[thread overview]
Message-ID: <96079034715722.tru64-unix-managers.marc@archive.invalid> (raw)


Basically, you can't!  At best the FORTRAN support in ladebug is vestigal
and appears destined to remain so for the near future.  There is currently
no support ofr intrinsic functions nor exponentials.  It's not clear what
else is unsupported.  A bigger worry is that the debugger will return an
answer which is incorrect. One can work around the problem by explicit use 
of temporaries, e.g.

      tmp=sin(x)
      tmp=tmp**y

etc ad nauseum....

Doubtless this has significant implications for performance.  I will probably
address the problem by means of a preprocessor which will transform code
such as:

      a = sin(x)
     &  **y
     &  + z

into:

      a = sin(x)
      a = a**y
      a = a + z

for debugging.


I didn't hear from anyone else who'd run into this, so I can only presume that
very little FORTRAN development is being done under DU.  If anyone is interested
in the preprocessor send me email

Reg Beardsley
rhb@acm.org

                 reply	other threads:[~1999-01-20 18:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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