Skip to content

Commit f2a65e1

Browse files
committed
be verbose about checkpoint action; higher ttl by default
1 parent 76976c6 commit f2a65e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GRID/utils/grid_submit.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ checkpoint_hook_ttlbased() {
133133
# do calculation with AWK
134134
CHECKPOINT=$(awk -v S="${SECONDS}" -v T="${JOBTTL}" '//{} END{if(S/T>0.8){print "OK"}}' < /dev/null);
135135
if [ "$CHECKPOINT" = "OK" ]; then
136+
echo "**** TTL CLOSE - CHECKPOINTING *****"
136137
# upload
137138
text="CHECKPOINTING NOW"
138139
# resubmit
@@ -178,7 +179,7 @@ if [[ $ALIEN_PROC_ID ]]; then
178179
exec &> >(tee -a alien_log_${ALIEN_PROC_ID}.txt)
179180
fi
180181

181-
JOBTTL=600
182+
JOBTTL=82000
182183
# this tells us to continue an existing job --> in this case we don't create a new workdir
183184
while [ $# -gt 0 ] ; do
184185
case $1 in

0 commit comments

Comments
 (0)