Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Sep 23, 2019 9:26 am




Post new topic Reply to topic  [ 4 posts ] 

All times are UTC

Author Message
PostPosted: Thu Mar 28, 2013 9:27 am 
Offline

Joined: Fri Mar 15, 2013 1:30 pm
Posts: 44
Location: Nanjing Uni. of Info. Sci. & Tech. (nanjing institute of meterology)
Hi,

I tried to run the LATTE case, and it's Ok during the compiling, but broke during running.
Some information is as the following:
_______________

CHECKDEFS - cannot activate option: TS_MPDATA
in serial with partitions or shared-memory...
Use distributed-memory (MPI) in parallel runs.

Elapsed CPU time (seconds):


ROMS/TOMS - Output NetCDF summary for Grid 01:

ROMS/TOMS - Configuration error ..... exit_flag: 5


ERROR: Illegal model configuration.
________________________________________

can anyone give some ideas?

zhao


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 29, 2013 3:21 pm 
Offline

Joined: Fri Nov 19, 2010 2:33 pm
Posts: 55
Location: University of Aegean
Hi Kee,

try to compile your code by enabling the MPI
option on the build.bash/build.sh script, specifically
uncomment USE_MPI and USE_MPIF90 commands. Now if your
machine have, for example, the mpich2 library after your
compile is finished type this
Code:
echo MPD_SECRETWORD=roms > ~/.mpd.conf
chmod 600 ~/.mpd.conf
mpd &

and finally to run the application
Code:
mpirun -n k ./oceanM ./<ROMS-folder>/<your input file>.in

where k is the number of tiles you have.

Giannis


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 31, 2013 9:33 am 
Offline

Joined: Fri Mar 15, 2013 1:30 pm
Posts: 44
Location: Nanjing Uni. of Info. Sci. & Tech. (nanjing institute of meterology)
ymamoutos wrote:
Hi Kee,

try to compile your code by enabling the MPI
option on the build.bash/build.sh script, specifically
uncomment USE_MPI and USE_MPIF90 commands. Now if your
machine have, for example, the mpich2 library after your
compile is finished type this
Code:
echo MPD_SECRETWORD=roms > ~/.mpd.conf
chmod 600 ~/.mpd.conf
mpd &

and finally to run the application
Code:
mpirun -n k ./oceanM ./<ROMS-folder>/<your input file>.in

where k is the number of tiles you have.

Giannis


Hi ymamoutos,

I did what you said, and ran the script with
Code:
mpirun -np 16 ./oceanM ocean_lattec.in > run.log

but it came out other errors. I pasted the infomation within run.log below:
Code:
Operating system : Linux
 CPU/hardware     : x86_64
 Compiler system  : gfortran
 Compiler command : /opt/mvapich2/bin/mpif90
 Compiler flags   : -frepack-arrays -O3 -ffast-math -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none -ffree-form -ffre
e-line-length-none

 Input Script  : ocean_lattec.in

 SVN Root URL  : https://www.myroms.org/svn/src/trunk
 SVN Revision  :

 Local Root    : /home/roms/trunk
 Header Dir    : /home/roms/projects/latte
 Header file   : latte_c.h
 Analytical Dir: /home/roms/trunk/ROMS/Functionals

 Resolution, Grid 01: 0144x0080x030,  [b]Parallel Nodes:   1,  Tiling: 004x004[/b]

 ROMS/TOMS: [b]Wrong choice of domain 01 partition or number of parallel threads.
            NtileI * NtileJ  must be equal to the number of parallel nodes.
            Change -np value to mpirun or
            change domain partition in input script.[/b]

 Elapsed CPU time (seconds):


 ROMS/TOMS - Output NetCDF summary for Grid 01:

 ROMS/TOMS - Partition error ......... exit_flag:   6


 ERROR: Illegal domain partition.


BTW, I compiled the build.bash with 16 nodes, and the NtileI * NtileJ was set 4*4 in ocean_lattec.in file.

what's wrong with it?
how can I mpirun successfully?

Thank you!


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 01, 2013 4:30 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3673
Location: IMS/UAF, USA
Quote:
mpirun -np 16 ./oceanM ocean_lattec.in > run.log

Quote:
Resolution, Grid 01: 0144x0080x030, Parallel Nodes: 1, Tiling: 004x004
You told mpirun to use 16 processes, yet ROMS thinks it only has one. This is a problem with your MPI setup. Do you have a system manager to ask? I would try to get some kind of simple "hello world" MPI program running before working on ROMS. Perhaps MPI comes with some test codes you can try.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group