Skip to content

Commit

Permalink
add a barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed Feb 5, 2025
1 parent e410e27 commit 34f2ca3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci/cscs-daint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,15 @@ build sirius eiger:
- |
if [ $SLURM_LOCALID -eq 0 ]; then
tar xf ./builddir.tar -C /
touch /dev/shm/unpack_done
fi
- |
# wait for tar unpack
sleep 5
stagedir=$(find /dev/shm -type d -name spack-stage-sirius-*)
while [ ! -f /dev/shm/unpack_done ]; do
sleep 0.2
done
STAGEDIR=$(find /dev/shm -type d -name spack-stage-sirius-*)
cd $stagedir/spack-build-*
if [ "$SLURM_PROCID" == "0" ]; then
$TEST_COMMAND -V
Expand Down

0 comments on commit 34f2ca3

Please sign in to comment.