tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: debugging FORTRAN
@ 1999-01-20 18:11 esci
  0 siblings, 0 replies; only message in thread
From: esci @ 1999-01-20 18:11 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-20 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-20 18:11 SUMMARY: debugging FORTRAN esci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox