On May 7, 2008, at 4:57 PM, Lu Hu wrote:
> 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

You have a broken MPI installation since linking to libmpich fails,  
and nothing is going to work.  You probably have to reinstall MPI.

I would tend to recommend against MPICH, which I think is getting long  
in the tooth.  A nicer, more modern free-software MPI version is  
OpenMPI (http://www.open-mpi.org/).

Steven


_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to