1 | This folder contains all the files needed to run the Planetary Evolution Model (PEM). |
---|
2 | |
---|
3 | # launch_pem.sh: |
---|
4 | Bash script file to launch the chained simulation of PEM and PCM runs. |
---|
5 | The user has to specify: |
---|
6 | (i) n_mars_years, n_earth_years -> the number of Mars/Earth years to be simulated in total; |
---|
7 | (ii) nPCM -> the number of PCM calls between PEM runs (usually nPCM=2); |
---|
8 | (iii) exePEM -> the name of executable file for the PEM run; |
---|
9 | (iv) exeReshape -> the name of executable file for the data reshaping task with XIOS. |
---|
10 | The path to source the arch file should be adapted to the machine. |
---|
11 | |
---|
12 | # exePCM.sh: |
---|
13 | Bash script file to run the PCM with a SLURM job. The name of the PCM executable file should be adapted. The header corresponds to the ADASTRA supercomputer and should be changed for other machines. |
---|
14 | |
---|
15 | # run_PEM.def |
---|
16 | All the possible parameters to define a PEM run (read in "conf_pem.F90"). |
---|
17 | It needs to be included in "run_PCM.def" with "INCLUDEDEF=run_PEM.def". |
---|
18 | |
---|
19 | # obl_ecc_lsp.asc |
---|
20 | File describing orbital parameters for Mars from Laskar data. It contains the Earth year and the corresponding obliquity, eccentricity and Ls of perihelion. |
---|
21 | |
---|
22 | # modify_startfi_orbit.sh: |
---|
23 | Bash script file to modify orbital parameters in the file "startfi.nc" (obliquity, eccentricity, Ls perihelion and possibly initial Ls). They should be consistent with Laskar's data in "obl_ecc_lsp.asc" to start a chained simulation at a specific date. |
---|
24 | |
---|
25 | # concat_diagpem.sh: |
---|
26 | Bash script file to concatenate along the variable 'Time' all the "diagpem.nc" files of the PEM into one NetCDF file. 'Time' is re-indexed with the numbering of Martian years simulated by the PEM run. |
---|
27 | |
---|
28 | Note: |
---|
29 | To run the chained simulation, be careful to have: |
---|
30 | (i) the xml files for XIOS. There should be "iodef.xml", "context_lmdz_physics.xml", "file_def_physics_mars.xml" and "field_def_physics_mars.xml" which can be found in the planetary deftank folder. In "context_lmdz_physics.xml", the line for Xdiurnalave should be activated (enabled=".true."); |
---|
31 | (ii) the usual def files to run the PCM. "run.def" should be renamed in "run_PCM.def"; |
---|
32 | (iii the starting files ("startfi.nc" and "start.nc"). The former can be modified by "modify_startfi_orbit.sh"; |
---|
33 | (iv) some optional files. For example, "diagfi.def" and "diagpem.def". |
---|