Skip to content

Commit 3c0f076

Browse files
committed
HPC script okay
1 parent 762dae9 commit 3c0f076

13 files changed

Lines changed: 1569 additions & 1168 deletions

File tree

docs/HPC_GUIDE.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
### Snellius Usage Breakdown
2+
3+
```
4+
ssh <your_username>@snellius.surf.nl
5+
6+
# On a separate terminal run the following
7+
8+
# Upload the entire project directory (including your models/ folder)
9+
scp -r ~/Documents/CSS_Project <your_username>@snellius.surf.nl:~/
10+
11+
# On the Snellius terminal
12+
13+
module load 2023 Python/3.11.3-GCCcore-12.3.0
14+
python3 -m venv ~/css_env
15+
source ~/css_env/bin/activate
16+
pip install numpy scipy matplotlib joblib
17+
18+
# To submit a job
19+
20+
sbatch run_analysis.sh
21+
22+
# Check Queue Status
23+
24+
squeue -u $USER
25+
26+
# Cancel a job
27+
28+
scancel <JOBID>
29+
30+
# Monitoring live progress
31+
32+
tail -f logs_<JOBID>.err
33+
34+
# Fetching the results once the job is done
35+
36+
scp -r <your_username>@snellius.surf.nl:~/results_18514601 ~/Downloads/
37+
```
38+
39+
The jobscript template can be found in ```run_analysis.sh``` (default rome paritition).
40+
41+
42+
Snellius Partitions Page: https://servicedesk.surf.nl/wiki/spaces/WIKI/pages/30660209/Snellius+partitions+and+accounting

docs/prompts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,5 +575,5 @@ Made large changes to multiple functions. See git commit for details.
575575

576576
2. Create a skeletal version of a .py script that will be subimtted into Snellius for parameter analysis. The purpose of this script should be to identify power law distribution with the consideration of finite size scaling, the hydra effect, and suitable parameter configurtaions for time series analysis for model evolution. Compare the non-evo to the evo model.
577577

578-
3. Create a config class adjustable depending on the CPU budget. We want to run a prey_birth vs. predator_death parameter sweep (2D), quantify the hydra effect using the derivative, search for the critical point (power law relartionship paramameter), quantify evolution sensitivity and analyze finite grid size scaling.
578+
3. Create a config class adjustable depending on the CPU budget. We want to run a prey_birth vs. predator_death parameter sweep (2D), quantify the hydra effect using the derivative, search for the critical point (power law relartionship paramameter), quantify evolution sensitivity and analyze finite grid size scaling. Include script options for cost optimal runs as well. Make sure to have a summary of collected data stored for reference and future usage.
579579

0 commit comments

Comments
 (0)