<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">Hi Fereshte,</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">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.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> Antonio</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Sunday, October 27, 2013 02:03:54 PM fereshteh komijani wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> Sure.</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> ROMS and SWAN models are models for ocean and wave models, respectively. Coupling of them require 3 input files: </span><a href="http://coupling_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">coupling_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">, </span><a href="http://swan_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">swan_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> and </span><a href="http://roms_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">roms_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> 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</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">USE_MPI=on = on</span><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f;"><br /></span><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">USE_MPIF90 =on</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">WHICH_MPI=mpich2</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">FORT = gfortran</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">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. </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;"> </span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">In </span><a href="http://coupling_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">coupling_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> user call </span><a href="http://swan_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">swan_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;"> and </span><a href="http://roms_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">roms_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> as wave and ocean model's inputs.</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">In </span><a href="http://roms_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">roms_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> </span><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">some coefficients, solving technique and some input forcing file determined.</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;"> </span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">for choosing number of nodes for each model there are NtileI and Ntilej in </span><a href="http://roms_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">roms_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> and Nthreads (ocean) and Nthreads (wave) in </span><a href="http://coupling_test.in"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; text-decoration: underline; color:#0057ae;">coupling_test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> file ( Nthreads (ocean)=</span><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#323d4f; background-color:#ececec;">NtileI *Ntilej ) and total nodes are equal to </span><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">Nthreads (ocean)+Nthreads (wave).</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">whenever i set one node for wave model (SWAN) (Nthreads (wave)=1) after running by </span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#006600; background-color:#fafafa;">mpirun -np 2 ./oceanG </span><a href="http://coupling_inlet-test.in/"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#000000;">coupling_inlet-test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt; background-color:#fafafa;">></span><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#006600; background-color:#fafafa;">mpi.log</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#000000;">it replies:</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#006600; background-color:#fafafa;">application called MPI_Abort(comm=0x84000002, 4) - process 0</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#000000;">But when set</span><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> Nthreads (wave)>1 (and everything for Nthreads (ocean)) for example</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#006600; background-color:#fafafa;">mpirun -np 8 ./oceanG </span><a href="http://coupling_inlet-test.in/"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#000000;">coupling_inlet-test.in</span></a><span style=" font-family:'Times New Roman,serif'; font-size:12pt; color:#006600; background-color:#fafafa;">>mpi.log</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt; background-color:#fafafa;">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.</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">I hope that this information be sufficient.</span> </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">All the best </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;">fereshte</span> </p>
<p dir='rtl' style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Times New Roman,serif'; font-size:12pt;"> </span></p></body></html>