Roger P. Ford wrote:
> Should a LAM Fortran application linked to a LAM 7.1.2
library built
> with no_second_underscore set be able to start on a
machine of the same
> architecture and OS but with a LAM 7.1.1 library built
with
> no_second_underscore not set. Will the runtime loaded
modules be
> unresolved? I.e., what are the runtime library
requirements of a LAM
> application. If this is a problem is the only solution
to rebuild LAM
> 7.1.2 and the Fortran application with
no_second_underscore not set?
>
If your application is linked against shared libraries, it
will die if
it doesn't find the library with the correct linking
convention. AFAIK,
the second_underscore convention is used only with obsolete
versions of
GNU Fortran (which are still available in current linux
"enterprise"
distros), so it is a bit surprising to see them in use with
an up to
date lam. You can, of course, avoid the need for those
shared libraries
to be visible to all ranks, by a static link. I don't
intend to guess
what other problems might come up with a mixture of 7.1.1
and 7.1.2.
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
|