Skip to content

Commit

Permalink
update conda packages to work with python3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
shimoura committed May 7, 2024
1 parent c31d105 commit 7ac3e9c
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 121 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ This will be implemented in a future version.

To run the model on a cluster, ensure you have a working `conda` and `snakemake` installation.


Start with
```
conda activate humam
Expand All @@ -118,6 +119,9 @@ to add `conda` to the `PATH`. Lastly start `snakemake` with the cluster specific
```
bash snakemake_slurm.sh
```

**NOTE**: to run the current version on JURECA cluster (Jülich Supercomputing Centre at Forschungszentrum Jülich), it is recommended to use the modules defined in `config_jureca.yaml` file instead of the conda environment. If so, remove the `--use-conda` flag in the `snakemake_slurm.sh` script before running the code line above.

This script will run the workflow defined in `Snakefile`, which follows the sequence:
1. read all `*.py` experiment files contained in the `./experiments/` directory. **NOTE**: If you want to run fewer/more experiments, remove/add these files from the `./experiments/` directory.
2. load necessary modules for MPI and NEST before executing
Expand Down
2 changes: 1 addition & 1 deletion config_jureca.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NEST_PATH: /path/to/installation

MPIRUN: srun
MPI_MODULES: module load GCC ParaStationMPI
MPI_MODULES: module load Stages/2022 GCC/11.2.0 ParaStationMPI/5.5.0-1 CMake/3.21.1 Boost/1.78.0 GSL/2.7 Python/3.9.6 SciPy-Stack/2021b GCCcore/.11.2.0 Autotools/20210726 git PyYAML/5.4.1
Loading

0 comments on commit 7ac3e9c

Please sign in to comment.