Skip to content

Commit

Permalink
Split prefetcher for swan (recent LCG with py3) and swan-cern
Browse files Browse the repository at this point in the history
  • Loading branch information
ebocchi authored and rccern committed Mar 7, 2022
1 parent 7fb1015 commit 7cc0a0d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
24 changes: 24 additions & 0 deletions swan-cern/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@ swan:
deployDaemonSet: &cvmfsDeployDS true
deployCsiDriver: &cvmfsDeployCSI false
useCsiDriver: &cvmfsUseCSI false
prefetcher:
enabled: true
jobs:
cron_opennotebook_python2_ipy:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_99python2/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m ipykernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python2_root:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_99python2/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m JupyROOT.kernel.rootkernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3_root:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_101swan/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m JupyROOT.kernel.rootkernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3nx_ipy:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_95apython3_nxcals/x86_64-centos7-gcc7-opt/setup.sh && ( timeout 20s python -m ipykernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3nx_spark:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_100_nxcals/x86_64-centos7-gcc9-opt/setup.sh && ( timeout 20s python -c 'import pyspark' > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_cuda_tensorflow:
command: "(lsmod | grep nvidia) && source /cvmfs/sft.cern.ch/lcg/views/LCG_101cuda/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 60s python -c 'import tensorflow' > /dev/null 2>&1 || true )"
minute: '5,20,35,50'
cron_opennoteook_cuda_torch:
command: "(lsmod | grep nvidia) && source /cvmfs/sft.cern.ch/lcg/views/LCG_101cuda/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 60s python -c 'import torch' > /dev/null 2>&1 || true )"
minute: '10,25,40,55'
eos:
deployDaemonSet: &eosDeployDS false
deployCsiDriver: &eosDeployCSI true
Expand Down
21 changes: 0 additions & 21 deletions swan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,30 +33,9 @@ cvmfs:
prefetcher:
enabled: true
jobs:
cron_opennotebook_python2_ipy:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_99python2/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m ipykernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python2_root:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_99python2/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m JupyROOT.kernel.rootkernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3_ipy:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_101swan/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m ipykernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3_root:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_101swan/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 20s python -m JupyROOT.kernel.rootkernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3nx_ipy:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_95apython3_nxcals/x86_64-centos7-gcc7-opt/setup.sh && ( timeout 20s python -m ipykernel > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_python3nx_spark:
command: "source /cvmfs/sft.cern.ch/lcg/views/LCG_100_nxcals/x86_64-centos7-gcc9-opt/setup.sh && ( timeout 20s python -c 'import pyspark' > /dev/null 2>&1 || true )"
minute: '*/15'
cron_opennotebook_cuda_tensorflow:
command: "(lsmod | grep nvidia) && source /cvmfs/sft.cern.ch/lcg/views/LCG_101cuda/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 60s python -c 'import tensorflow' > /dev/null 2>&1 || true )"
minute: '5,20,35,50'
cron_opennoteook_cuda_torch:
command: "(lsmod | grep nvidia) && source /cvmfs/sft.cern.ch/lcg/views/LCG_101cuda/x86_64-centos7-gcc8-opt/setup.sh && ( timeout 60s python -c 'import torch' > /dev/null 2>&1 || true )"
minute: '10,25,40,55'

#
# EOS access
Expand Down

0 comments on commit 7cc0a0d

Please sign in to comment.