Skip to content
Snippets Groups Projects
Commit 5d982199 authored by Rui Wang's avatar Rui Wang
Browse files

Add new file

parent 7ca829ae
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
`which nvidia-smi`
nvidia-smi
if [ $(env | grep "SHIFTER_RUNTIME") == 'SHIFTER_RUNTIME=1' ]
then echo "Running in container"
else
echo "Error not in container...Exit..."
# exit
fi
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase;
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh;
# asetup Athena,master,latest
# source /cvmfs/sft.cern.ch/lcg/releases/LCG_101/tensorflow/2.5.0/x86_64-centos7-gcc11-opt/tensorflow-env.sh
#lsetup "lcgenv -p LCG_101 x86_64-centos7-gcc11-opt tensorflow"
#lsetup "lcgenv -p LCG_101_ATLAS_4 x86_64-centos7-gcc11-opt cuda"
# lsetup "lcgenv -p LCG_101_ATLAS_4 x86_64-centos7-gcc11-opt cudnn"
lsetup "views LCG_102b_cuda x86_64-centos7-gcc8-opt" prmon
echo $LD_LIBRARY_PATH
# prmon -i 1 -- python3 testtf.py
which python
source <path of the venv>/bin/activate
exeStat=$?
# exit $exeStat
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment