jchristopherson / ferror Goto Github PK
View Code? Open in Web Editor NEWA library to assist with error handling in Fortran projects.
License: GNU General Public License v3.0
A library to assist with error handling in Fortran projects.
License: GNU General Public License v3.0
If I try with the latest ifort compiler on Linux
ifort -c ferror.f90 ferror_implementation.f90
,
I get a few warnings about gnu extensions idate and itime (which probably could get fixed by adding use ifport
in ferror.f90) ,
and an error
ferror_implementation.f90(274): error #6122: The characteristics of the separate module procedure differ from those specified in the separate interface body. [ER_GET_ERR_FCN_PTR]
module function er_get_err_fcn_ptr(this) result(ptr)
compilation aborted for ferror_implementation.f90 (code 1)
I would really like to be able to use ferror, in linalg, with ifort (and ifx).
However, I cannot get it to work.
If it helps, I asked chat.openai.com about error #6122 and this is its answer, which still does not
help me enough to fix the problem myself.
This error message is generated by the Intel Fortran compiler (ifort) and indicates that there is a mismatch between the characteristics of a procedure defined in a module and those specified in the separate interface body for that procedure.
There are several possible reasons for this error:
The procedure may have been defined with different arguments or a different return type in the module than those specified in the separate interface body.
The procedure may have been defined with different accessibility (e.g. public, private) in the module than that specified in the separate interface body.
There may be a typo or other mistake in the name of the procedure in the separate interface body.
To fix this error, you will need to ensure that the procedure is defined consistently in the module and in the separate interface body. This may involve modifying the procedure definition or the separate interface body to match the other.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.