- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Short of downloading and installing the newer version of the compiler (which may be my last option), is anyone aware if the SIGABRT issue was fixed in the latest version of the fortran compiler? We're running 8.1, and when we create a program (main() in c++) and link to several object files that were compiled using ifort, when the c++ program gets to a throw() line, something in the fortran cxa libraries signal a SIGABRT rather than proceeding to the catch() line below it, as one would expect.
Right now, we're compiling the c++ code with g++. I was hoping to have to avoid purchasing the Intel c++ compiler in addition to the fortran compiler just to get this one piece of code working right, but if it's the only solution, I first wanted to check to see if a newer version of the fortran compiler fixed the issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, later versions of the Fortran compiler (actually runtime libraries) remove the dependence on the C++ libraries, so getting a newer version could fix your exception handling issue. V8.1 is relatively old; our current release is 10.1.
Another thing to try with your existing V8.1 is to use "-cxxlib-gcc" when you link. That tells ifort to link against the gcc C++ libraries instead of the libcxa ones provided by the Fortran installation.
- Lorri

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page