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.