Skip to content
Snippets Groups Projects

Move SafePopen to its own submodule

Merged Frits Sweijen requested to merge move_safepopen into master
Files
2
@@ -17,8 +17,6 @@ import tempfile
from GRID_LRT.auth.get_picas_credentials import picas_cred as pc
import GRID_LRT
from GRID_LRT.auth import grid_credentials
from subprocess import Popen
from GRID_LRT.safepopen import SafePopen
#class job_launcher(object):
@@ -302,6 +300,7 @@ class LouiLauncher(JdlLauncher):
def __exit__(self, exc_type, exc_value, traceback):
return None
class SpiderLauncher(JdlLauncher):
""" Grants users the power of a SPIDER. The SpiderLauncher creates a launch file to be passed to Slurm. It is made for the SPIDER platform offered by Surf and has some (possibly) specific options for that.
@@ -384,7 +383,7 @@ echo Created job directory $JOBDIR
cd $JOBDIR
{launcher:s} {db:s} {usr:s} {pw:s} {tt:s}
"""
slurmfile = slurmfile.format(ncpu=int(self.ncpu),
slurmfile = slurmfile.format(ncpu=int(self.ncpu),
queue=str(self.queue),
njobs=self.numjobs,
concurrent=self.parameter_step,
Loading