[GE users] run time intel compiler library libsvml not found

Reuti reuti at staff.uni-marburg.de
Fri Dec 21 13:36:06 GMT 2007


Am 21.12.2007 um 13:04 schrieb SLIM H.A.:

> Maybe it clarifies if I show the script:
>
> #!/bin/csh
> ... some standard sge options here
> #$ -cwd
> setenv MPICH_PROCESS_GROUP no
> # request submission to a queue for parallel jobs
> #$ -q par.q
> ##$ -S /bin/csh

This will be just a real comment, it's not #$ at the beginning.

> #   ^^ no effect
> # set up the mpich version to use
> # load the modules
> module purge
> module load intel/fce/9.0.032 mpich/ge/intel/64/1.2.7 sge/6.0u7_1
> ldd ./monte
> echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH
> # $ -v LD_LIBRARY_PATH=$LD_LIBRARY_PATH

This you can only use on the commandline, where $LD_LIBRARY_PATH will  
be expanded by the shell. Here you should see a literal  
$LD_LIBRARY_PATH echoed, unless -V is used (space between # and $ is  
also not allowed)

> #   ^^ no effect
> #$ -V
> #   ^^ only works if the session shell has the module loaded as well

Seems okay.

> # execute command
> mpirun -np $NSLOTS -machinefile $TMPDIR/machines ./monte
>
> I built monte with
>
> module purge
> module load intel/fce/9.0.032 mpich/ge/intel/64/1.2.7
> mpif90 monte.f90 -o monte
>
> These are snippets from the output file
> ...
>         libsvml.so =>
> /usr/local/Cluster-Apps/intel/fce/9.0//lib/libsvml.so
> (0x00002b21417de000)
> ...
> LD_LIBRARY_PATH=/usr/local/lib:/usr/X11R6/lib:/usr/local/Cluster- 
> Apps/in
> tel/fce/9.0//lib:/usr/local/Cluster-App
> s/mpich/ge/intel/64/1.2.7/lib/shared:/usr/local/Cluster-Apps/sge/ 
> lib/lx2
> 6-amd64
> /usr/local/Cluster-Apps/sge/bin/lx24-amd64/qrsh -inherit -nostdin
> node231 /data/hamilton/drk1has/hamilton_monte
> pi/amd64_lnx_ifort/./monte node231 50375 \-p4amslave \-p4yourname
> node231 \-p4rmrank 1
> /data/hamilton/drk1has/hamilton_montepi/amd64_lnx_ifort/./monte: error
> while loading shared libraries: libsvml.
> so: cannot open shared object file: No such file or directory
> ...

Aha, the slave task might not have the LD_LIBRARY_PATH. Please add a - 
V to the rsh wrapper:

http://gridengine.sunsource.net/howto/mpich-integration.html

which will also solve other issues. And be sure to have a Tight  
Integration, i.e. "setenv P4_RSHCOMMAND rsh" to use the rsh-wrapper.

-- Reuti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list