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.
#511 (reduce the length of the solver.stat lines) – NEMO

Opened 15 years ago

Closed 15 years ago

Last modified 8 years ago

#511 closed Enhancement (fixed)

reduce the length of the solver.stat lines

Reported by: gm Owned by: nemo
Priority: lowest Milestone:
Component: OCE Version: trunk
Severity: Keywords: outputs
Cc:

Description

In order to improve the comparison between 2 experiements, the format of the solver.stat (stpctl.F90 module) has been changed from :

9200  FORMAT(' it :', i8, ' niter :', i4, ' res :',e20.10,' b :',e20.10)

to

9200  FORMAT('it:', i8, ' iter:', i4, ' r: ',e16.10, ' b: ',e16.10 )

The length of a line is reduced from 88 characters to 61 characters without any lost of information.
When a sdiff command is applied to 2 solver.stat files, this reduction allows to display the whole information of both files, not a truncated one. (see the example below of a sdiff between the new and old files).

New format :                                                  |  Old format           
it:       1 iter: 310 r: 0.2817363500E-09 b: 0.4324836913E+03 |  it :       1 niter : 310 res :    0.2817363500E-09 b :    0.

Gurvan

Commit History (2)

ChangesetAuthorTimeChangeLog
1589ctlod2009-08-06T12:06:34+02:00

reduce the length of the solver.stat lines, see ticket: #511

1588ctlod2009-08-06T12:06:21+02:00

reduce the length of the solver.stat lines, see ticket: #511

Change History (4)

comment:1 Changed 15 years ago by ctlod

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

this implies a modification in the NVTK assessment.ksh script for the format of solver.stats file

comment:2 Changed 15 years ago by anonymous

  • Milestone 2009 Stream 2: Developer Interfaces deleted

Milestone 2009 Stream 2: Developer Interfaces deleted

comment:3 Changed 8 years ago by nicolasmartin

  • Keywords stpctl removed

comment:4 Changed 8 years ago by nicolasmartin

  • Keywords outputs added; solver.stat removed
Note: See TracTickets for help on using tickets.