manual   quickstart   instguide   update   basis

Next: B. Recent Changes Up: A..3.15 Parallel installation on Previous: A..3.15.1 Building MPICH2-1.3   Contents   Index   PDF

A..3.15.2 Building Global Arrays

The following instructions are for building GA using the MPICH2 installation detailed in the previous section.

make CC=gcc FC=ifort TARGET=MACX64 USE_MPI=y \
MPI_LIB=/usr/local/mpich2-nemesis/lib \
MPI_INCLUDE=/usr/local/mpich2-nemesis/include \
LIBMPI="-lpmpich -lmpich -lopa -lmpl"

export PATH=/usr/local/mpich2-nemesis/bin:$PATH
mpiexec -n 2 global/testing/test.x

Note that if ___emutls_get_address is reported as an undefined reference, then -lgcc_eh must be appended to LIBMPI.


molpro@molpro.net 2012-02-09