I am fresh on this model.I have just come up with a problem:
I moved build.bash , ocean_upwelling.in , upwelling.h and varinfo.dat to a new directory, and set the path in the code.I typed ./build.bash and a lot of stuff came up , it seemed everything ran fine,and a new file named oceanG was created.However, when I typed ./oceanG<ocean_upwelling.in ,something on the screen suggested me that the parallel thread was set to 2,here is the error infomation:
{
Resolution, Grid 01: 0004x0008x005, Parallel Threads: 2, Tiling: 001x001
ROMS/TOMS: Wrong choice of domain 001 partition or number of parallel threads.
NtileI*NtileJ must be a positive multiple of the number of threads.
Change number of threads (environment variable) or
change domain partition in input script.
}
I don't know where to set the number of parallel threads.I had one oceanG copied from others, and it ran
smoothly.ANY HELP?
How to set the parallel threads?
-
- Posts: 13
- Joined: Wed Jul 27, 2011 3:35 am
- Location: IOCAS
-
- Posts: 64
- Joined: Mon Oct 17, 2005 2:02 am
- Location: Institute of Oceanology,Chinese Academy of Sciences
Re: How to set the parallel threads?
Please try issue the following command and check if it helps
unset OMP_NUM_THREADS
unset OMP_NUM_THREADS