List Info

Thread: LAM: Fortran no_second_underscore




LAM: Fortran no_second_underscore
user name
2006-07-27 13:37:42

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?

Thank you,

Roger

 

Roger Ford

SAIC-DEMACO

University of Illinois South Research Park

1901 South First St., Suite D-1

Champaign, IL 61820

(217) 337-0142 ext 157

saic.com">mailto:roger.fordsaic.com

 

LAM: Fortran no_second_underscore
user name
2006-07-27 16:53:38
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/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )