Skip to content

Experiment details

The experiment_details namelist contains information on how to run the simulation, most of which is relevant for submitting jobs to Slurm. It is an addition I made to the namelists in the Isca source code, and all options must be specified to run the simulation using isca_tools.

Options

name

string
Name of experiment e.g. data saved in folder $GFDL_DATA/{name}.
You can use name='exp/run1' to set create a new exp directory and then save the run1 data within it. This may be useful for running similar experiments with different parameters.
Default: N/A

input_dir

string
Directory containing any input files required for the experiment such as namelist.nml, diag_table or co2.nc.
Default: N/A

n_months_total

int
Total duration of simulation in months.
Default: N/A

n_months_job

int
Approximate duration of each job of the simulation in months.
E.g. if n_months_total=12 and n_months_job=6, the experiment would be split up into 2 jobs each of length 6 months.
Default: N/A

n_nodes

int
Number of nodes to run job on (Slurm info).
Default: N/A

n_cores

int
Number of cores for each node to run job on (Slurm info).
Must be a power of \(2\) so typically \(8\), \(16\) or \(32\).
Default: N/A

resolution

string
Horizontal resolution of experiment.
Options are T21, T42 or T85.
Default: N/A

partition

string
Slurm queue to submit job to.
Default: N/A

overwrite_data

bool
If this is True and data already exists in $GFDL_DATA/{name}, then it will be overwritten.
If it is False and the data exists, an error will occur.
If a previous run failed part way through, running the same experiment again with overwrite_data=.false. will start using the last restart file created in that previous run. Typically set to False.
Default: N/A

compile

bool
If True, it will recompile the codebase before running the experiment.
Typically set to False.
Set this to True if you have made any changes to the underlying source code of Isca.
Default: N/A

max_walltime

string
Maximum time that job can run on Slurm.
\(1\) hour would be '01:00:00' and \(30\) minutes would be '30:00'.
Default: N/A

delete_restart_files

bool
If True, only the restart file for the final month will be kept. Otherwise, a restart file will be generated for every month.
Default: N/A

nodelist

string
Specify node to submit to.
Options on debug partition on St Andrews kennedy are kennedy20, kennedy21 or kennedy22.
Number listed needs to match n_nodes.
kennedy[20-22] would request the 3 nodes 20, 21, 22.
If not given, will just submit to default nodes. If multiple jobs, this will likely result in jobs being submit in the wrong order, and an error occuring.
Default: N/A