Sure.

 ROMS and SWAN models are models for ocean and wave models, respectively.  Coupling of them require 3 input files: coupling_test.in, swan_test.in and roms_test.in which first one is coupled input file and also one build.bash file  which in it user called requested libraries, cpp optins, header file, compilers (for me gcc and gfortran).  For example in build.bash file I set

USE_MPI=on = on
USE_MPIF90 =on

WHICH_MPI=mpich2

FORT = gfortran

also with regard that for coupling model, MCT (model coupling toolkit) is necessary I have installed it and set its  include and lib directories in build.bash file.

 

In coupling_test.in user call swan_test.in and roms_test.in as wave and ocean model's inputs.

In roms_test.in some coefficients, solving technique and some input forcing file determined.

 

for choosing number of nodes for each model there are NtileI and Ntilej in roms_test.in and Nthreads (ocean) and Nthreads (wave) in coupling_test.in file ( Nthreads (ocean)=NtileI *Ntilej ) and total nodes are equal to Nthreads (ocean)+Nthreads (wave).

whenever i set one  node for wave model (SWAN) (Nthreads (wave)=1) after running by 

mpirun -np 2 ./oceanG coupling_inlet-test.in>mpi.log

it replies:

application called MPI_Abort(comm=0x84000002, 4) - process 0

But when set Nthreads (wave)>1 (and everything for Nthreads (ocean)) for example

mpirun -np 8 ./oceanG coupling_inlet-test.in>mpi.log

mpi.log file (attaché file) shows that roms model does not have problems and its nodes are active but nothing happen for swan model after 2 weeks than running.

I hope that this information be sufficient.

All the best

fereshte