Ignore:
Timestamp:
Dec 18, 2024, 9:29:49 AM (14 hours ago)
Author:
fhourdin
Message:

Changing $SUBMITCMD to a function submitcmd

Need for local use of LMDZ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/setup.sh

    r5420 r5422  
    1717  # Radiative code: "oldrad" / "rrtm" / "ecrad"
    1818  rad="rrtm"
     19  rad="oldrad"
    1920
    2021  #   !!! STRONG recommendation : experiments with DIFFERENT Orchidee or aerosol options should be performed in DIFFERENT LMDZ_Setup folders
     
    2627  #   in order to re-run the initialisation job, which downloads the aerosol files and interpolates them)
    2728  aerosols="clim"
     29  aerosols="n"
    2830
    2931  # SURFACE/VEGETATION SCHEME
     
    3840  # netcdf: 0 (use existing library) / 1 (recompile netcdf, slow)
    3941  netcdf=0
     42  netcdf=1
    4043
    4144  # --->>> ALSO PAY ATTENTION TO OUTPUT files, frequency, level -------------
     
    692695      cat << ...eod >> tmp
    693696      echo "Submitting job tmp_$SIM"
    694       echo "\$SUBMITCMD tmp_$SIM"
    695       \$SUBMITCMD tmp_$SIM
     697      #echo "\$SUBMITCMD tmp_$SIM"
     698      #\$SUBMITCMD tmp_$SIM
     699      echo submitcmd tmp_$SIM"
     700      submitcmd tmp_$SIM
    696701...eod
    697702    fi
     
    701706    enable_platform tmp
    702707    echo "###############################################################################"
    703     echo "Submitting initialisation job <$SUBMITCMD tmp> from $(pwd)"
     708    #echo "Submitting initialisation job <$SUBMITCMD tmp> from $(pwd)"
     709    echo "Submitting initialisation job <submitcmd tmp> from $(pwd)"
    704710    chmod +x tmp
    705     $SUBMITCMD tmp
     711    #$SUBMITCMD tmp
     712    submitcmd tmp
    706713    echo "###############################################################################"
    707714
     
    710717     echo "###############################################################################"
    711718     echo "Submitting job tmp_$SIM"
    712      echo "$SUBMITCMD tmp_$SIM"
    713      $SUBMITCMD "tmp_$SIM"
     719     #echo "$SUBMITCMD tmp_$SIM"
     720     #$SUBMITCMD "tmp_$SIM"
     721     echo "submitcmd tmp_$SIM"
     722     submitcmd "tmp_$SIM"
    714723     echo '###############################################################################'
    715724  fi
Note: See TracChangeset for help on using the changeset viewer.