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
Configure Summary
Compiling Options:
Compilation Mode: Production
C Compiler: /opt/mpich/intel/bin/mpicc
CFLAGS: -std=c99 -O3 -Wl,-s
CPPFLAGS: -UH5_DEBUG_API -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_SOURCE -D_BSD_SOURCE
LDFLAGS:
Debug Mode: None
Shared Libraries: Yes
Static Libraries: Yes
Statically Linked Executables: No
Tracing: No
Optimization Instrumentation: No
Languages:
C++: No
Fortran: No
Features:
dmalloc: No
Function Stack Tracing: Disabled
GASS: No
GPFS: No
HDF5 v1.4 Compatibility: No
hsize_t: Large
I/O filters (external): deflate
I/O filters (internal): shuffle,fletcher32
Linux Large File Support (LFS): Enabled
MPE: No
Parallel HDF5: Yes
SRB: No
Stream VFD: Enabled
Threadsafety: Disabled
High Level library: Enabled
meep_config.log
Description: Binary data
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

