Skip to content
Snippets Groups Projects
Commit 34ae25b6 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

rolled back adding of flag

parent fb908204
Branches
No related tags found
No related merge requests found
......@@ -83,11 +83,11 @@ class CartesiusPlatform(Platform):
"""## This is a set of dummy names, to be replaced by values from the dictionary \n""" + \
"""## Please make your own platform specific template with your own keys and place it in a subfolder of the da package.\n """ + \
"""## \n""" + \
"""#$ -J jobname \n""" + \
"""#$ -p normal \n""" + \
"""#$ -n jobnodes \n""" + \
"""#$ -t jobtime \n""" + \
"""#$ -o joblog \n""" + \
"""#SBATCH -J jobname \n""" + \
"""#SBATCH -p normal \n""" + \
"""#SBATCH -n jobnodes \n""" + \
"""#SBATCH -t jobtime \n""" + \
"""#SBATCH -o joblog \n""" + \
"""module load python\n""" + \
"""\n"""
......@@ -124,7 +124,7 @@ class CartesiusPlatform(Platform):
print 'jobid', jobid
else:
cmd = ["sbatch", jobfile]
logging.info("A new task will be started (%s)" % cmd)
logging.info("A new job will be submitted (%s)" % cmd)
output = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0] ; logging.info(output)
jobid = output.split()[-1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment