Opened 7 years ago

Closed 5 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:

Description

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 5 years ago by clevy

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