Ignore:
Timestamp:
Jun 22, 2011, 10:28:16 AM (13 years ago)
Author:
emillour
Message:

Mars GCM

  • minor correction to callradite.F (to enable compilation in debug mode with ifort when there is only one tracer).

EM

File:
1 edited

Legend:

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

    r139 r172  
    265265          name_iaer(1) = "dust_conrath"   !! default choice is good old Conrath profile
    266266          IF (doubleq.AND.active) name_iaer(1) = "dust_doubleq" !! two-moment scheme
    267           IF (water.AND.activice) name_iaer(2) = "h2o_ice"      !! radiatively-active clouds
    268           IF (submicron.AND.active) name_iaer(2) = "dust_submicron" !! JBM experimental stuff
     267          if (nqmx.gt.1) then
     268           ! trick to avoid problems compiling with 1 tracer
     269           ! and picky compilers who know name_iaer(2) is out of bounds
     270           j=2
     271          IF (water.AND.activice) name_iaer(j) = "h2o_ice"      !! radiatively-active clouds
     272          IF (submicron.AND.active) name_iaer(j) = "dust_submicron" !! JBM experimental stuff
     273          endif ! of if (nqmx.gt.1)
    269274c        ----------------------------------------------------------
    270275
Note: See TracChangeset for help on using the changeset viewer.