Replace #include <mpif.h>
with use mpi
on default platforms
#30
Labels
Milestone
#include <mpif.h>
with use mpi
on default platforms
#30
Some hiccups on our system's wrapper scripts revealed that FMS models are still doing
#include <mpif.h>
to import the MPI symbols, even though the standard recommends the module (use mpi
).Currently only the
sgi_mipspro
flag enablesuse mpi
. The default is to use the CPP#include
statement.To be annoyingly pedantic (sorry!), here are some quotes from the MPI 3.1 standard.
p605:
p611:
The comments above refer to the Fortran include statement (
include 'mpif.h'
); the standard doesn't even consider using the CPP include, which is probably even more strongly discouraged.Rather than send a patch, I figured that you guys might be more aware of any odd platforms that still require this and would be in a better position to make the change.
The text was updated successfully, but these errors were encountered: