ucgmsim / slurm_gm_workflow

Porting the GM workflow to run on new NeSI HPC (Maintainer: Jonney)
MIT License
0 stars 2 forks source link

Build Status License: MIT

Slurm GM Simulation Workflow

Contains the following:

Running the automated workflow

Also see cybershake manual.

Setup

To run an automated workflow the following folder strucutre/files are required:

where rootDir is the directory to which the automated workflow will be installed.

To generate these files see pre-processing and cybershake manual.

Installing

Run the install_cybershake.sh bash script, e.g.

$gmsim/workflow/workflow/automation/install_scripts/install_cybershake path/to/rootDir 
cybershake_version /path/to/list.txt --seed [seed]

where the cybershake version is a string with a relevant subdirectory in the templates folder. Current valid options are 16.1 and 18.5.3.4

and list.txt is a list of the faults to run, along with the number of realisations, e.g.

Hossack 4r
RepongaereF4 10r

seed is an optional integer argument to specify the seed to be used for HF calculations. If it is not given, a value in SEED file will be used if the file exists. Otherwise, a random seed will be chosen and kept in SEED file for next use.

Running

To run the installed simulations, copy the task_config.yaml configuration file to the run directory and modify it to your needs. Run the cybershake with the following script:

python $gmsim/workflow/workflow/automation/execution_scripts/run_cybershake.py /path/to/rootDir /path/to/rootDir/task_config.yaml

this will start submitting the different tasks on the HPC and will keep the database up to date.