Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit c17a7673 authored by HOURDIN Christophe's avatar HOURDIN Christophe
Browse files

arch irene auto detection

parent 57f1d4ee
......@@ -8,13 +8,13 @@
#-------------------------------------------------------------------------------
# IRENE / IRENE-AMD / JEANZAY
# If IRENE , choose AMD_Rome or Intel_SkilakeMD or Intel Processor
export NODE='' # for IRENE (core Intel_Skylake)
#export NODE='-AMD' # for IRENE-AMD (core AMD_Rome)
if [ `hostname |cut -c 1-5` == "irene" ]; then
# export NODE=`/usr/bin/grep 'MSUB' IRENE.header | /usr/bin/grep '\-q' | awk -v var=2 -F"-q" '{print $var}'`
export COMPUTER="IRENE${NODE}"
# if IRENE , choose AMD-Rome or Intel-Skylake processors
if [ "`cat /proc/cpuinfo | grep 'model name' | uniq | grep 'Intel'`" == "" ] ; then
export COMPUTER="IRENE-AMD"
else
export COMPUTER="IRENE"
fi
export QSUB="ccc_msub"
elif [ `hostname |cut -c 1-8` == "jean-zay" ]; then
export QSUB="sbatch"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment