Skip to content

Commit 4da546a

Browse files
author
Julian Kates-Harbeck
committed
updated modules for batch jobs
1 parent 4150d1d commit 4da546a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plasma/utils/batch_jobs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def create_slurm_script(subdir,num_nodes,idx,executable_name,use_mpi,env_name="f
4848
f.write(line)
4949
f.write('module load '+env_type+'\n')
5050
f.write('source activate '+env_name+'\n')
51-
f.write('module load cudatoolkit/8.0 cudnn/cuda-8.0/6.0 openmpi/cuda-8.0/intel-17.0/2.1.0/64 intel/17.0/64/17.0.4.196 intel-mkl/2017.3/4/64\n')
51+
f.write('module load cudatoolkit/8.0 cudnn/cuda-8.0/6.0 openmpi/cuda-8.0/intel-17.0/2.1.0/64\n')
52+
f.write('module load intel/17.0/64/17.0.5.239 intel-mkl/2017.3/4/64\n')
5253
# f.write('rm -f /tigress/{}/model_checkpoints/*.h5\n'.format(user))
5354
f.write('cd {}\n'.format(subdir))
5455
f.write('export OMPI_MCA_btl=\"tcp,self,sm\"\n')
@@ -82,7 +83,7 @@ def create_slurm_header(num_nodes,use_mpi,idx):
8283
assert(num_nodes == 1)
8384
lines = []
8485
lines.append('#!/bin/bash\n')
85-
lines.append('#SBATCH -t 01:00:00\n')
86+
lines.append('#SBATCH -t 06:00:00\n')
8687
lines.append('#SBATCH -N '+str(num_nodes)+'\n')
8788
if use_mpi:
8889
lines.append('#SBATCH --ntasks-per-node=4\n')

0 commit comments

Comments
 (0)