Subject: Re: Precision problems with CCM3
From: Jim Rosinski (rosinski@skyhawk.cgd.ucar.EDU)
Date: Tue Mar 25 1997 - 12:38:48 MST
In my previous message on compiler options and port validation of CCM3, I
inadvertently left out two LSM code changes that are necessary when comparing
runs between 2 machines. These changes will be included with the next
release of CCM3 (a few months from now), but can be retrofitted into CCM3.2
in the following way:
1) In lsmzen.F, change the line which reads:
mcsec = (calday - int(calday)) * 86400.
to
mcsec = nint((calday - int(calday)) * 86400.)
2) In laktem.F, change the line which reads:
if (rhow(j,k) .gt. rhow(j+1,k)) then
to
if (rhow(j,k) .gt. rhow(j+1,k)+1.e-4) then
Jim Rosinski
CCM Core Group
This archive was generated by hypermail 2b27 : Thu Jun 01 2000 - 09:10:49 MDT