Commit 297d143f authored by snuverink_j's avatar snuverink_j
Browse files

no more SGE batch systems remain

parent e4ad8f3d
"""
Simulation class handles sge job related things
Simulation class handles batch job related things
@author: Andreas Adelmann <andreas.adelmann@psi.ch>
@author: Yves Ineichen <yves.ineichen@psi.ch>
......@@ -192,10 +192,7 @@ class Simulation:
else:
qid = ""
if batchsys == 'SGE':
qid = commands.getoutput('qsub -V -q ' + queue + ' -pe openmpi '+str(CORES)+' run.sge | awk \'{print $3}\' ')
print 'Done with setup of the OPAL simulation and submitting the job to ',queue, 'with ',CORES,'cores \n\n\n'
elif batchsys == 'SLURM':
if batchsys == 'SLURM':
qid = commands.getoutput('sbatch ' + runfile + ' | awk \'{print $3}\' ')
print 'Done with setup of the OPAL simulation and submitting the job with ', CORES, ' cores \n\n\n'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment