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.
#2206 (adjustable array in lbc_nfd_ext_generic.h90) – NEMO

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2206 closed Defect (fixed)

adjustable array in lbc_nfd_ext_generic.h90

Reported by: rblod Owned by: systeam
Priority: low Milestone: Unscheduled
Component: LBC Version: trunk
Severity: minor Keywords:
Cc:

Description (last modified by nicolasmartin)

Context

Compilation failure with key_mpp_mpi (depending on optimisation)

Analysis

in lbc_nfd_ext_generic.h90, routine ROUTINE_NFD, kextj is declared after ARRAY_TYPE (with bound kextj)

       ARRAY_TYPE(:,1-kextj:,:,:,:)                      ! array or pointer of arrays on which the boundary condition is applied
       INTEGER          , INTENT(in   ) ::   kextj       ! extra halo width at north fold

Recommendation

Declare kextj before to be standard conformant

Commit History (2)

ChangesetAuthorTimeChangeLog
10525smasson2019-01-16T11:12:04+01:00

trunk: again, compilation bugfix in lbc_nfd_ext_generic.h90 (line too long for some compilers...), see #2206

10524smasson2019-01-16T10:56:05+01:00

trunk: compilation bugfix in lbc_nfd_ext_generic.h90 (for some compilers...), see #2206

Change History (4)

comment:1 Changed 6 years ago by nicolasmartin

  • Description modified (diff)

comment:2 Changed 6 years ago by smasson

In 10524:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 6 years ago by smasson

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

comment:4 Changed 6 years ago by smasson

In 10525:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.