Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Josh Hursey (jjhursey_at_[hidden])
Date: 2006-03-20 12:05:29


I recently ran into a build problem using the Portland 5.2 compilers
on Odin (x86_64). It looks like the soft link is broken in the build
system.
It is linked to libopal.so.0.0.0 instead of libopal.so.0

I configured the 1.0.2a10 tarball with:
./configure --prefix=/san/homedirs/jjhursey/local/odin//ompi/release
CXX=pgCC CC=pgcc F77=pgf77 F90=pgf90

<snip>

pgcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../
include -I../../../../include -I../../../.. -I../../../.. -
I../../../../include -I../../../../opal -I../../../../orte -
I../../../../ompi -D_REENTRANT -O -DNDEBUG -c
maffinity_first_use_module.c -fpic -DPIC -o .libs/
maffinity_first_use_module.o
/bin/sh ../../../../libtool --tag=CC --mode=link pgcc -O -DNDEBUG
-export-dynamic -o mca_maffinity_first_use.la -rpath /san/homedirs/
jjhursey/local/odin//ompi/release/lib/openmpi -module -avoid-version
maffinity_first_use_component.lo maffinity_first_use_module.lo /u/
jjhursey/svn/testing/openmpi-1.0.2a10r9336/opal/libopal.la -lm -
lutil -lnsl -lpthread
pgcc -shared -fpic -DPIC .libs/
maffinity_first_use_component.o .libs/maffinity_first_use_module.o -
Wl,--rpath -Wl,/u/jjhursey/svn/testing/openmpi-1.0.2a10r9336/
opal/.libs -Wl,--rpath -Wl,/san/homedirs/jjhursey/local/odin//ompi/
release/lib /u/jjhursey/svn/testing/openmpi-1.0.2a10r9336/opal/.libs/
libopal.so -lm -lutil -lnsl -lpthread -lc -Wl,-soname -
Wl,mca_maffinity_first_use.so -o .libs/mca_maffinity_first_use.so
/usr/bin/ld: /u/jjhursey/svn/testing/openmpi-1.0.2a10r9336/opal/.libs/
libopal.so: No such file: No such file or directory
make[4]: *** [mca_maffinity_first_use.la] Error 2
make[4]: Leaving directory `/san/homedirs/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal/mca/maffinity/first_use'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/san/homedirs/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal/dynamic-mca/maffinity'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/san/homedirs/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal/dynamic-mca'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/san/homedirs/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal'
make: *** [all-recursive] Error 1

[openmpi-1.0.2a10r9336]$ find . -name "libopal.so"
./opal/.libs/libopal.so

[openmpi-1.0.2a10r9336]$ ls /u/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal/.libs/libopal.so
/u/jjhursey/svn/testing/openmpi-1.0.2a10r9336/opal/.libs/libopal.so

[openmpi-1.0.2a10r9336]$ ls -la /u/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal/.libs/libopal.so
lrwxrwxrwx 1 jjhursey students 16 Mar 20 10:20 /u/jjhursey/svn/
testing/openmpi-1.0.2a10r9336/opal/.libs/libopal.so -> libopal.so.0.0.0

[openmpi-1.0.2a10r9336]$ ls -la /u/jjhursey/svn/testing/
openmpi-1.0.2a10r9336/opal/.libs/libopal.so
libopal.so libopal.so.0

----
Josh Hursey
jjhursey_at_[hidden]
http://www.open-mpi.org/