New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1560 (not using key_iomput makes the model crash) – NEMO

Opened 9 years ago

Closed 9 years ago

#1560 closed Bug (fixed)

not using key_iomput makes the model crash

Reported by: clem Owned by: nemo
Priority: low Milestone:
Component: OCE Version: v3.6
Severity: Keywords:
Cc:

Description

while testing memory leaks for a regional configuration (NEMO-LIM3 with BDY), I noticed that the model cannot run without key_iomput. It crashes with the enigmatic message concerning IOIPSL:
FATAL ERROR FROM ROUTINE mathop_r21

--> Error while executing an indexing function
--> only

To be able to run the model, the call to diawri in step.F90 must be commented. Any idea how to correct that (though I do not think this is a priority)?

Commit History (2)

ChangesetAuthorTimeChangeLog
5566clem2015-07-08T15:15:40+02:00

no use of landmask if no key_iomput (avoids crashing). see ticket #1560.

5565clem2015-07-08T15:15:04+02:00

no use of landmask if no key_iomput (avoids crashing). see ticket #1560.

Change History (2)

comment:1 Changed 9 years ago by clem

Rachid found the problem (as usual). The logical ln_mskland has to be put to FALSE.

In the case key_iomput is not activated, we should define clop as "x" in diawri.F90. Since it is not possible to mask the land with walues of 1.e30, I propose to change these lines (440:442):

IF( ln_mskland ) THEN ; clop = "only(x)" ! put 1.e+20 on land (very expensive!!)
ELSE ; clop = "x" ! no use of the mask value (require less cpu time)
ENDIF

By this one:
clop = "x" ! no use of the mask value

Any objection?


comment:2 Changed 9 years ago by clem

  • Resolution set to fixed
  • Status changed from new to closed

Done at revision r5565 and r5566

Note: See TracTickets for help on using tickets.