Estimation of a cybershake folder can be using the estimate_cybershake.py script in the [slurm_gm_workflow] repository.

The script requires the following arguments:

  • vms_dir - The absolute path to the VMs directory
  • sources_dir - The absolute path to the Sources directory

And the optional arguments are:

  • runs_dir - The absolute path to the Runs directory. Setting this allows estimation of HF and BB. If the Runs directory is not provided estimation is only done for LF.
  • fault_selection - The cybershake fault selection text file. Ignored if the runs_dir is specified.
  • cybershake_config - Cybershake config file to retrieve dt. Ignored if runs_dir is specified.
  • output - Output csv file
  • verbose - If set, estimations are printed per fault instead of just the totals.

Example:

python3 estimate_cybershake /home/cbs51/code/tmp/test_pred/data/VMs /home/cbs51/code/tmp/test_pred/data/Sources --runs_dir /home/cbs51/code/tmp/test_pred/Runs --verbose

This will run core hours estimation for LF/HF and BB and display the results.


Note: This is not deployed on the HPC as of 24/01/2019, but should go up in the 1-2 weeks.

  • No labels