[AMBER] mpi4py building error during AmberTools 13 install

From: sunyeping <sunyeping.aliyun.com>
Date: Tue, 27 Aug 2013 17:56:58 +0800

Dear everyone,
 
I am try to install MPI version of AmberTools 13 into my Centos5.9 system. The config process seemed OK:
 
./config -mpi -gnu
When I excute make command, I get the error message:
 
building 'mpi4py.MPI' extensioncreating build/temp.linux-x86_64-2.7creating build/temp.linux-x86_64-2.7/src/opt/mpich2/bin/mpicc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.7 -c src/MPI.c -o build/temp.linux-x86_64-2.7/src/MPI.o/opt/mpich2/bin/mpicc -shared build/temp.linux-x86_64-2.7/src/MPI.o -o build/lib.linux-x86_64-2.7/mpi4py/MPI.so/usr/bin/ld: /opt/mpich2/lib/libmpich.a(comm_create_keyval.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC/opt/mpich2/lib/libmpich.a: could not read symbols: Bad valuecollect2: ld 返回 1error: command '/opt/mpich2/bin/mpicc' failed with exit status 1
 
According to these message, I searched google and tried to recompile mpi2ch by doing this
cd mpich2-1.4.1p1
./config --enable-shared --prefix=/opt/mpich2
make
make install
 
There seemed no problem during the mpich2 install
 
However, when I try to install AmberTools 13, I get the same error message as above. Could you help me with this? Thanks in advance.
 

 
Yeping Sun

Institute of Microbiology, Chinese Academy of Sciences
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Aug 27 2013 - 03:00:03 PDT
Custom Search