Closed martinhjel closed 7 months ago
Example Script: For running multiple cases on an HPC, refer to the script scripts/copy_and_run_empire_on_hpc.sh
. This script uses configurations from config/cluster.json and is designed for NTNU's HPC clusters: Solstorm and Idun.
Usage Linux or macOS: From the project directory, execute the following to run on the Solstorm cluster:
sh scripts/copy_and_run_empire_on_hpc.sh Solstorm
This command copies the EMPIRE code to the Solstorm cluster and performs several runs managed by the SGE task manager. Ensure the "empire_env" conda environment is set up on the cluster with dependencies as listed in environment.yml
.
Usage Windows: Install "jq" on Windows:
curl -L -o /usr/bin/jq.exe https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe
From the project directory, execute the following command in Git Bash to run on the Solstorm cluster:
sh scripts/copy_and_run_empire_on_hpc.sh Solstorm
The scripts/run_analysis.py
script demonstrates how to modify input data at execution time using data managers.
-Restructure empire as a python package -Add streamlit app -Add sphinx documentation -Add scripts to run on HPC -Add data managers to change input data at execution
Closes #4 and #8