Opened 9 years ago

Closed 9 years ago

#914 closed Bug (fixed)

3.4beta: compilation without key_ldfslp fails (traldf_iso_grif)

Reported by: molines Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.4
Severity: Keywords:
Cc: Branch review:
MP ready?: Task progress:

Description

When compiling without the CPP key_ldfslp, diawri does not compile because of the line :

   USE traldf_iso_grif, ONLY : psix_eiv, psiy_eiv

In fact the dummy traldf_iso_grif routine ( which is compiled when key_ldfslp is not defined ) does not declare psix_eiv, nor psiy_eiv

Attached is a possible fix.

Commit History (2)

ChangesetAuthorTimeChangeLog
3274cetlod2012-01-24T11:34:27+01:00

minor bug correction, see ticket #914

3272cetlod2012-01-23T10:26:06+01:00

dev_NEMO_MERGE_2011:Declaration of global variables in traldf_iso_grif to avoid compilation error, see ticket #914

Attachments (1)

traldf_iso_grif.F90 (22.8 KB) - added by molines 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by molines

comment:1 Changed 9 years ago by cetlod

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

comment:2 Changed 9 years ago by molines

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from 3.4beta: compilation without key_ldfslp fails to 3.4beta: compilation without key_ldfslp fails (traldf_iso_grif)

Hello,

I have seen the fix rev 3272, and the dummy declaration with REAL(wp) xill fail to compile because as it is, wp in not known in this module. I suggest to put only REAL, as is is done in other dummy modules in NEMO.

Jean-Marc

comment:3 Changed 9 years ago by cetlod

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.