﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
181	swan coupling mpi finalize	jcwarner	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.F before the call to mpi_finalize so that all processors from all models need to check in before finalize occurs.
"	bug	new	major	Release ROMS/TOMS 3.2	Nonlinear	3.2			
