rbbt-util 5.26.115 → 5.26.116
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/hpc.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e3981775c0531bd71ddb841401d78b7e84f83c44579347b8da42bb71f9c3a67
|
4
|
+
data.tar.gz: 791d1a58540888c2a9a338d706f1188cc684a6b2bc50dce8fc4c38169de898f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44efa5d106893dee737ef79c17c0a655ff1fa63e924045d433fcc769f73fe5470bef22de23d50561559c97361716329429dbb26b8dce366c5cc875fa1dcc67fa
|
7
|
+
data.tar.gz: 7350980369fd646a5e9992d4683a15c7c944627f4aa5f5753b3691c21783fac6bcf76bf9021cc13192a92a0afeea0b06a7259917563e8fdb7df10411c0279d66
|
data/lib/rbbt/hpc.rb
CHANGED
@@ -304,18 +304,18 @@ EOF
|
|
304
304
|
if contain && (wipe_container == "post" || wipe_container == "both")
|
305
305
|
prep =<<-EOF + prep
|
306
306
|
if ls -A '#{contain}' &> /dev/null ; then
|
307
|
-
echo "ERROR: Container directory not empty, refusing to wipe. #{contain}"
|
307
|
+
echo "ERROR: Container directory not empty, refusing to wipe. #{contain}" &>> #{fsync}
|
308
308
|
fi
|
309
309
|
EOF
|
310
310
|
if singularity
|
311
311
|
coda +=<<-EOF
|
312
|
-
singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rbbt system clean -f &>> #{fsync}
|
313
312
|
singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -v /dev/shm/sem.*.{in,out,process} /dev/shm/sem.Session-PID.*.sem 2> /dev/null >> #{fsync}
|
314
313
|
if [ $exit_status == '0' -a $sync_es == '0' ]; then
|
314
|
+
singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rbbt system clean -f &>> #{fsync}
|
315
315
|
singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -Rfv .rbbt/var/jobs &>> #{fsync}
|
316
316
|
singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -Rfv tmp/ &>> #{fsync}
|
317
317
|
else
|
318
|
-
echo "
|
318
|
+
echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged" &>> #{fsync}
|
319
319
|
fi
|
320
320
|
EOF
|
321
321
|
else
|
@@ -324,7 +324,7 @@ EOF
|
|
324
324
|
if [ $exit_status == '0' -a $sync_es == '0' ]; then
|
325
325
|
rm -Rfv #{contain} &>> #{fsync}
|
326
326
|
else
|
327
|
-
echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged"
|
327
|
+
echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged" &>> #{fsync}
|
328
328
|
fi
|
329
329
|
unset sync_es
|
330
330
|
EOF
|