tempOutputFile << "#SBATCH --error=" << workDir << "/logs/error.log." << rootNameToExecute << endl;
if (params.find(NAME) != params.end())
- tempOutputFile << "#SBATCH --job-name=" << params[NAME] << endl;
+ tempOutputFile << "#SBATCH --job-name=\"" << params[NAME] << "\"" << endl;
// Optional parameters
int nbproc = 1;
// ... and its parameters ...
Parametre p;
p[EXECUTABLE] = "./test-script.sh";
- p[NAME] = string("Test_eSlurm_") + argv[1];
+ p[NAME] = string("Test eSLURM ") + argv[1];
p[WORKDIR] = homedir + "/tmp/Batch";
p[INFILE] = Couple("seta.sh", "tmp/Batch/seta.sh");
p[INFILE] += Couple("setb.sh", "tmp/Batch/setb.sh");