diff --git a/configs/sites/tier2/barfoot/config.yaml b/configs/sites/tier2/barfoot/config.yaml new file mode 100644 index 000000000..77a2e80ad --- /dev/null +++ b/configs/sites/tier2/barfoot/config.yaml @@ -0,0 +1,2 @@ +config: + build_jobs: 2 diff --git a/configs/sites/tier2/barfoot/mirrors.yaml b/configs/sites/tier2/barfoot/mirrors.yaml new file mode 100644 index 000000000..003008939 --- /dev/null +++ b/configs/sites/tier2/barfoot/mirrors.yaml @@ -0,0 +1,3 @@ +mirrors: + local-source: file:///p/work/heinzell/spack-stack/source-cache + local-binary: file:///p/work/heinzell/spack-stack/build-cache diff --git a/configs/sites/tier2/barfoot/modules.yaml b/configs/sites/tier2/barfoot/modules.yaml new file mode 100644 index 000000000..e4c2e5300 --- /dev/null +++ b/configs/sites/tier2/barfoot/modules.yaml @@ -0,0 +1,4 @@ +modules: + default: + enable:: + - tcl diff --git a/configs/sites/tier2/barfoot/packages.yaml b/configs/sites/tier2/barfoot/packages.yaml new file mode 100644 index 000000000..1b538ecd7 --- /dev/null +++ b/configs/sites/tier2/barfoot/packages.yaml @@ -0,0 +1,115 @@ +packages: + # Modification of common packages + #cairo: + # # /usr/lib64/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_set_size' + # require: +X + #zlib-api: + # buildable: False + + # All other packages listed alphabetically + autoconf: + externals: + - spec: autoconf@2.69 + prefix: /usr + automake: + externals: + - spec: automake@1.15.1 + prefix: /usr + bash: + externals: + - spec: bash@4.4.23 + prefix: /usr + binutils: + externals: + - spec: binutils@2.45.0~gold+headers + prefix: /usr + bison: + externals: + - spec: bison@3.0.4 + prefix: /usr + cmake: + externals: + - spec: cmake@3.28.3 + prefix: /usr + coreutils: + externals: + - spec: coreutils@8.32 + prefix: /usr + diffutils: + externals: + - spec: diffutils@3.6 + prefix: /usr + findutils: + externals: + - spec: findutils@4.10.0 + prefix: /usr + flex: + externals: + - spec: flex@2.6.4+lex + prefix: /usr + gawk: + externals: + - spec: gawk@4.2.1 + prefix: /usr + gettext: + externals: + - spec: gettext@0.21.1 + prefix: /usr + git: + buildable: False + externals: + - spec: git@2.51.0+tcltk + prefix: /usr + gmake: + externals: + - spec: gmake@4.2.1 + prefix: /usr + grep: + externals: + - spec: grep@3.11 + prefix: /usr + groff: + externals: + - spec: groff@1.22.4 + prefix: /usr + libtool: + externals: + - spec: libtool@2.4.6 + prefix: /usr + m4: + externals: + - spec: m4@1.4.18 + prefix: /usr + openssh: + externals: + - spec: openssh@9.6p1 + prefix: /usr + perl: + externals: + - spec: perl@5.26.1~cpanm+opcode+open+shared+threads + prefix: /usr + pkg-config: + externals: + - spec: pkg-config@0.29.2 + prefix: /usr + sed: + externals: + - spec: sed@4.9 + prefix: /usr + subversion: + externals: + - spec: subversion@1.14.1 + prefix: /usr + tar: + externals: + - spec: tar@1.34 + prefix: /usr + wget: + externals: + - spec: wget@1.24.5 + prefix: /usr + zlib: + buildable: False + externals: + - spec: zlib@1.2.13 + prefix: /usr diff --git a/configs/sites/tier2/barfoot/packages_gcc-14.3.0.yaml b/configs/sites/tier2/barfoot/packages_gcc-14.3.0.yaml new file mode 100644 index 000000000..671f7b01c --- /dev/null +++ b/configs/sites/tier2/barfoot/packages_gcc-14.3.0.yaml @@ -0,0 +1,37 @@ +packages: + all: + require: + - any_of: ['%gcc@=14.3.0'] + when: '%gcc' + mpi: + buildable: false + require: + - cray-mpich@9.1.0 + gcc: + buildable: false + externals: + - spec: gcc@14.3.0 languages:='c,c++,fortran' + prefix: /opt/cray/pe/gcc-native/14 + modules: + - PrgEnv-gnu/8.7.0 + - gcc-native/14 + extra_attributes: + compilers: + c: /opt/cray/pe/gcc-native/14/bin/gcc + cxx: /opt/cray/pe/gcc-native/14/bin/g++ + fortran: /opt/cray/pe/gcc-native/14/bin/gfortran + environment: + set: + CONFIG_SITE: '' + PE_GCC_EXTERNAL: native + cray-mpich: + buildable: false + externals: + - spec: cray-mpich@9.1.0 + prefix: /opt/cray/pe/mpich/9.1.0/ofi/gnu/12.3 + modules: + - cray-mpich/9.1.0 + #extra_attributes: + # environment: + # prepend_path: + # CMAKE_PREFIX_PATH: /p/app/projects/NEPTUNE/spack-stack/cmake-findmpi diff --git a/configs/sites/tier2/barfoot/packages_oneapi-2025.2.1.yaml b/configs/sites/tier2/barfoot/packages_oneapi-2025.2.1.yaml new file mode 100644 index 000000000..bb549a131 --- /dev/null +++ b/configs/sites/tier2/barfoot/packages_oneapi-2025.2.1.yaml @@ -0,0 +1,60 @@ +packages: + all: + require: + - any_of: ['%intel-oneapi-compilers@=2025.2.1'] + when: '%intel-oneapi-compilers' + - any_of: ['%gcc@=14.3.0'] + when: '%gcc' + mpi: + buildable: false + require: + - cray-mpich@9.1.0 + intel-oneapi-compilers: + buildable: false + externals: + - spec: intel-oneapi-compilers@2025.2.1 +fix_rt_linkage + prefix: /p/app/intel/oneapi_2025.2.1 + modules: + - PrgEnv-intel/8.7.0 + - intel/2025.2 + extra_attributes: + compilers: + c: /p/app/intel/oneapi_2025.2.1/compiler/2025.2/bin/icx + cxx: /p/app/intel/oneapi_2025.2.1/compiler/2025.2/bin/icpx + fortran: /p/app/intel/oneapi_2025.2.1/compiler/2025.2/bin/ifx + environment: + set: + CONFIG_SITE: '' + gcc: + buildable: false + externals: + - spec: gcc@14.3.0 languages:='c,c++' + prefix: /opt/cray/pe/gcc-native/14 + modules: + - PrgEnv-gnu/8.7.0 + - gcc-native/14 + extra_attributes: + compilers: + c: /opt/cray/pe/gcc-native/14/bin/gcc + cxx: /opt/cray/pe/gcc-native/14/bin/g++ + fortran: /opt/cray/pe/gcc-native/14/bin/gfortran + environment: + set: + CONFIG_SITE: '' + PE_GCC_EXTERNAL: native + cray-mpich: + buildable: false + externals: + - spec: cray-mpich@9.1.0 + prefix: /opt/cray/pe/mpich/9.1.0/ofi/intel/2022.1 + modules: + - cray-mpich/9.1.0 + #extra_attributes: + # environment: + # prepend_path: + # CMAKE_PREFIX_PATH: /p/app/projects/NEPTUNE/spack-stack/cmake-findmpi + intel-oneapi-mkl: + buildable: false + externals: + - spec: intel-oneapi-mkl@2025.2 + prefix: /p/app/intel/oneapi_2025.2.1 diff --git a/configs/sites/tier2/barfoot/setup.sh b/configs/sites/tier2/barfoot/setup.sh new file mode 100644 index 000000000..3960ffa52 --- /dev/null +++ b/configs/sites/tier2/barfoot/setup.sh @@ -0,0 +1,8 @@ +module purge +umask 0022 + +export CARGO_HTTP_MULTIPLEXING=false +export CARGO_HTTP_TIMEOUT=600 +export CARGO_HTTP_LOW_SPEED_LIMIT=1 +export CARGO_HTTP_LOW_SPEED_TIMEOUT=600 +export CARGO_NET_RETRY=10 diff --git a/setup.sh b/setup.sh index 52b6c350b..3db970afc 100755 --- a/setup.sh +++ b/setup.sh @@ -10,6 +10,9 @@ case $hostname in *atlantis*) . ${SPACK_STACK_DIR}/configs/sites/tier1/atlantis/setup.sh ;; + *barfoot*) + . ${SPACK_STACK_DIR}/configs/sites/tier2/barfoot/setup.sh + ;; *blueback*) . ${SPACK_STACK_DIR}/configs/sites/tier1/blueback/setup.sh ;;