[MITgcm-devel] genmake2 and mpi
Martin Losch
Martin.Losch at awi.de
Fri Apr 5 08:36:45 EDT 2013
Hi there,
I might bring up something, that has long been resolved or discarded as unimportant, but I (and people I supervise) often run into a problem with 'genmake2 -mpi' and some build option files (eg. linux_ia64_ifort) when MPI_INC_DIR is not defined as an environment variable of the shell.
As far as I can see, there is no test that checks if mpif.h (or any other relevant mpi-header) is in the include-path. mpif.h used to be included in the netcdf test, but I think I was responsible for removing, it because it made the netcdf test fail for the wrong reason, when the mpif.h was not found and made debugging last longer than necessary.
Is there a reason for not having a test for '#include "mpif.h"'? And what should such a test look like?
Martin
More information about the MITgcm-devel
mailing list