File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
22# ############# This section states the requirements the job requires:
33# SBATCH --job-name=re2015p
44# SBATCH --time 15:00
88# SBATCH -o logs/log.out
99# ############# Here starts the actual UNIX commands and payload:
1010
11- module purge
12- module load anaconda
13-
14- srun python plot.py
11+ exec guix time-machine -C channels.scm -- \
12+ shell -m manifest.scm --pure -- \
13+ srun python plot.py
1514
1615# Make sure to edit according to your needs, especially:
1716# - Working directory (under a "SBATCH" line)
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
22# ############# This section states the requirements the job requires:
33# SBATCH --job-name=rec2015
44# SBATCH --time 3:00:00
55# SBATCH -c 1
66# SBATCH --mem=70000MB
77# SBATCH --ntasks=1
8- # SBATCH --array=0-9999
8+ # ## SBATCH --array=0-9999 # FIXME: not working with slurm@22.05
99# SBATCH -o logs/log.out
1010# ############# Here starts the actual UNIX commands and payload:
1111
12- module purge
13- module load anaconda
14-
15- srun python simulation.py $SLURM_ARRAY_TASK_ID
12+ exec guix time-machine -C channels.scm -- \
13+ shell -m manifest.scm --pure -- \
14+ srun python simulation.py $SLURM_ARRAY_TASK_ID
1615
1716# Make sure to edit according to your needs, especially:
1817# - Working directory (under a "SBATCH" line)
You can’t perform that action at this time.
0 commit comments