[Beowulf] Issue in finding libraries on the unix path

Francesco Pietra francesco.pietra at accademialucchese.it
Mon Apr 13 14:34:23 PDT 2009

With debian amd64 lenny I have circumvented the issue

"dynamic linkage is also a headache in that the mechanisms
used to find shared libraries during dynamic loading are not all that robust
on Linux systems running MPICH or other MPI packages
....................  for the compilers that use compiler shared
libraries (ifort, pathscale), we use LD_LIBRARY_PATH during
configuration to set an -rpath
linkage option, which is reliably available in the executable."

by compiling with gcc g++ gfortran, both openmpi-1.3.1 and a parallel
computational code. With intel compilers (contrary to the time of debian
amd64 etch and a simpler dual-opteron computer) I was unable to have
them recognizing their library limf.so, although it is available at
boot on the unix path.  A mixed gcc g++ ifort compilation for
openmpi-1.3.1 succeeded with two-socket mainboards, not with 4-socket

Unfortunately, the fastest executable (+ 40%) of the said code lists
in "./configure -help'
 compaqf90           (Compaq Fortran 90, osf1_alpha only)
    f90                 (Native Fortran 90, sgi_mips)
    ifort               (Intel Fortran Compiler, v8+, linux*, sgi_altix)
    pathf90             (Pathscale Fortran 90/95, linux64_opteron only)
    pgf90               (Portland Group Fortran 90/95, cray*, linux*)
    xlf90               (IBM xlf90/mpxlf90/mpxlf90_r, aix_spx only)

of which I only have intls, with th said problems. I
must rely on this faster executable, otherwise, with limited hardware,
I can't perform the simulations.

Question: could you please clarify how to implement the above "-rpath
linkage option"?
Also, is there any hope to satisfy the f90-type compiler request with
gfortran or other gnu fortran compiler? What I did is sourcing the
path to the libraries at boot
(calling from my .bashrc the intel *.sh file to this concern. "echo
$LD_LIBRARY_PATH" shows the path to the requested library but intel
does not see it.

Thanks a lot
francesco pietra

More information about the Beowulf mailing list