From: ouv Date: Thu, 4 Apr 2013 07:27:49 +0000 (+0000) Subject: Compilation without libBatch. X-Git-Tag: V7_2_0rc1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=097a334e0c1f59c0fae9536d14b6a823fc2b2137;p=modules%2Fkernel.git Compilation without libBatch. --- diff --git a/src/Launcher/Launcher.cxx b/src/Launcher/Launcher.cxx index d42b3a3ba..8471b2265 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -515,6 +515,14 @@ Launcher_cpp::getJobState(int job_id) "(libBatch was not present at compilation time)"); } +const char * +Launcher_cpp::getAssignedHostnames(int job_id) +{ + LAUNCHER_INFOS("Launcher compiled without LIBBATCH - cannot get job assigned hostnames!!!"); + throw LauncherException("Method Launcher_cpp::getAssignedHostnames is not available " + "(libBatch was not present at compilation time)"); +} + void Launcher_cpp::getJobResults(int job_id, std::string directory) {