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.
#1752 (compilation subtrc) – NEMO

Opened 8 years ago

Closed 8 years ago

#1752 closed Bug (fixed)

compilation subtrc

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

Description

The following lines in subtrc.F90 should be removed (the public declaration of "en" is now acheive in zdf_oce)

#if defined key_zdfgls

USE zdfgls, ONLY: en

#endif

Commit History (0)

(No commits)

Change History (2)

comment:1 Changed 8 years ago by lovato

We experienced the same compilation issue in C1D_PAPA_BFM using ifort compiler.
It seems that gfortran just drop the "use only" declaration in favour of the overall module usage, without any complaints.

The simplest way is to leave the "USE zdfgls" without the use only declaration, although I'm not sure about the macro usage,
but it can enter in 2016 simplification process, if consensus is achieved on that.

This issue affects both nemo_3.6_stable and trunk.

comment:2 Changed 8 years ago by lovato

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

The problem was solved at r7080 for nemo 3.6 stable and r7079 for trunk TOP developments.

Note: See TracTickets for help on using tickets.