Ignore:
Timestamp:
Jun 8, 2021, 6:33:45 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Version modifiee par Camille pour version isotopique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz_fcm

    r3911 r3924  
    4040full=''
    4141libphy=false
     42isotopes=false
     43isoverif=false
     44diagiso=false
     45isotrac=false
    4246
    4347arch_defined="FALSE"
     
    104108[-dust true/false]    : compile with/without the dust package by Boucher and co (default: false)
    105109[-strataer true/false]    : compile with/without the strat aer package by Boucher and co (default: false)
     110[-isotopes true/false]    : compile with/without water isotopes in the physics
     111[-isoverif true/false]    : compile with/without verifications for water isotopes in the physics
     112[-diagiso true/false]    : compile with/without special diagnostics for water isotopes in the physics
     113[-isotrac true/false]    : compile with/without tracers of water isotopes in the physics
    106114[-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp
    107115[-g GRI]                   : grid configuration in dyn3d/GRI_xy.h  (default: reg, inclues a zoom)
     
    169177          chimie="$2" ; shift ; shift ;;
    170178
     179      "-isotopes")
     180          isotopes="$2" ; shift ; shift ;;
     181
     182      "-isoverif")
     183          isoverif="$2" ; shift ; shift ;;
     184
     185      "-diagiso")
     186          diagiso="$2" ; shift ; shift ;;
     187
     188      "-isotrac")
     189          isotrac="$2" ; shift ; shift ;;
     190
    171191      "-parallel")
    172192          parallel="$2" ; shift ; shift ;;
     
    341361   INCLUDE="$INCLUDE -I${INCA_INCDIR}"
    342362   LIB="$LIB -L${INCA_LIBDIR} -lchimie"
     363fi
     364
     365if [[ "$isotopes" == "true" ]]
     366then
     367   CPP_KEY="$CPP_KEY ISO"
     368fi
     369
     370if [[ "$isoverif" == "true" ]]
     371then
     372   CPP_KEY="$CPP_KEY ISOVERIF"
     373fi
     374
     375if [[ "$diagiso" == "true" ]]
     376then
     377   CPP_KEY="$CPP_KEY DIAGISO"
     378fi
     379
     380if [[ "$isotrac" == "true" ]]
     381then
     382   CPP_KEY="$CPP_KEY ISOTRAC"
    343383fi
    344384
     
    657697fi
    658698
    659 if [[ $libphy == "true" ]]
     699if [[ "$isotopes" == "true" ]]
     700then
     701  SUFF_NAME=${SUFF_NAME}_iso
     702fi
     703if [[ "$isoverif" == "true" ]]
     704then
     705  SUFF_NAME=${SUFF_NAME}_isoverif
     706fi
     707if [[ "$isotrac" == "true" ]]
     708then
     709  SUFF_NAME=${SUFF_NAME}_isotrac
     710fi
     711if [[ "$diagiso" == "true" ]]
     712then
     713  SUFF_NAME=${SUFF_NAME}_diagiso
     714fi
     715
     716if [[ $libphy == "true" ]]x
    660717then
    661718  # special case where we compile only the physics
Note: See TracChangeset for help on using the changeset viewer.