Topic: ieee_exceptions
I downloaded Fortran code which includes:
USE, INTRINSIC :: ieee_exceptions
I can compile it with intel fortran but not with simply Fortran. Any help?
For discussions of all Approximatrix products and related software
You are not logged in. Please login or register.
Approximatrix Forums → User Support → ieee_exceptions
I downloaded Fortran code which includes:
USE, INTRINSIC :: ieee_exceptions
I can compile it with intel fortran but not with simply Fortran. Any help?
Some possible approaches to try:
(1)
Look up in the Intel Fortran documentation what exactly the "ieee_exceptions" module does.
(2)
Comment-out the line of code, USE, INTRINSIC :: ieee_exceptions, and wait to see what errors you get (and how many there are) telling you about (eg) variables with undeclared data types, subroutines and subprogram functions not found, then make guesses about what to put into your code to overcome this.
(3)
Provide an empty module of your own called ieee_exceptions, and edit out the option, 'INTRINSIC' from the USE line, then look at teh error messages to work out what that module needs in it.
The ieee_exceptions module is part of the Fortran 2003 standard, and Simply Fortran's compiler does not yet support it. Work is slowly progressing on it. You can read more about it at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58020.
Based on conversations over the course of today, I've added a new package to the Package Manager:
http://packages.simplyfortran.com/package/60.html
The above package adds support for Fortran 2008 IEEE modules to Simply Fortran in a slightly non-standard manner.
Approximatrix Forums → User Support → ieee_exceptions
Powered by PunBB, supported by Informer Technologies, Inc.