diff --git a/da/platform/cartesius.py b/da/platform/cartesius.py index 419e23c8451c1bba335ce86ae885f7baf69fe06a..c55340e9e38a15ffbc7630e13555835f707ae2fe 100755 --- a/da/platform/cartesius.py +++ b/da/platform/cartesius.py @@ -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]