AMBER: Amber9 failure to compile parallel on Rocks 4.2.1 system

From: Michael John Hanby <>
Date: Wed, 6 Dec 2006 15:26:11 -0600


I'm attempting to compile Amber9 on a Rocks 4.2.1 system with the Intel
compilers on a system with dual core 64bit Xeons:

2.6.9-42.0.2.ELsmp #1 SMP x86_64 GNU/Linux

Compiling serial succeeds, however parallel fails with this error:

force.o(.text+0x5bb4): In function `force_.A':
: undefined reference to `mpi_bcast_'
force.o(.text+0x5bdc): more undefined references to `mpi_bcast_' follow
make[1]: *** [sander.MPI] Error 1
make[1]: Leaving directory `/state/partition1/apps/amber9/src/sander'
make: *** [parallel] Error 2

I've tried using -mpich -lam and -openmpi. The first 2 fail with the
error above after several minutes, -openmpi fails immediately with an
error about a missing mpi header file.

Here are the steps I used for compiling the parallel version:

Compile Amber9 parallel
# export MPI_HOME=/opt/mpich/gnu
# export PATH=$MPI_HOME/bin:$PATH
# cd $AMBERHOME/src
# make clean
# ./configure -mpich -p4 ifort_x86_64
# make parallel

Any suggestions on what I could try differently?

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Fri Dec 08 2006 - 16:23:04 PST
Custom Search