def_Constant(WCKEY);
def_Constant(EXTRAPARAMS);
def_Constant(PREPROCESS);
+ def_Constant(PARTITION);
+ def_Constant(NBNODE);
// Parameters for COORM
def_Constant(LAUNCHER_FILE);
decl_extern_Constant(WCKEY);
decl_extern_Constant(EXTRAPARAMS);
decl_extern_Constant(PREPROCESS);
+ decl_extern_Constant(PARTITION);
+ decl_extern_Constant(NBNODE);
// Parameters for COORM
decl_extern_Constant(LAUNCHER_FILE);
addParameter("WCKEY", STRING, 1);
addParameter("EXTRAPARAMS", STRING, 1);
addParameter("PREPROCESS", STRING, 1);
+ addParameter("PARTITION", STRING, 1);
+ addParameter("NBNODE", LONG, 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 --qos=" << params[QUEUE] << endl;
+ if (params.find(PARTITION) != params.end())
+ tempOutputFile << "#SBATCH --partition=" << params[PARTITION] << endl;
if (params.find(WCKEY) != params.end())
tempOutputFile << "#SBATCH --wckey=" << params[WCKEY] << endl;
+ if (params.find(NBNODE) != params.end())
+ tempOutputFile << "#SBATCH --nodes=" << params[NBNODE] << endl;
if (params.find(EXTRAPARAMS) != params.end())
tempOutputFile << params[EXTRAPARAMS] << endl;