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.
#651 (Bug in diadimg.F90) – NEMO

Opened 14 years ago

Closed 14 years ago

#651 closed Bug (fixed)

Bug in diadimg.F90

Reported by: molines Owned by: nemo
Priority: high Milestone:
Component: OCE Version: v3.2
Severity: Keywords:


In diadimg, the status for opening the binary files has been changed from UNKNOWN to REPLACE ( 3.1 to 3.2). With this change, the header of the files is erased when the file is opened by all CPUs, resulting in a corrupted file at the end.

Restoring UNKNOWN status in ctl_opn fixes the bug.

I attach the corrected version of diadimg, which also includes performance improvements for large number of processors.

All the best,


Commit History (2)


Trac ticket #651 - code changes allow writing of averaged assim background for shelf assimilation.


Diadimg with fixes and improvement, see ticket #651

Attachments (1)

diadimg.F90 (7.9 KB) - added by molines 14 years ago.
diadimg with bug fix and improvements

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by molines

diadimg with bug fix and improvements

comment:1 Changed 14 years ago by molines

Additional comment: with the performance improvement, it is necessary to update the build_nc tools used for nc file reconstruction.


comment:2 Changed 14 years ago by rblod

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