Changeset 3108
- Timestamp:
- Oct 27, 2023, 6:00:07 PM (15 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/changelog.txt
r3106 r3108 124 124 - Correction of a bug when running with ifort, XIOS and no sub-slopes. If compiled with ifort, the 'Reshape' program cashed because of sub-slopes variables were written in the XIOS output but not filled. A new file definition without sub-slopes can be chosen in the xml file to avoid this issue. 125 125 - Addition in the 'Reshape' program of a check to remove the output files if they exist to prevent a crash. 126 127 == 27/10/2023 == JBC 128 Addition of the possibility to ask for a number of Mars years to be simulated in total (previously it was only in Earth years). -
trunk/LMDZ.MARS/deftank/pem/README
r3096 r3108 4 4 Bash script file to launch the chained simulation of PEM and PCM runs. 5 5 The user has to specify: 6 (i) n_ earth_years -> the number ofEarth years to be simulated in total;6 (i) n_mars_years, n_earth_years -> the number of Mars/Earth years to be simulated in total; 7 7 (ii) nPCM -> the number of PCM calls between PEM runs (usually nPCM=2); 8 8 (iii) exePEM -> the name of executable file for the PEM run; -
trunk/LMDZ.MARS/deftank/pem/launch_pem.sh
r3106 r3108 21 21 LC_NUMERIC=en_US.UTF-8 22 22 23 #------- Modify here the number of Earth years to be simulated --------- 24 ## set the number of years: 25 n_earth_years=1000000 23 #---------- Modify here the number of years to be simulated ------------ 24 ## set the number of years, either Martian or Earth years: 25 n_mars_years=1000000 26 #n_earth_years=1000000 26 27 27 28 #---------------- Modify here the number of PCM calls ------------------ … … 93 94 convert_years=$(echo "$myear/$eyear" | bc -l) 94 95 convert_years=$(printf "%.4f" $convert_years) # Rounding to the 4th decimal to respect the precision of Martian year 95 n_myear=$(echo "($n_earth_years/$convert_years + 0.999999)/1" | bc) # Ceiling of n_earth_years/convert_years 96 echo "Number of years to simulate: $n_earth_years Earth years = $n_myear Martian years." 96 if [ -v n_mars_years ] && [ ! -z "$n_mars_years" ]; then 97 n_myear=$n_mars_years 98 echo "Number of years to be simulated: $n_myear Martian years." 99 elif [ -v n_earth_years ] && [ ! -z "$n_earth_years" ]; then 100 n_myear=$(echo "($n_earth_years/$convert_years + 0.999999)/1" | bc) # Ceiling of n_earth_years/convert_years 101 echo "Number of years to be simulated: $n_earth_years Earth years = $n_myear Martian years." 102 else 103 echo "No number of years to be simulated has been set!" 104 exit 1 105 fi 97 106 i_myear=0 98 107 iPEM=1
Note: See TracChangeset
for help on using the changeset viewer.