Re: [Apbs-users] Problems with APBS MPI installation
Biomolecular electrostatics software
Brought to you by:
sobolevnrm
From: Vyom S. <vysharma@MIT.EDU> - 2006-06-13 16:30:37
|
I don't get any problems while configuring and make/make installing MALOC. The problems occur only when configuring/ make/ make installing apbs. My .profile file (equivalent to .bashrc) supplies the compiler specifications as export CC=gcc export CXX=g++ export FC=g77 export CFLAGS="-O3" export CXXFLAGS="-O3" export FFLAGS="-O3" export LDFLAGS="-O3" export CXXLDFLAGS="-O3" Since this is a configuration using lam-mpi, the /sw/lib/ does not have any libmpich.a and libmpich.so. Instead it has libmpi.a The list of files in the /sw/lib are attached in this e-mail. The list of files in the /sw/include are also attached I configure MALOC with the following options: --enable-mpi --with-mpiinc=/sw/include --with-mpilib=/sw/lib When I include libmpich.a in the /sw/lib and comment line 10426 in configure file for apbs (before I run it) the configuration for apbs runs fine and the part of it which configures maloc looks like this ---------- begin configuring for MALOC linkage ------------ checking for FETK_INCLUDE... yes checking for FETK_LIBRARY... yes checking maloc/maloc.h usability... yes checking maloc/maloc.h presence... yes checking for maloc/maloc.h... yes checking for maloc_link in -lmaloc... yes checking for maloc_needs_mpi in -lmaloc... yes checking for FETK_MPI_INCLUDE environmental variable... yes checking for FETK_MPI_LIBRARY environmental variable... yes checking for --with-mpiinc option... yes checking for --with-mpilib option... yes Looking for MPI header with -I/Network/sw/include ... checking mpi.h usability... yes checking mpi.h presence... yes checking for mpi.h... yes Looking for MPI library with /Network/sw/lib... checking for /Network/sw/lib/libmpich.a... yes checking for /Network/sw/lib/libmpich.so... no checking for main in -lmpich... yes checking for maloc_needs_rl in -lmaloc... yes checking whether your environment defines FETK_RL_LIBRARY... no checking for tgetnum in -lncurses... yes checking for readline in -lreadline... yes checking for add_history in -lreadline... yes ---------- end configuring for MALOC linkage -------------- In the end of the configuration of APBS I get this message: APBS to be linked with following libraries: -L/Network/Servers/barkis1.cluster.net/home/vysharma/home/soft/src/ apbs-0.4.0/lib -L/Network/Servers/barkis1.cluster.net/home/vysharma/home/soft/lib/ powerpc-apple-darwin8.6.0 -lmaloc -L/Network/Servers/barkis1.cluster.net/home/vysharma/home/soft/lib/ powerpc-apple-darwin8.6.0 -lblas -L/Network/Servers/barkis1.cluster.net/home/vysharma/home/soft/lib/ powerpc-apple-darwin8.6.0 -lvf2c -L/Network/sw/lib -lmpich -lm -lreadline -lncurses APBS to be compiled with following includes: -I. -I/Network/Servers/barkis1.cluster.net/home/vysharma/home/soft/include -I/Network/sw/include The make in this case crashes with the following message: /usr/bin/ld: warning -L: directory name (/Network/Servers/barkis1.cluster.net/home/vysharma/home/soft/src/apbs -0.4.0/lib) does not exist /usr/bin/ld: table of contents for archive: /Network/sw/lib/libmpich.a is out of date; rerun ranlib(1) (can't load from it) collect2: ld returned 1 exit status make[1]: *** [apbs] Error 1 make: *** [all-recursive] Error 1 If I do not include the libmpich.a in the /sw/lib the configure for apbs fails with the following message: ---------- begin configuring for MALOC linkage ------------ checking for FETK_INCLUDE... yes checking for FETK_LIBRARY... yes checking maloc/maloc.h usability... yes checking maloc/maloc.h presence... yes checking for maloc/maloc.h... yes checking for maloc_link in -lmaloc... yes checking for maloc_needs_mpi in -lmaloc... yes checking for FETK_MPI_INCLUDE environmental variable... yes checking for FETK_MPI_LIBRARY environmental variable... yes checking for --with-mpiinc option... no checking for --with-mpilib option... no Looking for MPI header with -I/Network/sw/include ... checking mpi.h usability... yes checking mpi.h presence... yes checking for mpi.h... yes Looking for MPI library with /Network/sw/lib... checking for /Network/sw/lib/libmpich.a... no checking for /Network/sw/lib/libmpich.so... no checking for main in -lmpi... no checking for main in -lmpich... no MALOC was compiled with MPI enabled MALOC needs to link against the MPI library Try defining FETK_MPI_INCLUDE and FETK_MPI_LIBRARY configure: error: MPI library or header is missing!! .. and I have defined FETK_MPI_INCLUDE and FETK_MPI_LIBRARY, so I am not sure what the problem is in this case.. |