[MITgcm-devel] Divided-Ajoint with recent OpenMPI

Jean-Michel Campin jmc at ocean.mit.edu
Thu Jan 28 19:32:29 EST 2016


Hi,

I tried to run the TAF-AD lab_sea test (which uses DIVA) using a recent 
OpenMPI version (1.8.8) with gfortran 5.3.1, all with FC.23,
but it seems that a new include was added to mpif.h:
      include 'mpif-sizeof.h'
which contains many reference to a module "iso_fortran_env"; 
This generates plenty of error from TAF which does not know about this module.

The strange thing is that I can comment out this "mpif-sizeof.h" include,
and it works fine.
It's not very clear to me, but do we really need these lines in the_main_loop.F:
#  ifdef ALLOW_DIVIDED_ADJOINT
#   ifdef ALLOW_USE_MPI
#    include "mpif.h"
#   endif
#  endif

Cheers,
Jean-Michel





More information about the MITgcm-devel mailing list