Opened 8 years ago

Closed 6 years ago

#1142 closed Defect (fixed)

Floating invalid in PISCES/P4Z/p4zlys.F90

Reported by: nemo_user Owned by: nemo
Priority: normal Milestone:
Component: OCE Version: release-3.5
Severity: Keywords:
Cc: Branch review:
MP ready?: Task progress:


When NEMO is compiled with {{ifort -trapuv}}}, there is a 'floating invalid' in p4zlys, ligne 152 :

CALL iom_put( "PH" , -1. * LOG10( hi(:,:,:) ) * tmask(:,:,:) )

This could be corrected by changing the line in

CALL iom_put( "PH" , -1. * LOG10( hi(:,:,:)*tmask(:,:,:) + (1.-tmask(:,:,:) )) * tmask(:,:,:) )

This has a computational cost, but allow to use NEMO in debug mode, which could we useful sometimes …

Note : the same correction should be applied a few lines below, for the case lk_iomput=.FALSE.

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 6 years ago by clevy

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