Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29249 Discussions

Linux program exit handler, like atexit(3)

Chris_Payne
Beginner
410 Views
I need to have a Fortran subroutine executed when my main program ends. Is there a Fortran runtime function for this or is the Linux atexit(3) function sufficient? Will the Fortran runtime still exist when the subroutine is called via atexit? I'm using compiler version 12 on RHEL 5.x, 64-bit for both.
0 Kudos
0 Replies
Reply