Giter Site home page Giter Site logo

ferror's People

Contributors

atilasaraiva avatar jchristopherson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ferror's Issues

ifort error

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:

  1. 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.
    
  2. The procedure may have been defined with different accessibility (e.g. public, private) in the module than that specified in the separate interface body.
    
  3. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.