[mpich-discuss] coupling

Antonio J. Peña apenya at mcs.anl.gov
Sun Oct 27 12:20:45 CDT 2013


Hi Fereshte,

There is the possibility that your application is failing due to a bug in MPICH 
which could have been already solved. I do a +1 in Huiwei's suggestion to 
try with the current stable release.

  Antonio


On Sunday, October 27, 2013 02:03:54 PM fereshteh komijani wrote:


 Sure. 
 ROMS and SWAN models are models for ocean and wave models, 
respectively.  Coupling of them require 3 input files: coupling_test.in[1], 
swan_test.in[2] and roms_test.in[3] 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[1] user call swan_test.in[2] and roms_test.in[3] 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[1] 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[4]>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 
 

--------
[1] http://coupling_test.in
[2] http://swan_test.in
[3] http://roms_test.in
[4] http://coupling_inlet-test.in/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131027/526e7cf4/attachment.html>


More information about the discuss mailing list