Ignore:
Timestamp:
May 24, 2013, 11:59:55 AM (12 years ago)
Author:
aslmd
Message:

LMZ.GENERIC rcm1d added a warning about tracer number inconsistency to avoid problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/rcm1d.F

    r787 r970  
    275275
    276276      else
    277       ! we still need to set (dummy) tracer names for physdem1
    278         nq=nqmx
     277       nq=nqmx
     278       ! Check that tracer boolean is compliant with number of tracers
     279       ! -- otherwise there is an error (and more generally we have to be consistent)
     280       if (.not.tracer .and. nq .ge. 1) then
     281          write(*,*) "------------------------------"
     282          write(*,*) "rcm1d: You set tracer=.false."
     283          write(*,*) " But compiled with 1 tracer or more"
     284          write(*,*) " > If you want tracers, set tracer=.true."
     285          write(*,*) " > If you do not want tracers, compile with -t 0"
     286          write(*,*) "------------------------------"
     287          stop
     288       endif
     289       ! we still need to set (dummy) tracer names for physdem1
    279290        do iq=1,nq
    280291          write(str7,'(a1,i2.2)')'q',iq
Note: See TracChangeset for help on using the changeset viewer.