* Ethan Mallove wrote on Mon, Oct 11, 2010 at 08:11:19PM CEST: > On Mon, Oct/11/2010 07:51:20PM, Ralf Wildenhues wrote: > > * Ethan Mallove wrote on Mon, Oct 11, 2010 at 01:59:20PM CEST: > > > $ /bin/sh ../../../libtool --tag=CXX --mode=link icpc -O3 -DNDEBUG > > > -Wall -static-intel -m32 -finline-functions -fexceptions -pthread > > > -version-info 0:0:0 -export-dynamic -fexceptions -o libmpi_cxx.la > > > -rpath /o > > > pt/SUNWhpc/HPC9.0/intel/instrument/lib mpicxx.lo intercepts.lo comm.lo > > > datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl -lutil > > > libtool: link: icpc -shared .libs/mpicxx.o .libs/intercepts.o > > > .libs/comm.o .libs/datatype.o .libs/win.o .libs/file.o -Wl,-rpath > > > -Wl,$ORIGIN -Wl,-rpath -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../lib > > > -Wl,-rpath -W > > > l,$ORIGIN -Wl,-rpath -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../lib > > > ../../../ompi/.libs/libmpi.so -lnsl -lutil > > > -L/ws/ompi-tools/intel/Compiler/11.0/084/lib/ia32 > > > -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32 -L/usr/li > > > b/gcc/x86_64-redhat-linux/4.1.2/ > > > -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../ -L/lib/ -L/usr/lib > > > -limf -lsvml -lm -lipgo -ldecimal -lstdc++ -lpthread -lirc -lgcc_s > > > -lirc_s -ldl -lc -m32 -pthread -pthread > > > -Wl,-soname -Wl,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0 > > > > Thanks. Now, please rerun that command manually, but with --tag=CXX > > replaced by --tag=CC. Post command plus output. > > $ /bin/sh ../../../libtool --tag=CC --mode=link icpc -O3 -DNDEBUG -Wall > -static-intel -m64 -finline-functions -fexceptions -pthread -version-info > 0:0:0 -export-dynamic -fexceptions -o libmpi_cxx.la -rpath > /opt/SUNWhpc/HPC9.0/intel/instrument/lib/lib64 mpicxx.lo intercepts.lo > comm.lo datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl -lutil > libtool: link: rm -fr .libs/libmpi_cxx.la .libs/libmpi_cxx.lai > .libs/libmpi_cxx.so .libs/libmpi_cxx.so.0 .libs/libmpi_cxx.so.0.0.0 > libtool: link: icc -shared .libs/mpicxx.o .libs/intercepts.o .libs/comm.o > .libs/datatype.o .libs/win.o .libs/file.o -Wl,-rpath -Wl,$ORIGIN -Wl,-rpath > -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../../lib/64 -Wl,-rpath -Wl,$ORIGIN > -Wl,-rpath -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../../lib/64 > ../../../ompi/.libs/libmpi.so -ldl -lnsl -lutil -m64 -pthread -pthread > -Wl,-soname -Wl,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0
This doesn't have the libraries you don't want, AFAICS. So a workaround (using internal details, but fairly safe) would be to use libmpi_cxx_la_LIBTOOLFLAGS = --tag=CC Note however that you get to keep the pieces when this breaks. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool