MPI implementations
The implementation of MPI may differ between sites. On some systems
the Fortran callable subroutine names are expected
to end with an underscore (``_''). If this is the case the flag
-DMPIU must be included as part of the C-preprocessing flags and the
file ``mpif.h'' copied from the MPI library directory into the source directory. Alternatively you can set the path to the MPI
library either the ``-I'' option on the C-preprocessing flags. The DL_POLY_2
makefile assumes you have copied the file over (see the entry hp-mpi: in the makefile). This appends an underscore to all MPI
subroutine names and to the name of the MPI common block. If the underscores are not required the flag must be omitted
(see the entry ``sp2-mpi:).
When using MPI you need a copy of the MPI include file ``mpif.h'' in
the source directory. On many machines this is stored in the
/usr/include directory, in which case the make procedure should find
it automatically (as it also does for IBM SP/2 and Cray T3E machines,
where it is stored elsewhere). However, if the make reports a failure
to find the ``mpif.h'' file, you must amend the makefile to ensure
that it copied from the true location before C-preprocessing is
attempted. There are several examples in the makefile of how this is
done.