[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gforgran module ABI



On 2011-10-20 17:23, Enrico Zini wrote:
Hello,

if I run "ls /usr/include/*.mod | xargs -L 1 head -n 1" I see fortran
modules installed that have different versions.

At one weather centre they need to build fortran programs that need both
grib_api (version "6") and netcdf (version "0"), and there seems to be
no version of gfortran that is happy to use both.

How do you deal with the incompatibility of fortran modules across
compiler versions?

Should we regularly ask for binNMUs of packages shipping .mod files
every time the default gfortran version changes, or is something better
(like, a standard .mod file format) about to come?

(netcdf seems to get hit by this quite often: #618967, #643894, #630564,
#576968 and #543871, for example)
I suspect the best answer is binNMU. Its annoying the way the format has been changing and the gfortran team should to told how problematic it is, but within Debian we should
stick with the latest

It should also trigger some performance improvements!

regards
Alastair


Ciao,

Enrico



--
Alastair McKinstry  ,<alastair@sceal.ie>  ,<mckinstry@debian.org>     http://blog.sceal.ie

Anyone who believes exponential growth can go on forever in a finite world
is either a madman or an economist - Kenneth Boulter, Economist.



Reply to: