Ignore:
Timestamp:
May 31, 2018, 7:35:36 AM (6 years ago)
Author:
aslmd
Message:

LMDZ.MARS: some compilers complain about argument mismatch when calling updaterice_microco2. This prevents the MESOSCALE model for MARS to compile with ifort for instance. This is a hack that is harmless to GCM compile in double precision, that fixes the problem in MESOSCALE compile in single precision, but that does not solve entirely the problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/improvedCO2clouds.F

    r1922 r1930  
    113113      DOUBLE PRECISION mem_Mh2o_co2(ngrid,nlay) ! Memory of H2O mass integred into CO2 crystal
    114114      DOUBLE PRECISION mem_Nccn_co2(ngrid,nlay) ! Memory of CCN number of H2O and dust used by CO2
    115      
     115      DOUBLE PRECISION interm1,interm2,interm3     
     116 
    116117!     Radius used by the microphysical scheme (m)
    117118      DOUBLE PRECISION n_aer(nbinco2_cld) ! number concentration volume-1 of particle/each size bin
     
    527528           No   = zq(ig,l,igcm_ccnco2_number)* tauscaling(ig)+1.e-30
    528529           IF (No .ge. 1)THEN   ! we trigger crystal growth
    529               call updaterice_microco2(zq(ig,l,igcm_co2_ice),
    530      &            zq(ig,l,igcm_ccnco2_mass),zq(ig,l,igcm_ccnco2_number),
     530              interm1 = DBLE(zq(ig,l,igcm_co2_ice))
     531              interm2 = DBLE(zq(ig,l,igcm_ccnco2_mass))
     532              interm3 = DBLE(zq(ig,l,igcm_ccnco2_number))
     533              call updaterice_microco2(interm1,
     534     &            interm2,interm3,
    531535     &            tauscaling(ig),riceco2(ig,l),rhocloudco2(ig,l))
    532536
Note: See TracChangeset for help on using the changeset viewer.