Skip to content

Commit

Permalink
avoid hang in grid submit
Browse files Browse the repository at this point in the history
`alien.py cp ...` is not returning (after the copy).... probably
related to a software-platform inconsistency (to be confirmed).

Avoid this hang meanwhile, until issue is fully understood.

Related to https://its.cern.ch/jira/browse/O2-4804
  • Loading branch information
sawenzel committed Apr 4, 2024
1 parent c62d52c commit 1a2d155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GRID/utils/grid_submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ export PATH=$PATH:$PWD
chmod +x ./alien_jobscript.sh
./alien_jobscript.sh

# just to be sure that we get the logs
cp alien_log_${ALIEN_PROC_ID:-0}.txt logtmp_${ALIEN_PROC_ID:-0}.txt
[ "${ALIEN_JOB_OUTPUTDIR}" ] && upload_to_Alien logtmp_${ALIEN_PROC_ID:-0}.txt ${ALIEN_JOB_OUTPUTDIR}/
# just to be sure that we get the logs (temporarily disabled since the copy seems to hang sometimes)
#cp alien_log_${ALIEN_PROC_ID:-0}.txt logtmp_${ALIEN_PROC_ID:-0}.txt
#[ "${ALIEN_JOB_OUTPUTDIR}" ] && upload_to_Alien logtmp_${ALIEN_PROC_ID:-0}.txt ${ALIEN_JOB_OUTPUTDIR}/

echo "Job done"

Expand Down

0 comments on commit 1a2d155

Please sign in to comment.