Hello,
I am currently trying to run CROCO using AGRIF2WAY with MPI_NOLAND, and I was wondering whether these two cpp keys are compatible with each other.
I am currently encountering the following error:
MAIN: started time-stepping
2020-01-01 00:00:00
Reading mask file failed
I previously encountered this error when I first used MPI_NOLAND, and I managed to solve it by modifying the path to my grid file (croco_grd.nc) in MPI_Setup.F (line 151). However, when I use AGRIF, the problem comes back.
Does anybody already had problem ?
I look forward to any comments.
Thanks.
Alice
Hello again,
Here is an update on some tests I did to find out whether MPI_NOLAND is compatible with AGRIF, and whether it is possible to run an AGRIF simulation using a restart file generated from a configuration that uses MPI_NOLAND.
TEST: AGRIF configuration with #undef MPI_NOLAND**:**
- When running from an initial file created with crocopytools: everything works fine.
- When running from a restart file generated by a CROCO configuration without MPI_NOLAND: everything works fine.
- When running from a restart file generated by a CROCO configuration with MPI_NOLAND, I get the following error:
STEP time[DAYS] KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME trd
1440 0.00069 6.836708168E+71 4.0425654E+01 6.8367082E+71 3.4974993E+14 0
STEP time[DAYS] KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME trd
1440-43464.99983 1.040738239E-02 1.3448911E+00 1.3552984E+00 2.8045487E+10 0
1441-43464.99965 1.043865534E-02 1.3448886E+00 1.3553273E+00 2.8045482E+10 0
1442-43464.99948 NaN NaN NaN NaN 0
TEST: AGRIF configuration with #define MPI_NOLAND**:**
- Regardless of the input file used, I always get the following error:
2020-01-01 00:00:00
Reading mask file failed
My conclusion is:
It seems that AGRIF cannot be used with MPI_NOLAND, whether using a restart file generated from a configuration with MPI_NOLAND, or when using both options (AGRIF and MPI_NOLAND) simultaneously.
@Rachid @gcambon @AndresSepulveda Have any of you encountered this type of problem before, or managed to run AGRIF with MPI_NOLAND? Do you have any suggestions on how to resolve this?
I look forward to any comments.
Thanks.
Alice
Hi Alice,
Sorry, I haven´t tried that combination yet.
1 Like
Hi,
Respected,
I know MPI and openmp, how i coupled it with fixed memory . reduced memory also.
that option is also available . with some conditions.
Best,