def_Constant(WORKDIR);
def_Constant(EXCLUSIVE);
def_Constant(MEMPERCPU);
+ def_Constant(WCKEY);
// Parameters for COORM
def_Constant(LAUNCHER_FILE);
decl_extern_Constant(WORKDIR);
decl_extern_Constant(EXCLUSIVE);
decl_extern_Constant(MEMPERCPU);
+ decl_extern_Constant(WCKEY);
// Parameters for COORM
decl_extern_Constant(LAUNCHER_FILE);
addParameter("WORKDIR", STRING, 1);
addParameter("EXCLUSIVE", BOOL, 1);
addParameter("MEMPERCPU", LONG, 1);
+ addParameter("WCKEY", STRING, 1);
// Parameters for COORM
addParameter("LAUNCHER_FILE", STRING, 1);
tempOutputFile << "#SBATCH --mem-per-cpu=" << params[MEMPERCPU] << endl;
if (params.find(QUEUE) != params.end())
tempOutputFile << "#SBATCH --partition=" << params[QUEUE] << endl;
+ if (params.find(WCKEY) != params.end())
+ tempOutputFile << "#SBATCH --wckey=" << params[WCKEY] << endl;
// Define environment for the job
Environnement env = job.getEnvironnement();