Skip to content

Commit

Permalink
adding clinfo check to glidein
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud User committed Sep 27, 2022
1 parent 53e2c10 commit e2d89a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyglidein/glidein_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,17 @@ if [ "$CVMFS" = "false" ]; then
exit 1
fi


if [ $GPUS != 0 ]; then
if /cvmfs/icecube.opensciencegrid.org/distrib/OpenCL_Linux/bin/x86_64/clinfo ; then
/cvmfs/icecube.opensciencegrid.org/distrib/OpenCL_Linux/bin/x86_64/clinfo
echo "clinfo okay"
else
echo "clinfo failed"
exit 1
fi
fi

export campus_factory_dir=$PWD

export CONDOR_CONFIG=$PWD/glidein_condor_config
Expand Down

0 comments on commit e2d89a2

Please sign in to comment.