Differences between revisions 3 and 4
Revision 3 as of 2010-05-26 19:36:29
Size: 631
Editor: gtang
Comment:
Revision 4 as of 2010-05-26 19:38:59
Size: 684
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
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

EMAN1MpiMake3d (last edited 2010-05-27 22:06:37 by gtang)