Difference between revisions of "GEOS-Chem v9-01-02"
(→Bug fixes for compatibility with the PGI compiler) |
(→Bug fixes for compatibility with the PGI compiler) |
||
Line 85: | Line 85: | ||
1.d0 | 1.d0 | ||
1.d-12 | 1.d-12 | ||
− | + | ||
In short, the PGI compiler expects constants to agree strictly with the type of the variable that they are being assigned to (i.e. if <tt>A</tt> is a <tt>REAL*8</tt>, then you must use <tt>A = 1.0d0</tt> instead of <tt>A = 1.0</tt>). IFORT will correct for this situation during compilation, but PGI will throw an error. | In short, the PGI compiler expects constants to agree strictly with the type of the variable that they are being assigned to (i.e. if <tt>A</tt> is a <tt>REAL*8</tt>, then you must use <tt>A = 1.0d0</tt> instead of <tt>A = 1.0</tt>). IFORT will correct for this situation during compilation, but PGI will throw an error. | ||
Revision as of 18:28, 2 March 2011
Contents
Overview
BETA RELEASE -- Spring 2011
- Previous version: GEOS-Chem v9-01-01
- Next version: GEOS-Chem v9-01-03
What's new in this version
GEOS-Chem v9-01-02 contains the following major updates and improvements:
- APM aerosol microphysics (F. Yu & G. Luo, SUNY Albany)
- Various emissions updates
Previous issues now resolved in v9-01-02
Patches from v9-01-01
The following patches that were issued after the release of GEOS-Chem v9-01-01 are now standardized in v9-01-02:
--Bob Y. 11:21, 1 March 2011 (EST)
Minor bug fixes in ISORROPIA II
Please see this wiki post for a description of two minor bug fixes that were implemented in source code file ISOROPIA/isorropiaIIcode.f. This bug does not affect the current GEOS-Chem ISORROPIA configuration, but may affect future development.
--Bob Y. 13:13, 1 March 2011 (EST)
Diagnostic updates
The following diagnostic updates have been implemented in v9-01-02:
- Fixes for inconsistencies in aerosol diagnostics
- The MERRA SEAICExx fields are now saved to the plane flight diagnostic.
--Bob Y. 13:13, 1 March 2011 (EST)
Bug fixes for compatibility with the PGI compiler
Gan Luo from SUNY/Albany pointed out several minor typos that cause the PGI compiler to choke when building the GEOS-Chem executable. These will all be fixed in v9-01-02.
(1) Line 303 of GeosCore/depo_mercury_mod.f:
Change this: #include 'define.h' to this: #include "define.h"
(2) Line 169 of GeosCore/ocean_mercury_mod.f:
Change this: REAL*8, PARAMETER :: Kd_part = 10**(5.5) to this: REAL*8, PARAMETER :: Kd_part = 10d0**(5.5d0)
(3) Line 1281 of GeosCore/ocean_mercury_mod.f:
Change this: HgPaq(I,J) = MAX ( HgPaq(I,J) , 0.0 ) to this: HgPaq(I,J) = MAX ( HgPaq(I,J) , 0d0 )
(4) In subroutine DO_MERRA_CONVECTION of convection_mod.f
Change this: REAL*8 :: ALPHA, ALPHA2, CLDBASE, CMFMC_BELOW to this: INTEGER :: CLDBASE REAL*8 :: CMFMC_BELOW, ALPHA, ALPHA2
(5) In module vdiff_mod.f90: Several numerical constants had to be rewritten so that explicitly use "D" exponents. In other words:
Change numbers like these: 1. 1.e-12 to these: 1.d0 1.d-12
In short, the PGI compiler expects constants to agree strictly with the type of the variable that they are being assigned to (i.e. if A is a REAL*8, then you must use A = 1.0d0 instead of A = 1.0). IFORT will correct for this situation during compilation, but PGI will throw an error.
--Bob Y. 13:27, 2 March 2011 (EST)
Outstanding issues not yet resolved in v9-01-02
TBA