Salome HOME
Compilation without libBatch.
authorouv <ouv@opencascade.com>
Thu, 4 Apr 2013 07:27:49 +0000 (07:27 +0000)
committerouv <ouv@opencascade.com>
Thu, 4 Apr 2013 07:27:49 +0000 (07:27 +0000)
src/Launcher/Launcher.cxx

index d42b3a3ba42e44fb457ef851d8a200fbabb4453e..8471b2265615a38f3bfab27aae4bcfbf77875648 100644 (file)
@@ -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)
 {