Do different compilers produce different .mod files?



Hello,
I'm trying to add HDF5 to a program and i am using the binary
libraries from the website.
However when i try to compile the program neither ifort (intel) or f95
(sun) will recognise the .mod files from the api that came with the
libraries. The libraries were compiled with G95 i think. Does anyone
know if G95 .mod files should be compatible with other compilers? i
would have though so.

Also has anyone managed to get the api that comes with the HDF5
library to work with other compilers?

Thanks

Jeremy
.



Relevant Pages

  • Re: Dynamically loading a static C library (compiler suggestion?)
    ... I am programming a microcontroller, ... Manufacturer suggests using one of the following compilers: ... the tools I use produce OMF so I ... for dynamically loading libraries. ...
    (comp.os.msdos.programmer)
  • RE: Are bad developer libraries the problem with M$ software?
    ... >>I have never been able to fathom why compilers can't barf out better ... Secure Windows Initiative ... Are bad developer libraries the problem with M$ software? ...
    (SecProg)
  • Re: A concern about mixing C and C++
    ... the future users to use the library? ... expertise in the quirks of individual compilers and their run-time ... different run-time libraries. ... C++ compiled code from ...
    (comp.lang.c.moderated)
  • Re: good c compiler
    ... ABI for the platforms he is targeting. ... Same problem in reverse if the library is compiled with MSVC and the header refers to long double, although way round you can fix it by changing the header. ... Note that I'm NOT saying Jabob's decision is bad or unreasonable, just something the users of his compiler need to be aware of IF their code will be linked with code compiled with other compilers. ... I was not talking about libraries written BY MS, I was talking about libraries build USING MSVC. ...
    (comp.lang.c)
  • Re: ifort and CVF
    ... Intel provide a free trial of ifort available at www.intel.com, ... I can say is that ifort for Linux has beaten the other compilers I use ... However it will also depend whether your core computation routines ... (usually linear system solvers from libraries for me) ...
    (comp.lang.fortran)