]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Consistency when libbatch is missing.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 15 Nov 2017 08:47:14 +0000 (09:47 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 15 Nov 2017 08:47:14 +0000 (09:47 +0100)
src/Launcher/Launcher.cxx

index 8814a57236acd0f1e59ae5037f9f74f149dd04eb..e08c6f283ca9138670077b404f3d4b30b4c68eed 100644 (file)
@@ -607,6 +607,14 @@ Launcher_cpp::getJobResults(int job_id, std::string directory)
                           "(libBatch was not present at compilation time)");
 }
 
+void
+Launcher_cpp::clearJobWorkingDir(int job_id)
+{
+  LAUNCHER_INFOS("Launcher compiled without LIBBATCH - cannot clear directory!!!");
+  throw LauncherException("Method Launcher_cpp::clearJobWorkingDir is not available "
+                          "(libBatch was not present at compilation time)");
+}
+
 bool
 Launcher_cpp::getJobDumpState(int job_id, std::string directory)
 {