[MITgcm-devel] Divided-Ajoint with recent OpenMPI
Patrick Heimbach
heimbach at mit.edu
Thu Jan 28 19:40:34 EST 2016
Hi Jean-Michel,
haven’t run parallel DIVA in a while, but in general what should happen is that adthe_main_loop should read/write “snapshot” files with each file having a processor ID (much like STDOUT.????). That processor ID is determined by mpif.h.
A quick check would be whether snapshot.0000 etc have in fact be written.
If not, then perhaps no parallel DIVA was executed?
But I may have gotten rusty on this and might be wrong.
p.
On Jan 28, 2016, at 7:32 PM, Jean-Michel Campin <jmc at ocean.mit.edu> wrote:
> 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
>
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
--------------------------------------------------------
Patrick Heimbach, Ph.D. | http://heimbach.wordpress.com
* The University of Texas at Austin *
The Institute for Computational Engineering and Sciences
Institute for Geophysics | Jackson School of Geosciences
201 East 24th Street, POB 4.232 | Austin, TX 78712 | USA
FON: +1-512-232-7694 | Email: heimbach at utexas.edu
* Massachusetts Institute of Technology *
Department of Earth, Atmospheric, and Planetary Sciences
77 Massachusetts Ave, 54-1420 | Cambridge MA 02139 | USA
FON: +1-617-253-5259 | Email: heimbach at mit.edu
--------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1845 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20160128/75013928/attachment.p7s>
More information about the MITgcm-devel
mailing list