Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsWinter committed Aug 5, 2024
1 parent 6ce4a3d commit 849be64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/example_slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --partition normal
#SBATCH --mem-per-cpu=2G
#SBATCH --time=0-10:00:00
#SBATCH --array=1-1000
#SBATCH --array=1-2

# add python
module load palma/2021a
Expand All @@ -16,4 +16,5 @@ module load Miniconda3
eval "$(conda shell.bash hook)"
conda activate cpm

python cpm_analysis.py --results_directory "./tmp/slurm" --data_directory "./simulated_data/" --config_file "./config.pkl" perm_run $SLURM_ARRAY_TASK_ID
export PYTHONPATH=$PYTHONPATH:/scratch/tmp/wintern/cpm/cpm_python
python ../cpm/cpm_analysis.py --results-directory "/scratch/tmp/wintern/cpm/results/" --data-directory "./simulated_data/" --config-file "./config.pkl" --perm-run $SLURM_ARRAY_TASK_ID

0 comments on commit 849be64

Please sign in to comment.