Size: 630
Comment:
|
Size: 684
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
'''Question: How cn I use mpi version of make3d?''' | '''Question: How can I use mpi version of make3d?''' |
Line 13: | Line 13: |
Then turn on ENABLE_MPI flag when compiling EMAN. |
Question: How can I use mpi version of make3d?
Answer:
First of all, you need a mpi package to compile a mpi version of EMAN(make3d). We use mpich1.2.7.
$./configure -prefix=/usr/local -rsh=ssh $make CXXFLAGS='-O2 -fPIC' $su $make install
Then turn on ENABLE_MPI flag when compiling EMAN.
Note:
1. We need add a '-fPIC' here Otherwise in the process of compiling EMAN, you will get link error when link make3d to static mpich libraries.
2. We cannot link EMAN with shared pi libraries. The compilation will be OK, but we will get runtime error like:
p4_error: Child process exited while making connection to remote process on