Changeset 3580 for trunk/LMDZ.MARS/deftank/launch_1Dchained.sh
- Timestamp:
- Jan 15, 2025, 1:55:46 PM (8 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/deftank/launch_1Dchained.sh
r3465 r3580 3 3 ### Launching script for a chained simulation of 1D PCM runs ### 4 4 ################################################################ 5 set -e 6 trap 'echo -e "\033[31mError: an issue occurred in the script on line $LINENO! Please review the command and try again.\033[0m"' ERR 7 5 8 6 9 echo "The launching script is starting!" … … 13 16 fi 14 17 15 # A few parameters that might need be changed depending on your setup:16 # Path to the arch.env to source:17 source ../trunk/LMDZ.COMMON/arch.env18 19 18 # Save the current value of LC_NUMERIC and set it to a locale that uses a dot as the decimal separator 20 19 OLD_LC_NUMERIC=$LC_NUMERIC 21 20 LC_NUMERIC=en_US.UTF-8 22 21 22 ################################################################ 23 # Modify here the parameters for the simulation 24 ############################################### 25 # Path to the arch.env to source: 26 source ../trunk/LMDZ.COMMON/arch.env 23 27 24 ################################################################ 25 #---------- Modify here the number of years to be simulated ------------ 26 ## set the number of Martian years: 28 # Set the number of Martian years to be simulated: 27 29 n_myears=1000 28 30 29 #------------------ Modify here the name of PCM exe -------------------- 30 ## fill in the name of executable for PCM: 31 # Name of executable for the PCM: 31 32 exePCM="testphys1d_29_phymars_seq.e" 32 33 ################################################################ 33 34 34 35 35 # ------ Check if files/directories necessary for the script exist ------36 # Check if files/directories necessary for the script exist 36 37 dir=`pwd` 37 38 machine=`hostname` … … 51 52 fi 52 53 53 # ---------------------------- Initialization ---------------------------54 # Initialization 54 55 dir=`pwd` 55 56 machine=`hostname` … … 68 69 fi 69 70 70 # ---------------- Main loop to to run PCM year by year -----------------71 # Main loop to to run PCM year by year 71 72 while [ $i_myear -lt $n_myears ]; do 72 73 # Run the PCM
Note: See TracChangeset
for help on using the changeset viewer.