Skip to content

bd2kccd/causal-compare-hpc-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

causal-compare-hpc-utility

This is a utility tool written in Python to faciliate with running the causal-compare CLI tool on HPC cluster. It generates individual configuration XML file based on the causal-compare configuration (multiple simulations and multiple algorithms with multiple combinations of parameters) so you can run the CLI tool for each single case and distribute the workload to the cluster nodes.

cd causal-compare-hpc-utility
python app.py

The above run (works with both Python 2 and Python 3) will generate a directory named as the original configuration file name (e.e., configuration/) and create individual XML configuration files (configuration_1.xml, configuration_2.xml...) in that directory. It will also create a slurm batch script called sbatch.sh, which can be used as a slurm job array to submit those individual causal compare jobs.

cd configuration
sbatch sbatch.sh

If you want to get email notifiations of the jobs, you can add the following to the generated sbatch.sh script:

#SBATCH [email protected]
#SBATCH --mail-type=ALL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published