Ignore:
Timestamp:
May 23, 2023, 9:23:53 AM (19 months ago)
Author:
emillour
Message:

Generic PCM:
Adapt makelmdz_fcm to add to executable name "_bVISxIR" when option
-b VISxIR is used.
While at it remove obsolete script "makegcm".
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz_fcm

    r2781 r2967  
    552552then
    553553  # Generic model, recreate bands.h (IR & VIS bands for radiative transfer)
    554   bands=$(echo $bands | sed -e 's/[^0-9]/ /g')
     554  makbandsarg=$(echo $bands | sed -e 's/[^0-9]/ /g')
    555555  cd $LIBFGCM/phy$physique/bands
    556   ./makbands $bands
     556  ./makbands $makbandsarg
    557557  cat $LIBFGCM/phy$physique/bands.h
    558558  cd $LMDGCM
     
    657657SUFF_NAME=_${dim_full}
    658658SUFF_NAME=${SUFF_NAME}_phy${physique}
     659
     660if [[ "$bands" != "" ]]
     661then
     662  #if bands option -b VISxIR is used, add "_bVISxIR" to executable name
     663  SUFF_NAME=${SUFF_NAME}_b$bands
     664fi
    659665
    660666if [[ "$parallel" != "none" ]]
Note: See TracChangeset for help on using the changeset viewer.