Hi all,
I am using ROMS with TS_MPDATA scheme to calculate the vertical salinity profile in a real estuary. The platform I choose is Mac Pro(single working station, 8 processes), OS. When I choose openMP without TS_MPDATA(not define that in CPP), it works. However, when I choose TS_MPDATA (define TS_MPDATA in CPP) with openMP, it stops automatically, telling:
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
Then I comment that part in checkdefs.F in ROMS/Utility folder the recompile then to rerun.
It works! But could not make sure the results are correct are not, since I changed the code.
So is it due to that TS_MPDATA scheme could not be used under openMP environment ? If that , if we wanna to choose the good TS_MPDATA scheme to decrease numerical diffusivity, we have to use MPI?
Thanks
TS_MPDATA with openMP issue
-
- Posts: 17
- Joined: Mon Sep 08, 2014 4:17 pm
- Location: Hohai University
-
- Posts: 7
- Joined: Thu Jun 19, 2008 3:24 am
- Location: Oceanography Department, Dalhousie University
Re: TS_MPDATA with openMP issue
I used to run ROMS with TS_MPDATA and OpenMP several years ago but it seems that this combination doesn't work anymore (not sure why). I just hit the same wall...