Changeset 3580 for trunk/LMDZ.MARS/deftank/launch_orb_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_orb_1Dchained.sh
r3465 r3580 4 4 ### following orbital changes ### 5 5 ################################################################ 6 set -e 7 trap 'echo -e "\033[31mError: an issue occurred in the script on line $LINENO! Please review the command and try again.\033[0m"' ERR 6 8 7 9 echo "The launching script is starting!" … … 14 16 fi 15 17 16 # A few parameters that might need be changed depending on your setup:17 # Path to the arch.env to source:18 source ../trunk/LMDZ.COMMON/arch.env19 20 18 # Save the current value of LC_NUMERIC and set it to a locale that uses a dot as the decimal separator 21 19 OLD_LC_NUMERIC=$LC_NUMERIC 22 20 LC_NUMERIC=en_US.UTF-8 23 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 24 27 25 ################################################################ 26 #--------- Modify here the number of years for initialization ---------- 27 ## set the number of Earth years before present to start: 28 # Set the number of Earth years before present to start: 28 29 eyears_bp_ini=-1000 29 30 30 #---------- Modify here the number of years to be simulated ------------ 31 ## set the number of Martian years: 31 # Set the number of Martian years to be simulated: 32 32 n_myears=500 33 33 34 #------------------ Modify here the name of PCM exe -------------------- 35 ## fill in the name of executable for PCM: 34 # Name of executable for the PCM: 36 35 exePCM="testphys1d_29_phymars_para.e" 37 36 38 #----------- Modify here the name of the orbital data file ------------- 39 ## fill in the name of executable for PCM: 37 # Name of the orbital data file: 40 38 orb_data="obl_ecc_lsp.asc" 41 39 ################################################################ 42 40 43 41 44 # ------ Check if files/directories necessary for the script exist ------42 # Check if files/directories necessary for the script exist 45 43 dir=`pwd` 46 44 machine=`hostname` … … 68 66 fi 69 67 70 # ---------------------------- Initialization ---------------------------68 # Initialization 71 69 dir=`pwd` 72 70 machine=`hostname` … … 85 83 fi 86 84 87 # ---------------- Main loop to to run PCM year by year -----------------85 # Main loop to to run PCM year by year 88 86 while [ $i_myear -lt $n_myears ]; do 89 87 # Get the new values for the orbital parameters
Note: See TracChangeset
for help on using the changeset viewer.