I installed Open-MPI. However, there was something wrong with mpicc: ./configure CC=/usr/local/bin/mpicc --enable-parallel
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking shell variables initial values... done checking if tr works... yes checking if basename works... yes checking if xargs works... yes checking for cached host... none checking for sizeof hsize_t and hssize_t... large checking for config x86_64-unknown-linux-gnu... no checking for config x86_64-unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-unknown... no checking for config linux-gnu... found checking for config ./config/site-specific/host-compute-1-9.local... no checking for config ./config/site-specific/host-local... no checking for gcc... /usr/local/bin/mpicc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. On Wed, May 7, 2008 at 4:57 PM, Lu Hu <[EMAIL PROTECTED]> wrote: > Dear all, > > I was trying to install the parallel version of meep on our cluster. First > of all, I had trouble enabling MPI support in HDF5. > (1) install HDF5 > ./configure --enable-parallel CC=/opt/mpich/intel/bin/mpicc returns (ref > 1.txt attached). > Then I went ahead to compile. I got the following error: > > ld: /opt/mpich/intel/lib/libmpich.a(type_commit.o): relocation R_X86_64_32 > against `a local symbol' can not be used when making a shared object; > recompile with -fPIC > /opt/mpich/intel/lib/libmpich.a: could not read symbols: Bad value > make[2]: *** [libhdf5.la] Error 1 > make[2]: Leaving directory `/root/hdf5-1.6.5/src' > make[1]: *** [lib] Error 1 > make[1]: Leaving directory `/root/hdf5-1.6.5' > make: *** [all] Error 2 > > (I could install the serial version of HDF5 without any problem.) > > > (2) compiling meep > > According the meep manual: "If you don't install HDF5 with parallel I/O > support, you can still do I/O from MPI ". So I continued to install meep > with the serial version of HDF5. > ./configure LDFLAGS=-L/usr/local/hdf5/lib > CPPFLAGS=-I/usr/local/hdf5/include --with-mpi > MPICXX=/opt/mpich/intel/bin/mpiCC MPILIBS=/opt/mpich/intel/lib > > I got the following error: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for mpic++... /opt/mpich/intel/bin/mpiCC > checking for mpi.h... no > configure: error: could not find mpi library for --with-mpi > > Does anybody have a similar problem and know the solution? Thank you. > > Best regards, > lhu >
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

