Salome HOME
projects
/
tools
/
libbatch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2020
[tools/libbatch.git]
/
src
/
Slurm
/
BatchManager_Slurm.cxx
diff --git
a/src/Slurm/BatchManager_Slurm.cxx
b/src/Slurm/BatchManager_Slurm.cxx
index a415da4b6d94539f0a9edb752aafe01df32d3d29..1c7f8d7bdb5537957a1fba259510bc8131de9952 100644
(file)
--- a/
src/Slurm/BatchManager_Slurm.cxx
+++ b/
src/Slurm/BatchManager_Slurm.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-236,7
+236,7
@@
namespace Batch {
// If "squeue" failed, the job may be finished. In this case, try to query the job with
// "sacct".
// If "squeue" failed, the job may be finished. In this case, try to query the job with
// "sacct".
- if (
not
found) {
+ if (
!
found) {
string subCommand = "sacct -X -o State%-10 -n -j " + jobid.getReference();
string command = _protocol.getExecCommand(subCommand, _hostname, _username);
LOG(command);
string subCommand = "sacct -X -o State%-10 -n -j " + jobid.getReference();
string command = _protocol.getExecCommand(subCommand, _hostname, _username);
LOG(command);