File size: 343 Bytes
ce190ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#SBATCH --partition={partition}
#SBATCH --cpus-per-task={cpus}
#SBATCH --mem={mem}
#SBATCH --gres={gres}
#SBATCH --output={output}

module purge

{modules}

{conda}

export PYTHONUNBUFFERED=1

cd {codeloc}

echo "Currently using:"
echo $(which python)
echo "in:"
echo $(pwd)
echo "sbatch file: $0"

python resume.py --path {resume}