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

Coinstallability of Fortran libraries built with different compilers



Hello,

another issue caused by a lack of standards for Fortran .mod files is
that one cannot use, say, gfortran, to link to a library built with
another compiler like ifort.

We are starting to need to install development systems that would allow
both a gfortran toolchain and an ifort toolchain. That would mean having
to compile all libraries twice, and installing them twice in the system.

I have been experimenting with hacks like installing gfortran files in
/usr/include and /usr/lib and ifort files in /usr/include/ifort and
/usr/lib/ifort, and with a bit of insisting, things can be made to work.

That has also the nice property that standard Debian packages, that are
built with gfortran, fit normally in the system.

Is that a solution as good as anything, or are you doing something
better?



Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico@enricozini.org>

Attachment: signature.asc
Description: Digital signature


Reply to: