<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [mpich-discuss] error while loading shared libraries: libsvml.so</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
&nbsp;libsvml.so is a shared object file provided with the Intel Math Library. You should check with your sysadmin on how to setup the correct environment (LD_LIBRARY_PATH) for the Intel compiler.<BR>
<BR>
Regards,<BR>
Jayesh<BR>
<BR>
-----Original Message-----<BR>
From: owner-mpich-discuss@mcs.anl.gov [<A HREF="mailto:owner-mpich-discuss@mcs.anl.gov">mailto:owner-mpich-discuss@mcs.anl.gov</A>] On Behalf Of Angel Arancibia<BR>
Sent: Monday, June 23, 2008 1:17 PM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: [mpich-discuss] error while loading shared libraries: libsvml.so<BR>
<BR>
Hi I compiled mpich2.1.0.7 with smpd (and intel compiler) but I can't make it work.<BR>
<BR>
The message is:<BR>
<BR>
&quot; /opt/mpi/mpich2-1.0.7/64/bin/smpd: error while loading shared<BR>
libraries: libsvml.so: cannot open shared object file: No such file or directory &quot;<BR>
<BR>
It seems like a library path problem, but I can't find where. In the configure, I passed the correct path<BR>
<BR>
./configure --prefix=/opt/mpi/mpich2-1.0.7/64/ --with-pm=smpd --with-pmi=smpd --enable-f90 'LDFLAGS=-L/usr/local/lib -L/opt/intel/fce/9.1.036/lib -L/opt/intel/cce/9.1.042/lib -lsvml -lpthread -lcrypto' 'FFLAGS=-axW -O3 -fPIC -tpp7 -xT -fpe0 -I/opt/intel/fce/9.1.036/include -I/opt/intel/cce/9.1.042/include -c'<BR>
2&gt;&amp;1 | tee config.txt<BR>
<BR>
Then:<BR>
<BR>
make 2&gt;&amp;1 | tee m.txt<BR>
make install 2&gt;&amp;1 | tee mi.txt<BR>
<BR>
The complete message is :<BR>
<BR>
(SGE script out)<BR>
<BR>
aarancibia@cluster:~/job_examples/test-oport/test-AMD/64/mpihello$cat<BR>
mpich2_smpd.sh.po8918<BR>
Cargando Environment<BR>
##################<BR>
MANPATH=/opt/mpi/mpich2-1.0.7/64/man:/opt/intel/cmkl/9.0/man:/opt/intel/fce/9.1.036/man:/opt/intel/cce/9.1.042/man:/home/sys/sge/man:/usr/share/man<BR>
HOSTNAME=era-q8.cluster.ifir.edu.ar<BR>
INTEL_LICENSE_FILE=/opt/intel/cce/9.1.042/licenses:/opt/intel/licenses:/home/aarancibia/intel/licenses:/opt/intel/fce/9.1.036/licenses:/opt/intel/licenses:/home/aarancibia/intel/licenses<BR>
SGE_TASK_STEPSIZE=undefined<BR>
SHELL=/bin/sh<BR>
TERM=linux<BR>
NHOSTS=1<BR>
SGE_O_WORKDIR=/home/aarancibia/job_examples/test-oport/test-AMD/64/mpihello<BR>
TMPDIR=/local/8918.1.amd-test<BR>
QUIET=no<BR>
SGE_O_HOME=/home/aarancibia<BR>
SGE_ARCH=lx24-amd64<BR>
SGE_CELL=default<BR>
RESTARTED=0<BR>
ARC=lx24-amd64<BR>
USER=aarancibia<BR>
LD_LIBRARY_PATH=/opt/mpi/mpich2-1.0.7/64/lib:/opt/intel/cmkl/9.0/lib/em64t:/opt/intel/fce/9.1.036/lib:/opt/intel/cce/9.1.042/lib<BR>
SGE_TASK_LAST=undefined<BR>
QUEUE=amd-test<BR>
SGE_TASK_ID=undefined<BR>
SGE_BINARY_PATH=/home/sys/sge/bin/lx24-amd64<BR>
PATH=/opt/mpi/mpich2-1.0.7/64/bin:/opt/intel/fce/9.1.036/bin:/opt/intel/cce/9.1.042/bin:/home/sys/sge/bin/lx24-amd64:/local/8918.1.amd-test:/usr/local/bin:/bin:/usr/bin<BR>
RUNLEVEL=2<BR>
runlevel=2<BR>
SGE_STDERR_PATH=/home/aarancibia/job_examples/test-oport/test-AMD/64/mpihello/mpich2_smpd.sh.po8918<BR>
UPSTART_EVENT=runlevel<BR>
F90=ifort<BR>
PWD=/home/aarancibia/job_examples/test-oport/test-AMD/64/mpihello<BR>
VERBOSE=yes<BR>
SGE_STDOUT_PATH=/home/aarancibia/job_examples/test-oport/test-AMD/64/mpihello/mpich2_smpd.sh.po8918<BR>
SGE_ACCOUNT=sge<BR>
JOB_SCRIPT=/local/sys/sge//era-q8/job_scripts/8918<BR>
JOB_NAME=mpich2_smpd.sh<BR>
SGE_ROOT=/home/sys/sge<BR>
previous=N<BR>
PREVLEVEL=N<BR>
F77=ifort<BR>
REQNAME=mpich2_smpd.sh<BR>
CXX=icc<BR>
SGE_JOB_SPOOL_DIR=/local/sys/sge//era-q8/active_jobs/8918.1<BR>
ENVIRONMENT=BATCH<BR>
PE_HOSTFILE=/local/sys/sge//era-q8/active_jobs/8918.1/pe_hostfile<BR>
SHLVL=1<BR>
HOME=/home/aarancibia<BR>
SGE_CWD_PATH=/home/aarancibia/job_examples/test-oport/test-AMD/64/mpihello<BR>
NQUEUES=1<BR>
SGE_O_LOGNAME=aarancibia<BR>
SGE_O_MAIL=/var/mail/aarancibia<BR>
TMP=/local/8918.1.amd-test<BR>
JOB_ID=8918<BR>
LOGNAME=aarancibia<BR>
PE=mpich2-testing<BR>
SGE_TASK_FIRST=undefined<BR>
SGE_O_PATH=/home/sys/scripts/checks:/home/sys/scripts/fixs:/opt/mpi/mpich2-1.0.5p4/feisty-32/bin:/opt/intel/fc/9.1.036/bin:/opt/intel/cc/9.1.042/bin:/home/sys/sge/bin/lx24-x86:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin/X11:/usr/games:/usr/local/condor/bin:/usr/local/condor/sbin:/opt/intel/fortran/stable/bin:/opt/intel/cc/stable/bin<BR>
UPSTART_JOB=rc2<BR>
CC=icc<BR>
SGE_O_HOST=cluster<BR>
SGE_O_SHELL=/bin/bash<BR>
REQUEST=mpich2_smpd.sh<BR>
UPSTART_JOB_ID=3<BR>
INCLUDE=/opt/intel/cmkl/9.0/include:<BR>
NSLOTS=4<BR>
SGE_STDIN_PATH=/dev/null<BR>
_=/usr/bin/env<BR>
##################<BR>
era-q8<BR>
-catch_rsh /local/sys/sge//era-q8/active_jobs/8918.1/pe_hostfile<BR>
/opt/mpi/mpich2-1.0.7/64<BR>
era-q8<BR>
era-q8<BR>
era-q8<BR>
era-q8<BR>
startmpich2.sh: check for smpd daemons (1 of 10) corriendo rsh<BR>
era-q8<BR>
/home/sys/sge/bin/lx24-amd64/qrsh -inherit era-q8 /opt/mpi/mpich2-1.0.7/64/bin/smpd -port 23918 -d 0<BR>
startmpich2.sh: missing smpd on era-q8<BR>
Pseudo-terminal will not be allocated because stdin is not a terminal.<BR>
/opt/mpi/mpich2-1.0.7/64/bin/smpd: error while loading shared<BR>
libraries: libsvml.so: cannot open shared object file: No such file or directory<BR>
startmpich2.sh: check for smpd daemons (2 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (3 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (4 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (5 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (6 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (7 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (8 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (9 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: check for smpd daemons (10 of 10)<BR>
startmpich2.sh: missing smpd on era-q8<BR>
startmpich2.sh: got only 0 of 1 nodes, aborting -catch_rsh /opt/mpi/mpich2-1.0.7/64 /local/sys/sge//era-q8/active_jobs/8918.1/pe_hostfile<BR>
/opt/mpi/mpich2-1.0.7/64/bin/smpd: error while loading shared<BR>
libraries: libsvml.so: cannot open shared object file: No such file or directory<BR>
<BR>
<BR>
Thanks in advance<BR>
<BR>
Angel Arancibia<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>