Closed ZedThree closed 2 years ago
I'll try to look at this more closely over the weekend. Dealing with a vicious set of compiler workarounds for yaFyaml/gFTL layers. (Apparently some compilers don't like the deeply recursive structure necessary to represent a general YAML node.)
All of the compilers currently supported accept type(integer)
so I think you suggestion is just fine.
Closes #34
Rather than the
pf_mpi_defines.fh
header, we could instead use add all the definitions directly to thepf-mpi-defines
target for the same effect. The differences is that with the header we keep the set of "exposed" preprocessor macros minimal.Note that this also relies on the F2008 ability to do
type (integer)
so that we can do the slightly nicertype (PF_MPI_COMM_TYPE)
. It is possible to have the macro bePF_MPI_COMM_TYPE=type(MPI_Comm)/integer
and usePF_MPI_COMM_TYPE
directly in the code instead.