Skip to content

Commit 51811f4

Browse files
committed
jobutils: Remove exception list from previous commands
1 parent f9f3798 commit 51811f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

GPU/GPUTracking/Base/cuda/GPUReconstructionCUDArtc.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#define GPUCA_DETERMINISTIC_CODE(...) GPUCA_DETERMINISTIC_CODE(__VA_ARGS__)
2121
#define GPUCA_RTC_CONSTEXPR GPUCA_RTC_CONSTEXPR
2222

23-
// GPUReconstructionCUDAIncludesSystem.h prependended by CMakewithout preprocessor running
23+
// GPUReconstructionCUDAIncludesSystem.h prependended by CMake without preprocessor running
2424
#include "GPUReconstructionCUDADef.h"
2525
#include "GPUReconstructionIncludesDeviceAll.h"
2626

Utilities/Tools/jobutils.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ taskwrapper() {
107107

108108
STARTTIME=$SECONDS
109109

110+
rm -f encountered_exceptions_list_${logfile}
110111
# launch the actual command in the background
111112
echo "Launching task: ${command} &> $logfile &"
112113
# the command might be a complex block: For the timing measurement below
@@ -191,10 +192,10 @@ taskwrapper() {
191192

192193
exclude_pattern="-e \"To change the tolerance or the exception severity\""
193194

194-
grepcommand="grep -a -H ${pattern} $logfile ${JOBUTILS_JOB_SUPERVISEDFILES} | grep -a -v ${exclude_pattern} >> encountered_exceptions_list 2>/dev/null"
195+
grepcommand="grep -a -H ${pattern} $logfile ${JOBUTILS_JOB_SUPERVISEDFILES} | grep -a -v ${exclude_pattern} >> encountered_exceptions_list_${logfile} 2>/dev/null"
195196
eval ${grepcommand}
196197

197-
grepcommand="cat encountered_exceptions_list 2>/dev/null | wc -l"
198+
grepcommand="cat encountered_exceptions_list_${logfile} 2>/dev/null | wc -l"
198199
# using eval here since otherwise the pattern is translated to a
199200
# a weirdly quoted stringlist
200201
RC=$(eval ${grepcommand})

0 commit comments

Comments
 (0)