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
CHECKDEFS - cannot activate option: TS_MPDATA
Re: CHECKDEFS - cannot activate option: TS_MPDATA
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
and finally to run the application
where k is the number of tiles you have.
Giannis
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: Select all
echo MPD_SECRETWORD=roms > ~/.mpd.conf
chmod 600 ~/.mpd.conf
mpd &
Code: Select all
mpirun -n k ./oceanM ./<ROMS-folder>/<your input file>.in
Giannis
-
- Posts: 44
- Joined: Fri Mar 15, 2013 1:30 pm
- Location: Nanjing Uni. of Info. Sci. & Tech. (nanjing institute of meterology)
Re: CHECKDEFS - cannot activate option: TS_MPDATA
Hi ymamoutos,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 thisand finally to run the applicationCode: Select all
echo MPD_SECRETWORD=roms > ~/.mpd.conf chmod 600 ~/.mpd.conf mpd &
where k is the number of tiles you have.Code: Select all
mpirun -n k ./oceanM ./<ROMS-folder>/<your input file>.in
Giannis
I did what you said, and ran the script with
Code: Select all
mpirun -np 16 ./oceanM ocean_lattec.in > run.log
Code: Select all
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.
what's wrong with it?
how can I mpirun successfully?
Thank you!
Re: CHECKDEFS - cannot activate option: TS_MPDATA
mpirun -np 16 ./oceanM ocean_lattec.in > run.log
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.Resolution, Grid 01: 0144x0080x030, Parallel Nodes: 1, Tiling: 004x004