Opened 16 years ago

Closed 16 years ago

#181 closed bug (Fixed)

SWAN coupling mpi_finalize — at Version 1

Reported by: jcwarner Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.2
Component: Nonlinear Version: 3.2
Keywords: Cc:

Description (last modified by arango)

for the SWAN coupling, the call mpi_finalize is now located at the bottom of Master/mct_coupler.h

Here is the problem:

It is not clear which model will get there first. Typically this will be ROMS. However, SWAN needs time to collect the contents of the individual output files and conglomerate them into single output files (don't ask me why SWAN does this, it is just the way it is). But if ROMS goes thru it's finalize step, then calls mpi_finalize, well that is bad news for the SWAN because it may not have finished pulling together the output.

Suggested Solution:

Place an mpi_barrier in mct_coupler.h before the call to mpi_finalize so that all processors from all models need to check in before finalize occurs.

Change History (1)

comment:1 by arango, 16 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed
Summary: swan coupling mpi finalizeSWAN coupling mpi_finalize

Oh yes, this is a very good idea.

Note: See TracTickets for help on using tickets.