Skip to content

Commit d1d08e6

Browse files
author
hluo
committed
previous problem solved by : "#SBATCH --mem=8000\n"
1 parent 9df4438 commit d1d08e6

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

python_submit/python_submit.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ def tryJob(jobPrefix, someIndex, queue):
2626
sf.write("#SBATCH [email protected]\n\n")
2727

2828
sf.write("#SBATCH --partition=mononode\n")
29-
sf.write("#SBATCH --mem-per-cpu=4000\n")
29+
sf.write("#SBATCH --mem=8000\n")
3030
sf.write("#SBATCH --nodes=1\n")
31-
sf.write("#SBATCH --ntasks-per-node=1\n")
32-
sf.write("##SBATCH --exclusive\n")
31+
sf.write("#SBATCH --ntasks=1\n")
3332
sf.write("#SBATCH --cpus-per-task=1\n")
34-
sf.write("#SBATCH -t 01:00:00\n\n") # min is the smallest unit here
33+
sf.write("##SBATCH --exclusive\n")
34+
sf.write("#SBATCH --time=01:00:00\n\n") # min is the smallest unit here
3535

3636
sf.write("module purge\n")
3737
sf.write("module load OpenMPI/1.6.5-GCC-4.8.3 \n")
@@ -51,7 +51,8 @@ def main():
5151
import time
5252
jobNamePrefix = sys.argv[1]
5353
queue = sys.argv[2]
54-
sliceList = [2,3,4,5,6,7,8,9,10,11,12,16,24,32,40,48,56,64,72,73,74,75]
54+
# sliceList = [2,3,4,5,6,7,8,9,10,11,12,16,24,32,40,48,56,64,72,73,74,75]
55+
sliceList = [9,10,11,12,16,24,32,40,48,56,64,72,73,74,75]
5556
# sliceList = [0, 1]
5657
jobList =[]
5758
for slicei in sliceList:
@@ -63,4 +64,4 @@ def main():
6364
jobListFile.write('%s\n' % jobID)
6465
jobListFile.close()
6566

66-
main()
67+
main()

0 commit comments

Comments
 (0)