]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
[EDF30235] : Update of PBS parametrization emc2p/BR_V2_1_0 master emc2p_2.1.0-rc1
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 23 May 2024 11:24:18 +0000 (13:24 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 28 May 2024 05:29:56 +0000 (07:29 +0200)
src/PBS/BatchManager_PBS.cxx
src/PBS/JobInfo_PBS.cxx

index 7f193ee5ba7df4510b83fdb91a878f6c6a13dbbf..88c1b24892527a2e978a532526ce2972b1bfd81b 100644 (file)
@@ -114,7 +114,7 @@ namespace Batch {
     iss >> id;
 
     // define command to query batch
-    string subCommand = string("qstat -f ") + iss.str();
+    string subCommand = string("qstat -f -x ") + iss.str();
     string command = _protocol.getExecCommand(subCommand, _hostname, _username);
     LOG(command);
 
index 309e7da76c87615fe711286002027dc0ed5859e2..f06753c985c6bfc0c80271ad6317896a68813e29 100644 (file)
@@ -64,7 +64,7 @@ namespace Batch {
       iss >> status;
       iss >> status;
 
-      if (status == "C") {        // Completed
+      if (status == "F") {        // Completed
         _param[STATE] = FINISHED;
       } else if (status == "E") { // Exiting
         _param[STATE] = RUNNING;