I've been battling with the meep install process for most of today and making slow progress, so I thought I'd go back to the start and see if I can find some neater solutions. My first problem is with libtool's insistence on using dynamic rather than static libraries. My MPI compiler wrapper seems to prefer static, and given that some of the libraries meep requires are installed on the cluster head node and not the slaves, it's a preference I share.
The compiler error comes from this section of the build, near the start: /bin/sh ../libtool --tag=CXX --mode=link mpiCC -compiler pgi -I/usr/shared_apps/packages/harminv-1.3.1/include -I/usr/shared_apps/packages/fftw-2.1.5/include -I/usr/shared_apps/packages/libctl-3.0.2/include -Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee -L/usr/shared_apps/packages/hdf5-1.8.0-score/lib -L/usr/shared_apps/packages/libctl-3.0.2/lib -L/usr/shared_apps/packages/fftw-2.1.5/lib -L/usr/shared_apps/packages/gsl-1.11/lib -o sphere_quad sphere-quad.o -lgsl -lgslcblas -L/usr/shared_apps/packages/harminv-1.3.1/lib -L/usr/shared_apps/packages/pgi-7.2-1/share_objects/lib64 -L/usr/shared_apps/packages/pgi-7.2-1/linux86-64/7.2-1/lib -L/usr/lib64 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5 -lharminv -lacml -lpgftnrtl -lnspgc -lpgc -lrt -lpthread -lm -lfftw -lm mkdir .libs mpiCC -compiler pgi -I/usr/shared_apps/packages/harminv-1.3.1/include -I/usr/shared_apps/packages/fftw-2.1.5/include -I/usr/shared_apps/packages/libctl-3.0.2/include -Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee -o sphere_quad sphere-quad.o -L/usr/shared_apps/packages/hdf5-1.8.0-score/lib -L/usr/shared_apps/packages/libctl-3.0.2/lib -L/usr/shared_apps/packages/fftw-2.1.5/lib -L/usr/shared_apps/packages/gsl-1.11/lib /usr/shared_apps/packages/gsl-1.11/lib/libgsl.so /usr/shared_apps/packages/gsl-1.11/lib/libgslcblas.so -L/usr/shared_apps/packages/harminv-1.3.1/lib -L/usr/shared_apps/packages/pgi-7.2-1/share_objects/lib64 -L/usr/shared_apps/packages/pgi-7.2-1/linux86-64/7.2-1/lib -L/usr/lib64 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5 /usr/shared_apps/packages/harminv-1.3.1/lib/libharminv.a -lacml -lpgftnrtl -lnspgc -lpgc -lrt -lpthread /usr/shared_apps/packages/fftw-2.1.5/lib/libfftw.a -lm mpic++: SCore does not checkpoint pthread. Force no checkpoint mode /usr/bin/ld: attempted static link of dynamic object `/usr/shared_apps/packages/gsl-1.11/lib/libgsl.so' libtool seems to convert the -lgsl and -lgslcblas into explicit references to the dynamic versions. I've attempted to override it using the -static flag, but libtool simply removes it. My only solution so far is to manually cd into the src dir and run the original compiler command sans libtool, but this method causes me problems later in the build. Any suggestion? Regards, Mike. ----- Dr Mike Pacey, Email: [EMAIL PROTECTED] High Performance Systems Support, Phone: 01524 593543 Information Systems Services, Fax: 01524 594459 Lancaster University, Lancaster LA1 4YW _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

