With Lahey LF95:
CALL ERRTRA
STOP
There also is CALL ABORT, but their doc doesn't say if it produces the traceback or not before terminating the program, and I've never used it. HTH.
RAR
-----Original Message-----
From: Aleksandar Donev [mailto:[log in to unmask]]
Sent: Monday, February 09, 2004 8:26 PM
To: [log in to unmask]
Subject: ABORT with traceback
Hi,
Does anyone know if there is a routine in NAG's compiler to abort execution
and produce a stack traceback? When compiled with -gline, I can do a
READ(-1,*) or some other trick like that and get a runtime error with a nice
traceback (line numbers and everything). I thought the ABORT from the POSIX
interface would do this, but it does not. Similar question for Intel and
Lahey.
Thanks,
Aleksandar
-----------------------------------------
*****************Internet Email Confidentiality Footer******************
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message
and notify the sender by reply email. Please advise immediately if you
or your employer do not consent to Internet email for messages of this
kind. Opinions, conclusions and other information in this message that
do not relate to the official business of The Shaw Group Inc. or its
subsidiaries shall be understood as neither given nor endorsed by it.
________________________________________________________________________
The Shaw Group Inc.
http://www.shawgrp.com
|