exportInputFiles(job);
// Launch job
+ // Patch until Local Manager is patched
+ std::string executable = param[EXECUTABLE].str();
+ std::string::size_type p1 = executable.find_last_of("/");
+ std::string fileNameToExecute = "./" + executable.substr(p1+1);
Parametre new_param(param);
- new_param[INFILE].eraseAll(); // Patch until Local Manager is patched
- new_param[OUTFILE].eraseAll(); // Patch until Local Manager is patched
+ new_param[INFILE].eraseAll();
+ new_param[OUTFILE].eraseAll();
+ new_param[EXECUTABLE] = fileNameToExecute;
Job * j = new Job(new_param);
+
+
std::cerr << "BatchManager_eSSH::submitJob Local submitJob" << std::endl;
JobId id = BatchManager_Local::submitJob(*j);
delete j;