Ignore:
Timestamp:
Sep 1, 2011, 2:11:11 PM (13 years ago)
Author:
jghattas
Message:

Added coherence test between variable type_trac and cpp key used when compiling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d/infotrac.F90

    r1565 r1569  
    8888   
    8989
    90     ! Coherence test between parameter type_trac and config_inca
     90    ! Coherence test between parameter type_trac, config_inca and preprocessing keys
    9191    IF (type_trac=='inca') THEN
    9292       WRITE(lunout,*) 'You have choosen to couple with INCA chemestry model : type_trac=', &
     
    9696          CALL abort_gcm('infotrac_init','Incoherence between type_trac and config_inca',1)
    9797       END IF
     98#ifndef INCA
     99       WRITE(lunout,*) 'To run this option you must add cpp key INCA and compile with INCA code'
     100       CALL abort_gcm('infotrac_init','You must compile with cpp key INCA',1)
     101#endif
    98102    ELSE IF (type_trac=='repr') THEN
    99103       WRITE(lunout,*) 'You have choosen to couple with REPROBUS chemestry model : type_trac=', type_trac
     104#ifndef REPROBUS
     105       WRITE(lunout,*) 'To run this option you must add cpp key REPROBUS and compile with REPRPBUS code'
     106       CALL abort_gcm('infotrac_init','You must compile with cpp key REPROBUS',1)
     107#endif
    100108    ELSE IF (type_trac == 'lmdz') THEN
    101109       WRITE(lunout,*) 'Tracers are treated in LMDZ only : type_trac=', type_trac
Note: See TracChangeset for help on using the changeset viewer.