mod file compatibility between major releases

FX fxcoudert@gmail.com
Fri May 16 16:28:00 GMT 2008


Hi Chris,

> However, I don't know what efforts, if
> any, there are for enabling mod files from different major versions to
> interop in current or future releases of gfortran.  Are there any
> efforts on this front, or is it expected that the sources be  
> recompiled
> by the next major version to get the new mod files?

No, there are no efforts to make module files compatible between  
versions (theoretically, not even minor versions, though we of course  
avoid breaking them unless there is a compelling reason; I don't  
think this has happened in the recent past). A recurring problem is  
that of distributing module files along with libraries, for people to  
use to interface their code to the library, but that's not how module  
files are supposed to be used (the proper solution, in that case, is  
to distribute a file containing interfaces, to be included or  
compiled by the users).

Regards,
FX

-- 
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/



More information about the Fortran mailing list