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.
#2393 (avoid useless allocation in diawri) – NEMO

Opened 3 years ago

Closed 3 years ago

Last modified 14 months ago

#2393 closed Defect (fixed)

avoid useless allocation in diawri

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: DIA Version: v4.0
Severity: minor Keywords: v4.0
Cc:

Description

Context

avoid do allocate 6 x 3D arrays when not doing any output (no key_iomput and nn_write == -1, e.g. BENCH)
same as #2392 but for release-4.0-HEAD

Analysis

bypass allocation in dia_wri_alloc

Recommendation

do it!

Commit History (1)

ChangesetAuthorTimeChangeLog
12494smasson2020-03-02T09:04:06+01:00

release-4.0-HEAD: minor optimisation in diawri, see #2393

Change History (3)

comment:1 Changed 3 years ago by smasson

In 12494:

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

comment:2 Changed 3 years ago by smasson

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

do in [12494]

comment:3 Changed 14 months ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.