New URL for NEMO forge!

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.
#2670 (use of jpim1/jpjm1 in dynspg_ts) – NEMO

Opened 3 years ago

Closed 3 years ago

#2670 closed Bug (fixed)

use of jpim1/jpjm1 in dynspg_ts

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: DYN Version: trunk
Severity: minor Keywords:

Description (last modified by smasson)


There is still implicit loops in dynspg_ts that are using jpim1/jpjm1.
This creates errors (in debug mode) when nn_hls > 1.
I thought these variables should no more be used in the code...



zhU(1:jpim1,1:jpj  ) = e2u(1:jpim1,1:jpj  ) * ua_e(1:jpim1,1:jpj  ) * zhup2_e(1:jpim1,1:jpj  )   ! not jpi-column

we use zhup2_e(1:jpim1,1:jpj ) that was computed above in a DO_2D( 1, 0, 1, 1 ) loop.
=> zhup2_e not defined in jpj when nn_hls = 2


suppress jpim1 et jpjm1 from the code!

Commit History (1)


trunk: supress jpim1/jpjm1 in dynspg_ts, #2670

Change History (3)

comment:1 Changed 3 years ago by smasson

  • Description modified (diff)

comment:2 Changed 3 years ago by smasson

In 15018:

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

comment:3 Changed 3 years ago by smasson

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

to be continued in #2699

Note: See TracTickets for help on using tickets.