├── .gitignore ├── docker-recipes ├── runner │ ├── .gitignore │ ├── _archived │ │ ├── centos7-builder-arm64-gcc-10.2.1-glibc2.17-libcrypt1 │ │ │ ├── spack.yaml.2 │ │ │ ├── CentOS-SCL.repo │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ ├── CentOS-Base.repo │ │ │ └── Dockerfile │ │ ├── centos7-builder-amd64-gcc-10.2.1-glibc2.17-libcrypt1 │ │ │ ├── CentOS-SCL.repo │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ ├── CentOS-Base.repo │ │ │ └── Dockerfile │ │ ├── rhel8-aarch64 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── rhel8-ppc64le │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── rhel8-x86_64 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── ubuntu18.04-x86_64 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu18.04-ppc64le │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-aarch64 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-ppc64le │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-x86_64 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── ubuntu20.04-amd64-clang-16 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-x86_64-gcc-11.2 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-x86_64-gcc11-oneapi │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-arm64-gcc-11.4-spack │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-x86_64-gcc-11.4-spack │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── manylinux2014-amd64 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── centos7-amd64-manylinux2014-gcc-10.2.1 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── ubuntu20.04-amd64-gcc-11.4-rocm5.4.3 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm5.7.1 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.0.2 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.1.1 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.2.0 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.2.1 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.2.4 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.3.0 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.3.1 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.3.2 │ │ │ ├── build.sh │ │ │ └── Dockerfile │ │ ├── alinux2-arm64-gcc-10.5 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── alinux2023-arm64-gcc-11.4 │ │ │ ├── build.sh │ │ │ ├── spack.yaml │ │ │ └── Dockerfile │ │ ├── ubuntu20.04-amd64-gcc-11.4 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-amd64-gcc-12.3 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-arm64-gcc-12.3 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-arm64-gcc-11.4 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-ppc64-gcc-12.3 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-arm64-gcc-11.4 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-ppc64-gcc-11.4 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu24.04-amd64-gcc-13.2 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu20.04-amd64-oneapi-2023.2.1 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-amd64-oneapi-2023.2.1 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-amd64-oneapi-2024.0.0 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-amd64-oneapi-2024.0.1 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-amd64-oneapi-2024.1.0 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-amd64-oneapi-2024.2.0 │ │ │ ├── build.sh │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-amd64-gcc-11.4 │ │ │ ├── spack.yaml │ │ │ └── build.sh │ │ ├── ubuntu22.04-amd64-oneapi-2025.0.0 │ │ │ ├── spack.yaml │ │ │ └── build.sh │ │ └── ubuntu22.04-amd64-oneapi-2025.1.0 │ │ │ ├── spack.yaml │ │ │ └── build.sh │ ├── ubuntu24.04-amd64-gcc-13.3 │ │ ├── assets │ │ │ ├── secrets.env.tpl │ │ │ ├── utilities.sh │ │ │ ├── spack.tools.yaml │ │ │ ├── setup-bashrc.sh │ │ │ ├── 0001-python-add-v3.12.11.patch │ │ │ ├── build-and-install-tools.sh │ │ │ └── build-and-install-python.sh │ │ ├── start-build.sh │ │ └── build.sh │ ├── ubuntu24.04-arm64-gcc-13.3 │ │ ├── assets │ │ │ ├── secrets.env.tpl │ │ │ ├── utilities.sh │ │ │ ├── spack.tools.yaml │ │ │ ├── setup-bashrc.sh │ │ │ ├── 0001-python-add-v3.12.11.patch │ │ │ ├── build-and-install-tools.sh │ │ │ └── build-and-install-python.sh │ │ ├── start-build.sh │ │ └── build.sh │ ├── ubuntu22.04-amd64-gcc-11.4-rocm6.3.3 │ │ ├── build.sh │ │ └── Dockerfile │ └── ubuntu20.04-ppc64-gcc-11.4 │ │ ├── spack.yaml │ │ └── build.sh ├── archived │ ├── special │ │ └── superlu-sc │ │ │ ├── build.sh │ │ │ ├── strumpack-run-py.sh │ │ │ ├── sc19-build-all.sh │ │ │ ├── PETSc_example │ │ │ ├── petsc-config.sh │ │ │ └── Makefile │ │ │ ├── butterflypack-build.sh │ │ │ ├── superlu-dist-build.sh │ │ │ ├── strumpack-build.sh │ │ │ ├── spack.yaml │ │ │ ├── sc19-walkthrough.sh │ │ │ └── Dockerfile │ ├── minimal │ │ ├── ubuntu22.04-aarch64 │ │ │ ├── build.sh │ │ │ ├── Dockerfile │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-ppc64le │ │ │ ├── build.sh │ │ │ ├── Dockerfile │ │ │ └── spack.yaml │ │ ├── ubuntu22.04-x86_64 │ │ │ ├── build.sh │ │ │ ├── Dockerfile │ │ │ └── spack.yaml │ │ ├── rhel8-aarch64 │ │ │ ├── build.sh │ │ │ ├── Dockerfile │ │ │ └── spack.yaml │ │ ├── rhel8-ppc64le │ │ │ ├── build.sh │ │ │ ├── Dockerfile │ │ │ └── spack.yaml │ │ └── rhel8-x86_64 │ │ │ ├── build.sh │ │ │ ├── Dockerfile │ │ │ └── spack.yaml │ ├── rhel7-runner-ppc64le │ │ ├── spack.yaml │ │ ├── build.sh │ │ └── Dockerfile │ ├── rhel7-runner-x86_64 │ │ ├── spack.yaml │ │ ├── build.sh │ │ └── Dockerfile │ ├── ubuntu21.04-runner-ppc64le │ │ ├── build.sh │ │ └── Dockerfile │ ├── ubuntu21.04-runner-x86_64 │ │ ├── build.sh │ │ └── Dockerfile │ └── spack-minimal │ │ ├── ubuntu18.04-spack-x86_64 │ │ ├── build.sh │ │ └── Dockerfile │ │ ├── ubuntu20.04-spack-x86_64 │ │ ├── build.sh │ │ └── Dockerfile │ │ ├── ubuntu18.04-spack-ppc64le │ │ ├── build.sh │ │ └── Dockerfile │ │ └── ubuntu20.04-spack-ppc64le │ │ ├── build.sh │ │ └── Dockerfile └── minimal │ ├── ubuntu20.04-x86_64 │ ├── build.sh │ ├── compilers.yaml │ ├── packages.yaml │ ├── modules.yaml │ ├── Dockerfile │ └── spack.yaml │ ├── ubuntu20.04-aarch64 │ ├── build.sh │ ├── compilers.yaml │ ├── packages.yaml │ ├── modules.yaml │ ├── Dockerfile │ └── spack.yaml │ └── ubuntu20.04-ppc64le │ ├── build.sh │ ├── compilers.yaml │ ├── packages.yaml │ ├── modules.yaml │ ├── Dockerfile │ └── spack.yaml ├── figures └── SDKdefinition1.png ├── tools └── SpackInstallParser.sh ├── spack-sdk-environments ├── compilers_and_support │ ├── README.md │ └── spack.yaml ├── tools_and_technology │ ├── README.md │ └── spack.yaml ├── visualization_analysis_reduction │ ├── README.md │ └── spack.yaml ├── xsdk │ ├── README.md │ └── spack.yaml ├── pmr_core │ ├── README.md │ └── spack.yaml ├── e4s_ecosystem │ ├── README.md │ └── spack.yaml ├── data-mgmt_io-services_checkpoint-restart │ ├── README.md │ └── spack.yaml └── full_stack │ └── docker.howto.txt ├── README.md └── guides └── upstream-spack.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | docker-context* 3 | nohup.out 4 | -------------------------------------------------------------------------------- /docker-recipes/runner/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.env 2 | nohup.* 3 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-arm64-gcc-10.2.1-glibc2.17-libcrypt1/spack.yaml.2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /figures/SDKdefinition1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UO-OACISS/e4s/HEAD/figures/SDKdefinition1.png -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t ecpe4s/superlu_sc:1.3 . 3 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/secrets.env.tpl: -------------------------------------------------------------------------------- 1 | export AWS_ACCESS_KEY_ID= 2 | export AWS_SECRET_ACCESS_KEY= 3 | export SIGNING_KEY= 4 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-arm64-gcc-13.3/assets/secrets.env.tpl: -------------------------------------------------------------------------------- 1 | export AWS_ACCESS_KEY_ID= 2 | export AWS_SECRET_ACCESS_KEY= 3 | export SIGNING_KEY= 4 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/strumpack-run-py.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | OMP_NUM_THREADS=1 python3 KernelRegression.py data/susy_10Kn 8 1.3 3.11 1 Gauss test --hss_rel_tol 1e-2 3 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/sc19-build-all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | (cd /superlu_dist && ./sc19-build.sh) || exit 1 4 | (cd /ButterflyPACK && ./sc19-build.sh) || exit 1 5 | (cd /STRUMPACK && ./sc19-build.sh && cd examples && make testMMdouble testMMdoubleMPIDist64) || exit 1 6 | -------------------------------------------------------------------------------- /tools/SpackInstallParser.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo Name,Version,Hash,Location 3 | IFS=' ' 4 | spack find -lx | grep -v "==>" | grep -v "\-\-" | grep . | while read -a arr 5 | do 6 | printf ${arr[1]} | tr '@' ',' 7 | printf ,${arr[0]}, 8 | spack location -i /${arr[0]} 9 | done 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-amd64-gcc-10.2.1-glibc2.17-libcrypt1/CentOS-SCL.repo: -------------------------------------------------------------------------------- 1 | [C7.9.2009-sclo] 2 | name=CentOS-7.9.2009 - SCLO 3 | baseurl=https://vault.centos.org/7.9.2009/sclo/$basearch/rh/ 4 | gpgcheck=1 5 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo 6 | enabled=1 7 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-arm64-gcc-10.2.1-glibc2.17-libcrypt1/CentOS-SCL.repo: -------------------------------------------------------------------------------- 1 | [C7.9.2009-sclo] 2 | name=CentOS-7.9.2009 - SCLO 3 | baseurl=https://vault.centos.org/7.9.2009/sclo/$basearch/rh/ 4 | gpgcheck=1 5 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo 6 | enabled=1 7 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-aarch64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/rhel8-runner-aarch64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/rhel8-runner-ppc64le:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/rhel8-runner-x86_64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-aarch64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu22.04-aarch64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu22.04-ppc64le:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu22.04-x86_64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu18.04-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu18.04-runner-x86_64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu18.04-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu18.04-runner-ppc64le:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-aarch64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu22.04-runner-aarch64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu22.04-runner-ppc64le:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu22.04-runner-x86_64:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /spack-sdk-environments/compilers_and_support/README.md: -------------------------------------------------------------------------------- 1 | # Compilers and Support 2 | ## Overview 3 | 4 | This Spack environment contains the following software packages: 5 | 6 | * OpenArc compiler 7 | * Kitsune 8 | * LLVM (with OpenMP support) 9 | * CHiLL Autotuning Compiler 10 | * OpenMP V & V 11 | * Flang/LLVM compiler 12 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | REGISTRY=${REGISTRY:-esw123} 4 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 5 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 6 | 7 | DOCKER_CLI_EXPERIMENTAL=enabled \ 8 | DOCKER_BUILDKIT=1 \ 9 | docker build \ 10 | -t "${REGISTRY}/ubuntu20.04-x86_64:${BUILD_TAG}" . 11 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-clang-16/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu20.04-runner-x86_64-clang-16:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-x86_64-gcc-11.2/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu20.04-runner-x86_64-gcc-11.2:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-x86_64-gcc11-oneapi/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu20.04-runner-x86_64-oneapi:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-aarch64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | REGISTRY=${REGISTRY:-esw123} 4 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 5 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 6 | 7 | DOCKER_CLI_EXPERIMENTAL=enabled \ 8 | DOCKER_BUILDKIT=1 \ 9 | docker build \ 10 | -t "${REGISTRY}/ubuntu20.04-aarch64:${BUILD_TAG}" . 11 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | REGISTRY=${REGISTRY:-esw123} 4 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 5 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 6 | 7 | DOCKER_CLI_EXPERIMENTAL=enabled \ 8 | DOCKER_BUILDKIT=1 \ 9 | docker build \ 10 | -t "${REGISTRY}/ubuntu20.04-ppc64le:${BUILD_TAG}" . 11 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-arm64-gcc-11.4-spack/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu20.04-runner-arm64-gcc-11.4:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-x86_64-gcc-11.4-spack/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | 6 | REGISTRY=${REGISTRY:-ecpe4s} 7 | OUTPUT_IMAGE="${REGISTRY}/ubuntu20.04-runner-x86_64-gcc-11.4:${BUILD_TAG}" 8 | 9 | docker build -t "${OUTPUT_IMAGE}" . 10 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/manylinux2014-amd64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=manylinux2014 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/archived/rhel7-runner-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/view 3 | concretization: separately 4 | 5 | config: 6 | install_tree: 7 | root: /bootstrap/install 8 | 9 | packages: 10 | all: 11 | target: [ppc64le] 12 | 13 | specs: 14 | - gcc@9.3.0+strip 15 | 16 | mirrors: 17 | E4S: https://cache.e4s.io 18 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-amd64-manylinux2014-gcc-10.2.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=manylinux2014 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/archived/rhel7-runner-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | concretization: separately 4 | 5 | config: 6 | install_tree: 7 | root: /bootstrap/runner/install 8 | 9 | packages: 10 | all: 11 | target: [x86_64] 12 | 13 | specs: 14 | - gcc@9.3.0+strip 15 | 16 | mirrors: 17 | E4S: https://cache.e4s.io 18 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu22.04-amd64-gcc-11.4-rocm6.3.3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.3.3 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-aarch64/compilers.yaml: -------------------------------------------------------------------------------- 1 | compilers: 2 | - compiler: 3 | spec: gcc@11.4.0 4 | paths: 5 | cc: /usr/bin/gcc 6 | cxx: /usr/bin/g++ 7 | f77: /usr/bin/gfortran 8 | fc: /usr/bin/gfortran 9 | flags: {} 10 | operating_system: ubuntu20.04 11 | target: aarch64 12 | modules: [] 13 | environment: {} 14 | extra_rpaths: [] -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-ppc64le/compilers.yaml: -------------------------------------------------------------------------------- 1 | compilers: 2 | - compiler: 3 | spec: gcc@9.4.0 4 | paths: 5 | cc: /usr/bin/gcc 6 | cxx: /usr/bin/g++ 7 | f77: /usr/bin/gfortran 8 | fc: /usr/bin/gfortran 9 | flags: {} 10 | operating_system: ubuntu20.04 11 | target: ppc64le 12 | modules: [] 13 | environment: {} 14 | extra_rpaths: [] -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-gcc-11.4-rocm5.4.3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu20.04-runner-amd64-gcc-11.4-rocm5.4.3 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm5.7.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm5.7.1 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.0.2/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.0.2 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-aarch64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_REPO=$(git config --get remote.origin.url) 6 | BUILD_REPO_REF=$(git log -1 --format="%H") 7 | 8 | REGISTRY=${REGISTRY:-ecpe4s} 9 | OUTPUT_IMAGE="${REGISTRY}/rhel8-aarch64:${BUILD_TAG}" 10 | 11 | docker build -t "${OUTPUT_IMAGE}" . 12 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_REPO=$(git config --get remote.origin.url) 6 | BUILD_REPO_REF=$(git log -1 --format="%H") 7 | 8 | REGISTRY=${REGISTRY:-ecpe4s} 9 | OUTPUT_IMAGE="${REGISTRY}/rhel8-ppc64le:${BUILD_TAG}" 10 | 11 | docker build -t "${OUTPUT_IMAGE}" . 12 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_REPO=$(git config --get remote.origin.url) 6 | BUILD_REPO_REF=$(git log -1 --format="%H") 7 | 8 | REGISTRY=${REGISTRY:-ecpe4s} 9 | OUTPUT_IMAGE="${REGISTRY}/rhel8-x86_64:${BUILD_TAG}" 10 | 11 | docker build -t "${OUTPUT_IMAGE}" . 12 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.1.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.1.1 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.2.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.2.0 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.2.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.2.1 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.2.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.2.4 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.3.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.3.0 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.3.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.3.1 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.3.2/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4-rocm6.3.2 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-aarch64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [aarch64] 16 | 17 | specs: 18 | - libtree 19 | - lmod 20 | - patchelf 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [ppc64le] 16 | 17 | specs: 18 | - libtree 19 | - lmod 20 | - patchelf 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - libtree 19 | - lmod 20 | - patchelf 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu18.04-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [ppc64le] 16 | 17 | specs: 18 | - libtree 19 | - lmod 20 | - patchelf 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu18.04-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - libtree 19 | - lmod 20 | - patchelf 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-aarch64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [aarch64] 16 | 17 | specs: 18 | - libtree 19 | - lmod 20 | - patchelf 21 | -------------------------------------------------------------------------------- /spack-sdk-environments/tools_and_technology/README.md: -------------------------------------------------------------------------------- 1 | # Tools and Technology 2 | 3 | ## Overview 4 | 5 | This Spack environment contains the following software packages: 6 | 7 | * TAU 8 | * HPCToolkit 9 | * Dyninst 10 | * Gotcha 11 | * Caliper 12 | * PAPI 13 | * Program Database Toolkit 14 | 15 | Other tools from the Tools and Technology group are not (yet) included: 16 | 17 | * Siboka 18 | * C2C 19 | * Sonar 20 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-x86_64/compilers.yaml: -------------------------------------------------------------------------------- 1 | compilers: 2 | - compiler: 3 | spec: gcc@=11.4.0 4 | paths: 5 | cc: /usr/bin/gcc 6 | cxx: /usr/bin/g++ 7 | f77: /usr/bin/gfortran 8 | fc: /usr/bin/gfortran 9 | flags: {} 10 | operating_system: ubuntu20.04 11 | target: x86_64 12 | modules: [] 13 | environment: {} 14 | extra_rpaths: [] 15 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-amd64-gcc-10.2.1-glibc2.17-libcrypt1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=centos7-builder-amd64-gcc10.2.1-glibc2.17-libcrypt1 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-arm64-gcc-10.2.1-glibc2.17-libcrypt1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_NAME=centos7-builder-amd64-gcc10.2.1-glibc2.17-libcrypt1 6 | 7 | REGISTRY=${REGISTRY:-ecpe4s} 8 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 9 | 10 | docker build \ 11 | -t "${OUTPUT_IMAGE}" \ 12 | . 13 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/manylinux2014-amd64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM quay.io/pypa/manylinux2014_x86_64:2024-06-17-844eb8b 2 | 3 | RUN yum install -y \ 4 | python3 \ 5 | vim 6 | 7 | RUN python3 -m pip install boto3 8 | 9 | RUN cd /tmp \ 10 | && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ 11 | && unzip awscliv2.zip \ 12 | && ./aws/install \ 13 | && rm -rf awscliv2.zip aws 14 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-aarch64/packages.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | mpi: 3 | require: mpich 4 | mpich: 5 | require: '@4.1.2 ~wrapperrpath ~hwloc' 6 | buildable: false 7 | externals: 8 | - spec: mpich@4.1.2 ~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi 9 | prefix: /usr/local/mpich/install/mpich -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-ppc64le/packages.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | mpi: 3 | require: mpich 4 | mpich: 5 | require: '@4.1.2 ~wrapperrpath ~hwloc' 6 | buildable: false 7 | externals: 8 | - spec: mpich@4.1.2 ~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi 9 | prefix: /usr/local/mpich/install/mpich -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-x86_64/packages.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | mpi: 3 | require: mpich 4 | mpich: 5 | require: '@4.1.2 ~wrapperrpath ~hwloc' 6 | buildable: false 7 | externals: 8 | - spec: mpich@4.1.2 ~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi 9 | prefix: /usr/local/mpich/install/mpich -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/start-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if ! (return 0 2>/dev/null) ; then 4 | echo error: this script should be sourced 5 | exit 1 6 | fi 7 | 8 | OF=nohup.out 9 | if [[ -f $OF ]] ; then 10 | echo "moving prior $OF to $OF.bak" 11 | mv $OF{,.bak} 12 | fi 13 | 14 | nohup bash -c "time ./build.sh" &>$OF /dev/null) ; then 4 | echo error: this script should be sourced 5 | exit 1 6 | fi 7 | 8 | OF=nohup.out 9 | if [[ -f $OF ]] ; then 10 | echo "moving prior $OF to $OF.bak" 11 | mv $OF{,.bak} 12 | fi 13 | 14 | nohup bash -c "time ./build.sh" &>$OF " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=alinux2-runner-arm64-gcc-10.5 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/alinux2023-arm64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=alinux2023-runner-arm64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-amd64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-gcc-12.3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-amd64-gcc-12.3 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-arm64-gcc-12.3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-arm64-gcc-12.3 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-arm64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-arm64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-ppc64-gcc-12.3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-ppc64-gcc-12.3 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-arm64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu22.04-runner-arm64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-ppc64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu22.04-runner-ppc64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu24.04-amd64-gcc-13.2/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu24.04-runner-amd64-gcc-13.2 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/PETSc_example/petsc-config.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./configure \ 4 | --with-metis=1 --with-metis-dir=${METIS_ROOT} \ 5 | --with-parmetis=1 --with-parmetis-dir=${PARMETIS_ROOT} \ 6 | --with-openblas=1 --with-openblas-dir=${OPENBLAS_ROOT} \ 7 | --with-scalapack=1 --with-scalapack-dir=${NETLIB_SCALAPACK_ROOT} \ 8 | --with-strumpack=1 \ 9 | --with-strumpack-lib=[/STRUMPACK/install/lib/libstrumpack.so,/ButterflyPACK/lib64/libdbutterflypack.so,/ButterflyPACK/build/libzbutterflypack.so] \ 10 | --with-strumpack-include=[/STRUMPACK/install/include,/ButterflyPACK/include] \ 11 | --with-superlu_dist=1 --with-superlu_dist-dir=/superlu_dist 12 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-oneapi-2023.2.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-amd64-oneapi-2023.2.1 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2023.2.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-2023.2.1 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.0.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-2024.0.0 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.0.1/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-2024.0.1 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | docker build \ 21 | --target ${BUILD_TYPE} \ 22 | -t "${OUTPUT_IMAGE}" \ 23 | . 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/utilities.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | GREEN='\033[0;32m' 4 | NC='\033[0m' 5 | cmd() { 6 | local line 7 | while IFS= read -r line || [[ -n "$line" ]]; do 8 | if [[ -z "${line//[[:space:]]/}" ]]; then 9 | continue 10 | fi 11 | echo -e "${GREEN}+ $line ${NC}" 12 | eval $line 13 | done < <(printf "%s" "$1") 14 | } 15 | 16 | is_set() { 17 | ! [[ -z "${!1+x}" ]]; 18 | } 19 | 20 | is_empty() { 21 | [[ -z "${!1}" ]]; 22 | } 23 | 24 | _err() { 25 | echo -e "${RED}$@${NC}" 26 | } 27 | 28 | require_env() { 29 | if ! is_set $1 ; then 30 | _err error: required environment variable is not set: $1 31 | exit 1 32 | fi 33 | } 34 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-arm64-gcc-13.3/assets/utilities.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | GREEN='\033[0;32m' 4 | NC='\033[0m' 5 | cmd() { 6 | local line 7 | while IFS= read -r line || [[ -n "$line" ]]; do 8 | if [[ -z "${line//[[:space:]]/}" ]]; then 9 | continue 10 | fi 11 | echo -e "${GREEN}+ $line ${NC}" 12 | eval $line 13 | done < <(printf "%s" "$1") 14 | } 15 | 16 | is_set() { 17 | ! [[ -z "${!1+x}" ]]; 18 | } 19 | 20 | is_empty() { 21 | [[ -z "${!1}" ]]; 22 | } 23 | 24 | _err() { 25 | echo -e "${RED}$@${NC}" 26 | } 27 | 28 | require_env() { 29 | if ! is_set $1 ; then 30 | _err error: required environment variable is not set: $1 31 | exit 1 32 | fi 33 | } 34 | -------------------------------------------------------------------------------- /docker-recipes/archived/rhel7-runner-x86_64/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_REPO=$(git config --get remote.origin.url) 6 | BUILD_REPO_REF=$(git log -1 --format="%H") 7 | 8 | REGISTRY=${REGISTRY:-ecpe4s} 9 | OUTPUT_IMAGE="${REGISTRY}/rhel7-runner-x86_64:${BUILD_TAG}" 10 | 11 | docker build \ 12 | --build-arg BUILD_DATE="${BUILD_DATE}" \ 13 | --build-arg BUILD_REPO="${BUILD_REPO}" \ 14 | --build-arg BUILD_REPO_REF="${BUILD_REPO_REF}" \ 15 | --build-arg SPACK_REPO=https://github.com/spack/spack.git \ 16 | --build-arg SPACK_REPO_REF=2db858e9c4fc16db4051004e4cca8b11154a3d22 \ 17 | -t "${OUTPUT_IMAGE}" . 18 | 19 | #d19d81a3f4451af5911ad46d24754268ba5137d6 \ 20 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.1.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | ONEAPI_VERSION=${ONEAPI_VERSION:-2024.1} 11 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 12 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 13 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-${ONEAPI_VERSION} 14 | if [[ "$BUILD_TYPE" == "base" ]]; then 15 | BUILD_NAME=${BUILD_NAME}-base 16 | fi 17 | 18 | REGISTRY=${REGISTRY:-ecpe4s} 19 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 20 | 21 | docker build \ 22 | --build-arg ONEAPI_VERSION=${ONEAPI_VERSION} \ 23 | --target ${BUILD_TYPE} \ 24 | -t "${OUTPUT_IMAGE}" \ 25 | . 26 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.2.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | ONEAPI_VERSION=${ONEAPI_VERSION:-2024.2} 11 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 12 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 13 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-${ONEAPI_VERSION} 14 | if [[ "$BUILD_TYPE" == "base" ]]; then 15 | BUILD_NAME=${BUILD_NAME}-base 16 | fi 17 | 18 | REGISTRY=${REGISTRY:-ecpe4s} 19 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 20 | 21 | docker build \ 22 | --build-arg ONEAPI_VERSION=${ONEAPI_VERSION} \ 23 | --target ${BUILD_TYPE} \ 24 | -t "${OUTPUT_IMAGE}" \ 25 | . 26 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-arm64-gcc-13.3/assets/spack.tools.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | concretizer: 3 | reuse: true 4 | unify: when_possible 5 | 6 | packages: 7 | all: 8 | require: 9 | - "target=aarch64" 10 | c: 11 | require: [gcc@13.3.0] 12 | cxx: 13 | require: [gcc@13.3.0] 14 | fortran: 15 | require: [gcc@13.3.0] 16 | gcc: 17 | externals: 18 | - spec: gcc@13.3.0 languages:='c,c++,fortran' 19 | prefix: /usr 20 | extra_attributes: 21 | compilers: 22 | c: /usr/bin/gcc 23 | cxx: /usr/bin/g++ 24 | fortran: /usr/bin/gfortran 25 | 26 | specs: 27 | - ccache 28 | - cmake 29 | - environment-modules 30 | - gmake 31 | - libtree 32 | - ninja 33 | - patchelf -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/spack.tools.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | concretizer: 3 | reuse: true 4 | unify: when_possible 5 | 6 | packages: 7 | all: 8 | require: 9 | - "target=x86_64_v3" 10 | c: 11 | require: [gcc@13.3.0] 12 | cxx: 13 | require: [gcc@13.3.0] 14 | fortran: 15 | require: [gcc@13.3.0] 16 | gcc: 17 | externals: 18 | - spec: gcc@13.3.0 languages:='c,c++,fortran' 19 | prefix: /usr 20 | extra_attributes: 21 | compilers: 22 | c: /usr/bin/gcc 23 | cxx: /usr/bin/g++ 24 | fortran: /usr/bin/gfortran 25 | 26 | specs: 27 | - ccache 28 | - cmake 29 | - environment-modules 30 | - gmake 31 | - libtree 32 | - ninja 33 | - patchelf -------------------------------------------------------------------------------- /docker-recipes/archived/rhel7-runner-ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BUILD_DATE=$(printf '%(%Y-%m-%d)T' -1) 4 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 5 | BUILD_REPO=$(git config --get remote.origin.url) 6 | BUILD_REPO_REF=$(git log -1 --format="%H") 7 | 8 | REGISTRY=${REGISTRY:-ecpe4s} 9 | OUTPUT_IMAGE="${REGISTRY}/rhel7-runner-ppc64le:${BUILD_TAG}" 10 | 11 | docker build \ 12 | --build-arg BUILD_DATE="${BUILD_DATE}" \ 13 | --build-arg BUILD_REPO="${BUILD_REPO}" \ 14 | --build-arg BUILD_REPO_REF="${BUILD_REPO_REF}" \ 15 | --build-arg SPACK_REPO=https://github.com/spack/spack.git \ 16 | --build-arg SPACK_REPO_REF=2db858e9c4fc16db4051004e4cca8b11154a3d22 \ 17 | -t "${OUTPUT_IMAGE}" . 18 | 19 | #d19d81a3f4451af5911ad46d24754268ba5137d6 \ 20 | #3d2b1277e973b7267c9200631e24a6df38ff9b4b \ 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | compilers: 13 | - compiler: 14 | spec: gcc@11.2.0 15 | paths: 16 | cc: /usr/bin/gcc 17 | cxx: /usr/bin/g++ 18 | f77: /usr/bin/gfortran 19 | fc: /usr/bin/gfortran 20 | flags: {} 21 | operating_system: ubuntu22.04 22 | target: x86_64 23 | modules: [] 24 | environment: {} 25 | extra_rpaths: [] 26 | 27 | packages: 28 | all: 29 | compiler: [gcc@11.2.0] 30 | target: [x86_64] 31 | 32 | specs: 33 | - patchelf 34 | - lmod 35 | - libtree 36 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /bootstrap/runner/view 3 | 4 | config: 5 | install_tree: 6 | root: /bootstrap/runner/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: false 11 | 12 | compilers: 13 | - compiler: 14 | spec: gcc@11.2.0 15 | paths: 16 | cc: /usr/bin/gcc 17 | cxx: /usr/bin/g++ 18 | f77: /usr/bin/gfortran 19 | fc: /usr/bin/gfortran 20 | flags: {} 21 | operating_system: ubuntu22.04 22 | target: ppc64le 23 | modules: [] 24 | environment: {} 25 | extra_rpaths: [] 26 | 27 | packages: 28 | all: 29 | compiler: [gcc@11.2.0] 30 | target: [ppc64le] 31 | 32 | specs: 33 | - patchelf 34 | - lmod 35 | - libtree 36 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.0.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.03.01 2 | 3 | # https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/6.0.2/ubuntu/jammy/amdgpu-install_6.0.60002-1_all.deb \ 10 | && apt install -y ./amdgpu-install_6.0.60002-1_all.deb \ 11 | && rm -f ./amdgpu-install_6.0.60002-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.0.2 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 16 | && ldconfig -v 17 | 18 | RUN updatedb 19 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu24.04-amd64-gcc-13.2/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | require: "%gcc target=x86_64" 15 | 16 | specs: 17 | - ccache 18 | - cmake 19 | - gmake 20 | - libtree 21 | - lmod 22 | - ninja 23 | - patchelf 24 | 25 | compilers: 26 | - compiler: 27 | spec: gcc@=13.2.0 28 | paths: 29 | cc: /usr/bin/gcc 30 | cxx: /usr/bin/g++ 31 | f77: /usr/bin/gfortran 32 | fc: /usr/bin/gfortran 33 | flags: {} 34 | operating_system: ubuntu24.04 35 | target: x86_64 36 | modules: [] 37 | environment: {} 38 | extra_rpaths: [] 39 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/alinux2-arm64-gcc-10.5/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | require: "%gcc target=aarch64" 15 | 16 | specs: 17 | - ccache 18 | - cmake 19 | - gmake 20 | - gnupg 21 | - libtree 22 | - lmod 23 | - ninja 24 | - patchelf 25 | 26 | compilers: 27 | - compiler: 28 | spec: gcc@=7.3.1 29 | paths: 30 | cc: /usr/bin/gcc 31 | cxx: /usr/bin/g++ 32 | f77: /usr/bin/gfortran 33 | fc: /usr/bin/gfortran 34 | flags: {} 35 | operating_system: amzn2 36 | target: aarch64 37 | modules: [] 38 | environment: {} 39 | extra_rpaths: [] 40 | -------------------------------------------------------------------------------- /spack-sdk-environments/xsdk/spack.yaml: -------------------------------------------------------------------------------- 1 | # XSDK 2 | spack: 3 | packages: 4 | all: 5 | compiler: [gcc@7.3.0] 6 | variants: +mpi 7 | providers: 8 | mpi: [mpich] 9 | buildable: true 10 | mpich: 11 | version: [3.2.1] 12 | variants: ~wrapperrpath 13 | buildable: true 14 | gcc: 15 | version: [7.3.0] 16 | buildable: true 17 | specs: 18 | # tuckermpi #No package 19 | # fortrilinos variant of trilinos doesn't build 20 | #- kokkoskernels (not the same as kokkos) 21 | - py-libensemble^python@3.7.3 22 | - flecsi 23 | - magma 24 | - slate 25 | - hypre 26 | - mfem 27 | - kokkos 28 | - trilinos@12.14.1+dtk+intrepid2+shards 29 | - sundials 30 | - petsc 31 | - strumpack 32 | - superlu 33 | - superlu-dist ^openblas threads=openmp 34 | - tasmanian 35 | view: false 36 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/alinux2023-arm64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | require: "%gcc target=aarch64" 15 | 16 | specs: 17 | - ccache 18 | - cmake 19 | - gmake 20 | - gnupg 21 | - libtree 22 | - lmod 23 | - ninja 24 | - patchelf 25 | 26 | compilers: 27 | - compiler: 28 | spec: gcc@=11.4.1 29 | paths: 30 | cc: /usr/bin/gcc 31 | cxx: /usr/bin/g++ 32 | f77: /usr/bin/gfortran 33 | fc: /usr/bin/gfortran 34 | flags: {} 35 | operating_system: amzn2023 36 | target: aarch64 37 | modules: [] 38 | environment: {} 39 | extra_rpaths: [] 40 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-arm64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | require: "%gcc target=aarch64" 15 | 16 | specs: 17 | - ccache 18 | - cmake 19 | - gmake 20 | - gnupg 21 | - libtree 22 | - lmod 23 | - ninja 24 | - patchelf 25 | 26 | compilers: 27 | - compiler: 28 | spec: gcc@9.4.0 29 | paths: 30 | cc: /usr/bin/gcc-9 31 | cxx: /usr/bin/g++-9 32 | f77: /usr/bin/gfortran-9 33 | fc: /usr/bin/gfortran-9 34 | flags: {} 35 | operating_system: ubuntu20.04 36 | target: aarch64 37 | modules: [] 38 | environment: {} 39 | extra_rpaths: [] 40 | 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-arm64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | require: "%gcc target=aarch64" 15 | 16 | specs: 17 | - ccache 18 | - cmake 19 | - gmake 20 | - gnupg 21 | - libtree 22 | - lmod 23 | - ninja 24 | - patchelf 25 | 26 | compilers: 27 | - compiler: 28 | spec: gcc@11.4.0 29 | paths: 30 | cc: /usr/bin/gcc-11 31 | cxx: /usr/bin/g++-11 32 | f77: /usr/bin/gfortran-11 33 | fc: /usr/bin/gfortran-11 34 | flags: {} 35 | operating_system: ubuntu22.04 36 | target: aarch64 37 | modules: [] 38 | environment: {} 39 | extra_rpaths: [] 40 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-ppc64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | require: "%gcc target=ppc64le" 15 | 16 | specs: 17 | - ccache 18 | - cmake 19 | - gmake 20 | - gnupg 21 | - libtree 22 | - lmod 23 | - ninja 24 | - patchelf 25 | 26 | compilers: 27 | - compiler: 28 | spec: gcc@11.4.0 29 | paths: 30 | cc: /usr/bin/gcc-11 31 | cxx: /usr/bin/g++-11 32 | f77: /usr/bin/gfortran-11 33 | fc: /usr/bin/gfortran-11 34 | flags: {} 35 | operating_system: ubuntu22.04 36 | target: ppc64le 37 | modules: [] 38 | environment: {} 39 | extra_rpaths: [] 40 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu20.04-ppc64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [ppc64le] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@9.4.0 30 | paths: 31 | cc: /usr/bin/gcc-9 32 | cxx: /usr/bin/g++-9 33 | f77: /usr/bin/gfortran-9 34 | fc: /usr/bin/gfortran-9 35 | flags: {} 36 | operating_system: ubuntu20.04 37 | target: ppc64le 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@9.4.0 30 | paths: 31 | cc: /usr/bin/gcc-9 32 | cxx: /usr/bin/g++-9 33 | f77: /usr/bin/gfortran-9 34 | fc: /usr/bin/gfortran-9 35 | flags: {} 36 | operating_system: ubuntu20.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-oneapi-2023.2.1/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@9.4.0 30 | paths: 31 | cc: /usr/bin/gcc-9 32 | cxx: /usr/bin/g++-9 33 | f77: /usr/bin/gfortran-9 34 | fc: /usr/bin/gfortran-9 35 | flags: {} 36 | operating_system: ubuntu20.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2023.2.1/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@11.4.0 30 | paths: 31 | cc: /usr/bin/gcc-11 32 | cxx: /usr/bin/g++-11 33 | f77: /usr/bin/gfortran-11 34 | fc: /usr/bin/gfortran-11 35 | flags: {} 36 | operating_system: ubuntu22.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.0.0/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@11.4.0 30 | paths: 31 | cc: /usr/bin/gcc-11 32 | cxx: /usr/bin/g++-11 33 | f77: /usr/bin/gfortran-11 34 | fc: /usr/bin/gfortran-11 35 | flags: {} 36 | operating_system: ubuntu22.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.0.1/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@11.4.0 30 | paths: 31 | cc: /usr/bin/gcc-11 32 | cxx: /usr/bin/g++-11 33 | f77: /usr/bin/gfortran-11 34 | fc: /usr/bin/gfortran-11 35 | flags: {} 36 | operating_system: ubuntu22.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.1.0/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@11.4.0 30 | paths: 31 | cc: /usr/bin/gcc-11 32 | cxx: /usr/bin/g++-11 33 | f77: /usr/bin/gfortran-11 34 | fc: /usr/bin/gfortran-11 35 | flags: {} 36 | operating_system: ubuntu22.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2024.2.0/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gmake 21 | - gnupg 22 | - libtree 23 | - lmod 24 | - ninja 25 | - patchelf 26 | 27 | compilers: 28 | - compiler: 29 | spec: gcc@11.4.0 30 | paths: 31 | cc: /usr/bin/gcc-11 32 | cxx: /usr/bin/g++-11 33 | f77: /usr/bin/gfortran-11 34 | fc: /usr/bin/gfortran-11 35 | flags: {} 36 | operating_system: ubuntu22.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-gcc-12.3/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gcc@12.3.0 21 | - gmake 22 | - gnupg 23 | - libtree 24 | - lmod 25 | - ninja 26 | - patchelf 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: x86_64 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] 42 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm5.7.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.04.19 2 | 3 | # https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/5.7.1/ubuntu/jammy/amdgpu-install_5.7.50701-1_all.deb \ 10 | && apt install -y ./amdgpu-install_5.7.50701-1_all.deb \ 11 | && rm -f ./amdgpu-install_5.7.50701-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,hip,hiplibsdk,mllib,mlsdk --rocmrelease=5.7.1 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 16 | && ldconfig -v 17 | 18 | RUN updatedb 19 | 20 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 21 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-ppc64-gcc-12.3/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: false 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [ppc64le] 16 | 17 | specs: 18 | - ccache 19 | - cmake 20 | - gcc@12.3.0 21 | - gmake 22 | - gnupg 23 | - libtree 24 | - lmod 25 | - ninja 26 | - patchelf 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: ppc64le 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] 42 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-arm64-gcc-12.3/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: $BOOTSTRAP_DIR/view 3 | 4 | config: 5 | install_tree: 6 | root: $BOOTSTRAP_DIR/install 7 | 8 | concretizer: 9 | reuse: true 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [aarch64] 16 | 17 | specs: 18 | - libtree 19 | - patchelf 20 | - gcc@12.3.0 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - ninja 25 | - ccache 26 | - lmod ^lua@5.4.4 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: aarch64 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-x86_64-gcc11-oneapi/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /opt/bootstrap/view 3 | 4 | config: 5 | install_tree: 6 | root: /opt/bootstrap/install 7 | 8 | concretizer: 9 | reuse: true 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - libtree 19 | - patchelf 20 | - gcc@11.2.0 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - ninja 25 | - ccache 26 | - lmod ^lua@5.4.4 27 | compilers: 28 | - compiler: 29 | spec: gcc@9.4.0 30 | paths: 31 | cc: /usr/bin/gcc-9 32 | cxx: /usr/bin/g++-9 33 | f77: /usr/bin/gfortran-9 34 | fc: /usr/bin/gfortran-9 35 | flags: {} 36 | operating_system: ubuntu20.04 37 | target: x86_64 38 | modules: [] 39 | environment: {} 40 | extra_rpaths: [] 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-clang-16/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /opt/bootstrap/view 3 | 4 | config: 5 | install_tree: 6 | root: /opt/bootstrap/install 7 | 8 | concretizer: 9 | reuse: true 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - libtree 19 | - patchelf 20 | - llvm@16.0.3 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - ninja 25 | - ccache 26 | - lmod ^lua@5.4.4 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: x86_64 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] 42 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-x86_64-gcc-11.2/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /opt/bootstrap/view 3 | 4 | config: 5 | install_tree: 6 | root: /opt/bootstrap/install 7 | 8 | concretizer: 9 | reuse: true 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - libtree 19 | - patchelf 20 | - gcc@11.2.0 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - ninja 25 | - ccache 26 | - lmod ^lua@5.4.4 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: x86_64 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] 42 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-arm64-gcc-11.4-spack/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /opt/bootstrap/view 3 | 4 | config: 5 | install_tree: 6 | root: /opt/bootstrap/install 7 | 8 | concretizer: 9 | reuse: true 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [aarch64] 16 | 17 | specs: 18 | - libtree 19 | - patchelf 20 | - gcc@11.4.0 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - ninja 25 | - ccache 26 | - lmod ^lua@5.4.4 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: aarch64 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] 42 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-x86_64-gcc-11.4-spack/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: /opt/bootstrap/view 3 | 4 | config: 5 | install_tree: 6 | root: /opt/bootstrap/install 7 | 8 | concretizer: 9 | reuse: true 10 | unify: when_possible 11 | 12 | packages: 13 | all: 14 | compiler: [gcc] 15 | target: [x86_64] 16 | 17 | specs: 18 | - libtree 19 | - patchelf 20 | - gcc@11.4.0 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - ninja 25 | - ccache 26 | - lmod ^lua@5.4.4 27 | 28 | compilers: 29 | - compiler: 30 | spec: gcc@9.4.0 31 | paths: 32 | cc: /usr/bin/gcc-9 33 | cxx: /usr/bin/g++-9 34 | f77: /usr/bin/gfortran-9 35 | fc: /usr/bin/gfortran-9 36 | flags: {} 37 | operating_system: ubuntu20.04 38 | target: x86_64 39 | modules: [] 40 | environment: {} 41 | extra_rpaths: [] 42 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: 3 | default: 4 | root: $BOOTSTRAP_DIR/view 5 | link: roots 6 | 7 | config: 8 | install_tree: 9 | root: $BOOTSTRAP_DIR/install 10 | 11 | concretizer: 12 | reuse: true 13 | unify: when_possible 14 | 15 | packages: 16 | all: 17 | require: "%gcc target=x86_64" 18 | 19 | specs: 20 | - ccache 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - libtree 25 | - lmod 26 | - ninja 27 | - patchelf 28 | 29 | compilers: 30 | - compiler: 31 | spec: gcc@11.4.0 32 | paths: 33 | cc: /usr/bin/gcc-11 34 | cxx: /usr/bin/g++-11 35 | f77: /usr/bin/gfortran-11 36 | fc: /usr/bin/gfortran-11 37 | flags: {} 38 | operating_system: ubuntu22.04 39 | target: x86_64 40 | modules: [] 41 | environment: {} 42 | extra_rpaths: [] 43 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/butterflypack-build.sh: -------------------------------------------------------------------------------- 1 | export BLAS_LIB=${OPENBLAS_ROOT}/lib/libopenblas.so 2 | export LAPACK_LIB=${NETLIB_LAPACK_ROOT}/lib64/liblapack.so 3 | export SCALAPACK_LIB=${NETLIB_SCALAPACK_ROOT}/lib/libscalapack.so 4 | export ARPACK_LIB="${ARPACK_NG_ROOT}/lib64/libarpack.so;${ARPACK_NG_ROOT}/lib64/libparpack.so" 5 | 6 | sh PrecisionPreprocessing.sh 7 | 8 | cmake . \ 9 | -DCMAKE_Fortran_FLAGS="" \ 10 | -DCMAKE_CXX_FLAGS="" \ 11 | -DTPL_BLAS_LIBRARIES=${BLAS_LIB} \ 12 | -DTPL_LAPACK_LIBRARIES=${LAPACK_LIB} \ 13 | -DTPL_SCALAPACK_LIBRARIES=${SCALAPACK_LIB} \ 14 | -DTPL_ARPACK_LIBRARIES=${ARPACK_LIB} \ 15 | -DBUILD_SHARED_LIBS=ON \ 16 | -DCMAKE_Fortran_COMPILER=mpif90 \ 17 | -DCMAKE_CXX_COMPILER=mpicxx \ 18 | -DCMAKE_C_COMPILER=mpicc \ 19 | -DCMAKE_INSTALL_PREFIX=. \ 20 | -DCMAKE_BUILD_TYPE=Release 21 | 22 | make `[ ! -z ${dnproc+x} ] && echo "-j${dnproc}"` 23 | make install 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2025.0.0/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: 3 | default: 4 | root: $BOOTSTRAP_DIR/view 5 | link: roots 6 | 7 | config: 8 | install_tree: 9 | root: $BOOTSTRAP_DIR/install 10 | 11 | concretizer: 12 | reuse: true 13 | unify: when_possible 14 | 15 | packages: 16 | all: 17 | require: "%gcc target=x86_64" 18 | 19 | specs: 20 | - ccache 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - libtree 25 | - lmod 26 | - ninja 27 | - patchelf 28 | 29 | compilers: 30 | - compiler: 31 | spec: gcc@11.4.0 32 | paths: 33 | cc: /usr/bin/gcc-11 34 | cxx: /usr/bin/g++-11 35 | f77: /usr/bin/gfortran-11 36 | fc: /usr/bin/gfortran-11 37 | flags: {} 38 | operating_system: ubuntu22.04 39 | target: x86_64 40 | modules: [] 41 | environment: {} 42 | extra_rpaths: [] 43 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2025.1.0/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: 3 | default: 4 | root: $BOOTSTRAP_DIR/view 5 | link: roots 6 | 7 | config: 8 | install_tree: 9 | root: $BOOTSTRAP_DIR/install 10 | 11 | concretizer: 12 | reuse: true 13 | unify: when_possible 14 | 15 | packages: 16 | all: 17 | require: "%gcc target=x86_64" 18 | 19 | specs: 20 | - ccache 21 | - cmake 22 | - gmake 23 | - gnupg 24 | - libtree 25 | - lmod 26 | - ninja 27 | - patchelf 28 | 29 | compilers: 30 | - compiler: 31 | spec: gcc@11.4.0 32 | paths: 33 | cc: /usr/bin/gcc-11 34 | cxx: /usr/bin/g++-11 35 | f77: /usr/bin/gfortran-11 36 | fc: /usr/bin/gfortran-11 37 | flags: {} 38 | operating_system: ubuntu22.04 39 | target: x86_64 40 | modules: [] 41 | environment: {} 42 | extra_rpaths: [] 43 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/setup-bashrc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ## Helpers 4 | . utilities.sh 5 | 6 | require_env TOOLS_PATH 7 | 8 | module_init="$(find $TOOLS_PATH -type f -path "*environment-modules*/init/bash")" 9 | if is_empty module_init ; then 10 | _err "error: could not find module init file" 11 | exit 1 12 | fi 13 | 14 | module_initrc=$(find $TOOLS_PATH -type f -path "*environment-modules*/etc/initrc") 15 | if is_empty module_initrc ; then 16 | _err "error: could not find module initrc file" 17 | exit 1 18 | fi 19 | 20 | mkdir -p /etc/rcfiles 21 | # mkdir -p /modules 22 | 23 | sed -i '/append/d' $module_initrc 24 | 25 | rcfile=/etc/rcfiles/runner.sh 26 | 27 | echo export PATH=$TOOLS_PATH/view/bin:'$PATH' >> $rcfile 28 | 29 | cat <>$rcfile 30 | . $module_init 31 | # module use /modules 32 | EOF 33 | 34 | chmod +x $rcfile 35 | 36 | cat <>/etc/bash.bashrc 37 | . $rcfile 38 | EOF -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-arm64-gcc-13.3/assets/setup-bashrc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ## Helpers 4 | . utilities.sh 5 | 6 | require_env TOOLS_PATH 7 | 8 | module_init="$(find $TOOLS_PATH -type f -path "*environment-modules*/init/bash")" 9 | if is_empty module_init ; then 10 | _err "error: could not find module init file" 11 | exit 1 12 | fi 13 | 14 | module_initrc=$(find $TOOLS_PATH -type f -path "*environment-modules*/etc/initrc") 15 | if is_empty module_initrc ; then 16 | _err "error: could not find module initrc file" 17 | exit 1 18 | fi 19 | 20 | mkdir -p /etc/rcfiles 21 | # mkdir -p /modules 22 | 23 | sed -i '/append/d' $module_initrc 24 | 25 | rcfile=/etc/rcfiles/runner.sh 26 | 27 | echo export PATH=$TOOLS_PATH/view/bin:'$PATH' >> $rcfile 28 | 29 | cat <>$rcfile 30 | . $module_init 31 | # module use /modules 32 | EOF 33 | 34 | chmod +x $rcfile 35 | 36 | cat <>/etc/bash.bashrc 37 | . $rcfile 38 | EOF -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/rhel8-runner-x86_64:2022-08-01 2 | 3 | COPY /spack.yaml / 4 | 5 | RUN git clone https://github.com/spack/spack /spack \ 6 | && cd spack \ 7 | && git checkout v0.18.1 \ 8 | && git -c user.name=ew -c user.email=ew cherry-pick 8e00aa7c79253103329f33cb230524f28e1f7344 \ 9 | && cd / \ 10 | && rm -rf /spack/.git \ 11 | && . /spack/share/spack/setup-env.sh \ 12 | && spack mirror add uo https://cache.e4s.io/uo-containers \ 13 | && spack buildcache keys -it \ 14 | && spack -e . concretize -f | tee concretize.log \ 15 | && spack -e . install --cache-only --include-build-deps \ 16 | && spack -e . module lmod refresh --delete-tree -y \ 17 | && spack mirror rm uo \ 18 | && spack clean -a 19 | 20 | RUN echo . /spack/share/spack/setup-env.sh >> /etc/bashrc \ 21 | && echo module use /spack/share/spack/lmod/linux-rhel8-x86_64/Core >> /etc/bashrc \ 22 | && echo module load cmake >> /etc/bashrc \ 23 | && echo module load mpich >> /etc/bashrc 24 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-aarch64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/rhel8-runner-aarch64:2022-08-01 2 | 3 | COPY /spack.yaml / 4 | 5 | RUN git clone https://github.com/spack/spack /spack \ 6 | && cd spack \ 7 | && git checkout v0.18.1 \ 8 | && git -c user.name=ew -c user.email=ew cherry-pick 8e00aa7c79253103329f33cb230524f28e1f7344 \ 9 | && cd / \ 10 | && rm -rf /spack/.git \ 11 | && . /spack/share/spack/setup-env.sh \ 12 | && spack mirror add uo https://cache.e4s.io/uo-containers \ 13 | && spack buildcache keys -it \ 14 | && spack -e . concretize -f | tee concretize.log \ 15 | && spack -e . install --cache-only --include-build-deps \ 16 | && spack -e . module lmod refresh --delete-tree -y \ 17 | && spack mirror rm uo \ 18 | && spack clean -a 19 | 20 | RUN echo . /spack/share/spack/setup-env.sh >> /etc/bashrc \ 21 | && echo module use /spack/share/spack/lmod/linux-rhel8-aarch64/Core >> /etc/bashrc \ 22 | && echo module load cmake >> /etc/bashrc \ 23 | && echo module load mpich >> /etc/bashrc 24 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/rhel8-runner-ppc64le:2022-08-01 2 | 3 | COPY /spack.yaml / 4 | 5 | RUN git clone https://github.com/spack/spack /spack \ 6 | && cd spack \ 7 | && git checkout v0.18.1 \ 8 | && git -c user.name=ew -c user.email=ew cherry-pick 8e00aa7c79253103329f33cb230524f28e1f7344 \ 9 | && cd / \ 10 | && rm -rf /spack/.git \ 11 | && . /spack/share/spack/setup-env.sh \ 12 | && spack mirror add uo https://cache.e4s.io/uo-containers \ 13 | && spack buildcache keys -it \ 14 | && spack -e . concretize -f | tee concretize.log \ 15 | && spack -e . install --cache-only --include-build-deps \ 16 | && spack -e . module lmod refresh --delete-tree -y \ 17 | && spack mirror rm uo \ 18 | && spack clean -a 19 | 20 | RUN echo . /spack/share/spack/setup-env.sh >> /etc/bashrc \ 21 | && echo module use /spack/share/spack/lmod/linux-rhel8-ppc64le/Core >> /etc/bashrc \ 22 | && echo module load cmake >> /etc/bashrc \ 23 | && echo module load mpich >> /etc/bashrc 24 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu20.04-ppc64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu20.04-runner-ppc64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | SPACK_ROOT=/spack 21 | SPACK_REPO=https://github.com/spack/spack 22 | SPACK_CHECKOUT=9ba7af404a14e84eec8f79567a6232c06a3c8d69 23 | SPACK_MIRROR=https://cache.e4s.io/spack-bootstrap 24 | 25 | docker build \ 26 | --target ${BUILD_TYPE} \ 27 | -t "${OUTPUT_IMAGE}" \ 28 | --build-arg SPACK_ROOT=$SPACK_ROOT \ 29 | --build-arg SPACK_REPO=$SPACK_REPO \ 30 | --build-arg SPACK_CHECKOUT=$SPACK_CHECKOUT \ 31 | --build-arg SPACK_MIRROR=$SPACK_MIRROR \ 32 | . 33 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/PETSc_example/Makefile: -------------------------------------------------------------------------------- 1 | all: ex17 2 | 3 | CFLAGS = 4 | FFLAGS = 5 | CPPFLAGS = 6 | FPPFLAGS = 7 | 8 | run: 9 | OMP_NUM_THREADS=1 mpirun -n 4 ./ex17 -n 6 -p 5 -norandom -pc_type lu -pc_factor_mat_solver_type superlu_dist -mat_superlu_dist_colperm MMD_ATA -ksp_monitor 10 | OMP_NUM_THREADS=1 mpirun -n 4 ./ex17 -n 6 -p 5 -norandom -pc_type lu -pc_factor_mat_solver_type strumpack -mat_strumpack_verbose -mat_strumpack_colperm FALSE -ksp_monitor 11 | # use strumpack as an (ILU) preconditioner 12 | OMP_NUM_THREADS=1 mpirun -n 4 ./ex17 -n 200 -p 5 -norandom -pc_type ilu -pc_factor_mat_solver_type strumpack -mat_strumpack_colperm FALSE -mat_strumpack_verbose -help -mat_strumpack_hss_min_sep_size 10 -ksp_monitor -ksp_rtol 1e-12 13 | ./ex17 -n 6 -p 5 -norandom -pc_type lu -pc_factor_mat_solver_type superlu_dist -mat_superlu_dist_colperm MMD_ATA 14 | 15 | include ${PETSC_DIR}/lib/petsc/conf/variables 16 | include ${PETSC_DIR}/lib/petsc/conf/rules 17 | include ${PETSC_DIR}/lib/petsc/conf/test 18 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/superlu-dist-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | printf "METIS = ${METIS_ROOT}\n" 4 | printf "PARMETIS = ${PARMETIS_ROOT}\n" 5 | 6 | cmake . \ 7 | -DTPL_PARMETIS_INCLUDE_DIRS="${PARMETIS_ROOT}/include;${METIS_ROOT}/include" \ 8 | -DTPL_PARMETIS_LIBRARIES="${PARMETIS_ROOT}/lib/libparmetis.so;${METIS_ROOT}/lib/libmetis.so" \ 9 | \ 10 | -DTPL_ENABLE_BLASLIB=OFF \ 11 | -DTPL_ENABLE_COMBBLASLIB=OFF \ 12 | -DTPL_ENABLE_LAPACKLIB=OFF \ 13 | -Denable_tests=ON \ 14 | -Denable_openmp=ON \ 15 | \ 16 | -DBUILD_SHARED_LIBS:BOOL=ON \ 17 | -DCMAKE_INSTALL_PREFIX=. \ 18 | -DCMAKE_C_FLAGS="-std=c99 -g -O3 -DPRNTlevel=1 -DDEBUGlevel=0" \ 19 | -DCMAKE_C_COMPILER=mpicc \ 20 | -DCMAKE_CXX_COMPILER=mpicxx 21 | 22 | make `[ ! -z ${dnproc+x} ] && echo "-j${dnproc}"` 23 | make install 24 | 25 | sed -i 's/"pdtest/"\.\/pdtest/g' TEST/CTestTestfile.cmake 26 | sed -i 's/"pddrive/"\.\/pddrive/g' EXAMPLE/CTestTestfile.cmake 27 | sed -i 's/"pzdrive/"\.\/pzdrive/g' EXAMPLE/CTestTestfile.cmake 28 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.1.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.03.01 2 | 3 | # https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/6.1.1/ubuntu/jammy/amdgpu-install_6.1.60101-1_all.deb \ 10 | && apt install -y ./amdgpu-install_6.1.60101-1_all.deb \ 11 | && rm -f ./amdgpu-install_6.1.60101-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.1.1 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN apt update -y \ 16 | && apt install -y rocm-llvm-dev6.1.1 \ 17 | && apt clean -y 18 | 19 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 20 | && ldconfig -v 21 | 22 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 23 | ENV PATH=/opt/rocm/bin:$PATH 24 | 25 | RUN updatedb 26 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 11 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 12 | BUILD_NAME=ubuntu22.04-runner-amd64-gcc-11.4 13 | if [[ "$BUILD_TYPE" == "base" ]]; then 14 | BUILD_NAME=${BUILD_NAME}-base 15 | fi 16 | 17 | REGISTRY=${REGISTRY:-ecpe4s} 18 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 19 | 20 | SPACK_ROOT=/spack 21 | SPACK_REPO=https://github.com/spack/spack 22 | SPACK_CHECKOUT=07d4915e82c5f2bbb38c403f50fda5c6056fe47f 23 | SPACK_MIRROR=https://cache.e4s.io/spack-universal-bootstrap/glibc2.17-libcrypt1 24 | 25 | docker build \ 26 | --target ${BUILD_TYPE} \ 27 | -t "${OUTPUT_IMAGE}" \ 28 | --build-arg SPACK_ROOT=$SPACK_ROOT \ 29 | --build-arg SPACK_REPO=$SPACK_REPO \ 30 | --build-arg SPACK_CHECKOUT=$SPACK_CHECKOUT \ 31 | --build-arg SPACK_MIRROR=$SPACK_MIRROR \ 32 | . 33 | -------------------------------------------------------------------------------- /spack-sdk-environments/compilers_and_support/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | compiler: [gcc@7.3.0] 5 | variants: +mpi 6 | providers: 7 | mpi: [mpich] 8 | buildable: true 9 | version: [] 10 | paths: {} 11 | modules: {} 12 | mpich: 13 | version: [3.2.1] 14 | variants: ~wrapperrpath 15 | buildable: true 16 | providers: {} 17 | paths: {} 18 | modules: {} 19 | compiler: [] 20 | gcc: 21 | version: [7.3.0] 22 | buildable: true 23 | providers: {} 24 | paths: {} 25 | modules: {} 26 | compiler: [] 27 | specs: 28 | # COMPILERS & SUPPORT 29 | # - kitsune NO PKG YET 30 | # - chill EXISTS, DOESNT WORK, CONTACTED DEVELOPERS 31 | # - openarc 32 | # - openmp validation & verification (?) 33 | # - llvm-openmp-ompt 34 | - llvm-openmp 35 | - llvm 36 | - flang 37 | mirrors: {} 38 | repos: [] 39 | upstreams: {} 40 | modules: 41 | enable: [] 42 | definitions: [] 43 | config: {} 44 | view: false 45 | -------------------------------------------------------------------------------- /spack-sdk-environments/tools_and_technology/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | compiler: [gcc@7.3.0] 5 | variants: +mpi 6 | providers: 7 | mpi: [mpich] 8 | buildable: true 9 | version: [] 10 | paths: {} 11 | modules: {} 12 | mpich: 13 | version: [3.2.1] 14 | variants: ~wrapperrpath 15 | buildable: true 16 | providers: {} 17 | paths: {} 18 | modules: {} 19 | compiler: [] 20 | gcc: 21 | version: [7.3.0] 22 | buildable: true 23 | providers: {} 24 | paths: {} 25 | modules: {} 26 | compiler: [] 27 | specs: 28 | # TOOLS AND TECHNOLOGY 29 | #- siboka NO PKG, NOT OPEN SOURCE YET 30 | #- sonar NO PKG / NOT YET USEFUL HERE?? 31 | - py-ytopt^python@3.7.3 #provides surf 32 | - tau 33 | - hpctoolkit 34 | - dyninst 35 | - gotcha 36 | - caliper 37 | - papi 38 | - pdt 39 | mirrors: {} 40 | repos: [] 41 | upstreams: {} 42 | modules: 43 | enable: [] 44 | definitions: [] 45 | config: {} 46 | view: false 47 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.2.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.08.22 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/6.2/ubuntu/jammy/amdgpu-install_6.2.60200-1_all.deb \ 10 | && apt install -y ./amdgpu-install_6.2.60200-1_all.deb \ 11 | && rm -f ./amdgpu-install_6.2.60200-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.2.0 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN apt update -y \ 16 | && apt install -y rocm-llvm-dev6.2.0 \ 17 | && apt clean -y 18 | 19 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 20 | && ldconfig -v 21 | 22 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 23 | ENV PATH=/opt/rocm/bin:$PATH 24 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 25 | 26 | RUN updatedb 27 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.12.04 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/6.3/ubuntu/jammy/amdgpu-install_6.3.60300-1_all.deb \ 10 | && apt install -y ./amdgpu-install_6.3.60300-1_all.deb \ 11 | && rm -f ./amdgpu-install_6.3.60300-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.3.0 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN apt update -y \ 16 | && apt install -y rocm-llvm-dev6.3.0 \ 17 | && apt clean -y 18 | 19 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 20 | && ldconfig -v 21 | 22 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 23 | ENV PATH=/opt/rocm/bin:$PATH 24 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 25 | 26 | RUN updatedb 27 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.08.22 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/6.2.1/ubuntu/jammy/amdgpu-install_6.2.60201-1_all.deb \ 10 | && apt install -y ./amdgpu-install_6.2.60201-1_all.deb \ 11 | && rm -f ./amdgpu-install_6.2.60201-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.2.1 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN apt update -y \ 16 | && apt install -y rocm-llvm-dev6.2.1 \ 17 | && apt clean -y 18 | 19 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 20 | && ldconfig -v 21 | 22 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 23 | ENV PATH=/opt/rocm/bin:$PATH 24 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 25 | 26 | RUN updatedb 27 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.12.04 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && wget -q https://repo.radeon.com/amdgpu-install/6.2.4/ubuntu/jammy/amdgpu-install_6.2.60204-1_all.deb \ 10 | && apt install -y ./amdgpu-install_6.2.60204-1_all.deb \ 11 | && rm -f ./amdgpu-install_6.2.60204-1_all.deb \ 12 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.2.4 --no-dkms \ 13 | && apt clean -y 14 | 15 | RUN apt update -y \ 16 | && apt install -y rocm-llvm-dev6.2.4 \ 17 | && apt clean -y 18 | 19 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 20 | && ldconfig -v 21 | 22 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 23 | ENV PATH=/opt/rocm/bin:$PATH 24 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 25 | 26 | RUN updatedb 27 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-amd64-manylinux2014-gcc-10.2.1/spack.yaml: -------------------------------------------------------------------------------- 1 | # spack/spack 2 | # develop branch 3 | # 7e906ced75dead665048a254c0ca2f09205c9d47 4 | # https://cache.e4s.io/spack-bootstrap (padded_length: 256) 5 | 6 | spack: 7 | view: $BOOTSTRAP_DIR/view 8 | 9 | config: 10 | install_tree: 11 | root: $BOOTSTRAP_DIR/install 12 | 13 | concretizer: 14 | reuse: false 15 | unify: when_possible 16 | 17 | packages: 18 | all: 19 | require: '%gcc target=x86_64' 20 | 21 | specs: 22 | - cmake 23 | - gmake 24 | - gnupg 25 | - libtree 26 | - ninja 27 | - patchelf 28 | 29 | compilers: 30 | - compiler: 31 | spec: gcc@=10.2.1 32 | paths: 33 | cc: /opt/rh/devtoolset-10/root/usr/bin/gcc 34 | cxx: /opt/rh/devtoolset-10/root/usr/bin/g++ 35 | f77: /opt/rh/devtoolset-10/root/usr/bin/gfortran 36 | fc: /opt/rh/devtoolset-10/root/usr/bin/gfortran 37 | flags: {} 38 | operating_system: centos7 39 | target: x86_64 40 | modules: [] 41 | environment: {} 42 | extra_rpaths: [] 43 | -------------------------------------------------------------------------------- /spack-sdk-environments/e4s_ecosystem/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | compiler: [gcc@7.3.0] 5 | variants: +mpi 6 | providers: 7 | mpi: [mpich] 8 | buildable: true 9 | version: [] 10 | paths: {} 11 | modules: {} 12 | mpich: 13 | version: [3.2.1] 14 | variants: ~wrapperrpath 15 | buildable: true 16 | providers: {} 17 | paths: {} 18 | modules: {} 19 | compiler: [] 20 | gcc: 21 | version: [7.3.0] 22 | buildable: true 23 | providers: {} 24 | paths: {} 25 | modules: {} 26 | compiler: [] 27 | specs: 28 | # Ecosystem 29 | #- bee 30 | #- fsefi 31 | #- kitten 32 | #- coolr 33 | #- tribits 34 | #- argocontainers 35 | #- spack 36 | #- marfs 37 | #- gufi 38 | - nrm^python@3.7.3 39 | - libnrm 40 | - geopm^py-numpy@1.16.5^py-pandas@0.24.2 #intel? 41 | - mpifileutils@develop~xattr 42 | - pmix 43 | mirrors: {} 44 | repos: [] 45 | upstreams: {} 46 | modules: 47 | enable: [] 48 | definitions: [] 49 | config: {} 50 | view: false 51 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-ppc64le:2022-08-01 2 | 3 | COPY /spack.yaml / 4 | 5 | RUN git clone https://github.com/spack/spack /spack \ 6 | && cd spack \ 7 | && git checkout v0.18.1 \ 8 | && git config user.name eugeneswalker \ 9 | && git config user.email eugenesunsetwalker@gmail.com \ 10 | && git cherry-pick 7ef52acfce812942df37e421e1c4283b67233e2b \ 11 | && cd / \ 12 | && rm -rf /spack/.git \ 13 | && . /spack/share/spack/setup-env.sh \ 14 | && spack mirror add uo https://cache.e4s.io/uo-containers \ 15 | && spack buildcache keys -it \ 16 | && spack -e . concretize -f | tee concretize.log \ 17 | && spack -e . install --cache-only --include-build-deps \ 18 | && spack -e . module lmod refresh --delete-tree -y \ 19 | && spack mirror rm uo \ 20 | && spack clean -a 21 | 22 | RUN echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc \ 23 | && echo module use /spack/share/spack/lmod/linux-ubuntu22.04-ppc64le/Core >> /etc/bash.bashrc \ 24 | && echo module load cmake >> /etc/bash.bashrc \ 25 | && echo module load mpich >> /etc/bash.bashrc 26 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-aarch64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-aarch64:2022-08-01 2 | 3 | COPY /spack.yaml / 4 | 5 | RUN git clone https://github.com/spack/spack /spack \ 6 | && cd /spack \ 7 | && git checkout v0.18.1 \ 8 | && git config user.name eugeneswalker \ 9 | && git config user.email eugenesunsetwalker@gmail.com \ 10 | && git cherry-pick 7ef52acfce812942df37e421e1c4283b67233e2b \ 11 | && cd / \ 12 | && rm -rf /spack/.git \ 13 | && . /spack/share/spack/setup-env.sh \ 14 | && spack mirror add uo https://cache.e4s.io/uo-containers \ 15 | && spack buildcache keys -it \ 16 | && spack -e . concretize -f | tee concretize.log \ 17 | && spack -e . install --cache-only --include-build-deps \ 18 | && spack -e . module lmod refresh --delete-tree -y \ 19 | && spack mirror rm uo \ 20 | && spack clean -a 21 | 22 | RUN echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc \ 23 | && echo module use /spack/share/spack/lmod/linux-ubuntu22.04-aarch64/Core >> /etc/bash.bashrc \ 24 | && echo module load cmake >> /etc/bash.bashrc \ 25 | && echo module load mpich >> /etc/bash.bashrc 26 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-x86_64:2022-08-01 2 | 3 | COPY /spack.yaml / 4 | 5 | RUN git clone https://github.com/spack/spack /spack \ 6 | && cd /spack \ 7 | && git checkout v0.18.1 \ 8 | && git config user.name eugenesunsetwalker \ 9 | && git config user.email eugenesunsetwalker@gmail.com \ 10 | && git cherry-pick 7ef52acfce812942df37e421e1c4283b67233e2b \ 11 | && cd / \ 12 | && rm -rf /spack/.git \ 13 | && . /spack/share/spack/setup-env.sh \ 14 | && spack mirror add uo https://cache.e4s.io/uo-containers \ 15 | && spack buildcache keys -it \ 16 | && spack -e . concretize -f | tee concretize.log \ 17 | && spack -e . install --cache-only --include-build-deps \ 18 | && spack -e . module lmod refresh --delete-tree -y \ 19 | && spack mirror rm uo \ 20 | && spack clean -a 21 | 22 | RUN echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc \ 23 | && echo module use /spack/share/spack/lmod/linux-ubuntu22.04-x86_64/Core >> /etc/bash.bashrc \ 24 | && echo module load cmake >> /etc/bash.bashrc \ 25 | && echo module load mpich >> /etc/bash.bashrc 26 | -------------------------------------------------------------------------------- /spack-sdk-environments/data-mgmt_io-services_checkpoint-restart/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | compiler: [gcc@7.3.0] 5 | variants: +mpi 6 | providers: 7 | mpi: [mpich] 8 | buildable: true 9 | version: [] 10 | paths: {} 11 | modules: {} 12 | mpich: 13 | version: [3.2.1] 14 | variants: ~wrapperrpath 15 | buildable: true 16 | providers: {} 17 | paths: {} 18 | modules: {} 19 | compiler: [] 20 | gcc: 21 | version: [7.3.0] 22 | buildable: true 23 | providers: {} 24 | paths: {} 25 | modules: {} 26 | compiler: [] 27 | specs: 28 | # DATA MANAGEMENT, IO, AND CHECKPOINT RESTART 29 | #- seacas #provides ioss Doesn't build 30 | #- hxhim NO PKG (github removed?) 31 | - faodel 32 | - mercury 33 | - hdf5 34 | - adios2 35 | - darshan-runtime 36 | - darshan-util 37 | - veloc 38 | - scr 39 | - parallel-netcdf 40 | - unifyfs 41 | mirrors: {} 42 | repos: [] 43 | upstreams: {} 44 | modules: 45 | enable: [] 46 | definitions: [] 47 | config: {} 48 | view: false 49 | -------------------------------------------------------------------------------- /spack-sdk-environments/visualization_analysis_reduction/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | compiler: [gcc@7.3.0] 5 | variants: +mpi 6 | providers: 7 | mpi: [mpich] 8 | buildable: true 9 | version: [] 10 | paths: {} 11 | modules: {} 12 | mpich: 13 | version: [3.2.1] 14 | variants: ~wrapperrpath 15 | buildable: true 16 | providers: {} 17 | paths: {} 18 | modules: {} 19 | compiler: [] 20 | gcc: 21 | version: [7.3.0] 22 | buildable: true 23 | providers: {} 24 | paths: {} 25 | modules: {} 26 | compiler: [] 27 | specs: 28 | # VISUALIZATION AND REDUCTION 29 | #- cinema NO PKG 30 | #- rover NO PKG, SUBCOMPONENT OF ASCENT, INCLUDED WITHIN 31 | #- paraview+ascent BUILD FAILS (Because of vtkm?) 32 | #- visit ^vtk+python+qt ^hdf5+hl 33 | #- vtkm 34 | #- py-jupyterhub^python@3.7.3 35 | - catalyst 36 | - zfp 37 | - sz 38 | - paraview 39 | mirrors: {} 40 | repos: [] 41 | upstreams: {} 42 | modules: 43 | enable: [] 44 | definitions: [] 45 | config: {} 46 | view: false 47 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu22.04-amd64-gcc-11.4-rocm6.3.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2025.03.01 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && apt install -y python3-setuptools python3-wheel libpython3.10 \ 10 | && wget -q https://repo.radeon.com/amdgpu-install/6.3.3/ubuntu/jammy/amdgpu-install_6.3.60303-1_all.deb \ 11 | && apt install -y ./amdgpu-install_6.3.60303-1_all.deb \ 12 | && rm -f ./amdgpu-install_6.3.60303-1_all.deb \ 13 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.3.3 --no-dkms \ 14 | && apt clean -y 15 | 16 | RUN apt update -y \ 17 | && apt install -y rocm-llvm-dev6.3.3 \ 18 | && apt clean -y 19 | 20 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 21 | && ldconfig -v 22 | 23 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 24 | ENV PATH=/opt/rocm/bin:$PATH 25 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 26 | 27 | RUN updatedb 28 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.12.04 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && apt install -y python3-setuptools python3-wheel libpython3.10 \ 10 | && wget -q https://repo.radeon.com/amdgpu-install/6.3.1/ubuntu/jammy/amdgpu-install_6.3.60301-1_all.deb \ 11 | && apt install -y ./amdgpu-install_6.3.60301-1_all.deb \ 12 | && rm -f ./amdgpu-install_6.3.60301-1_all.deb \ 13 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.3.1 --no-dkms \ 14 | && apt clean -y 15 | 16 | RUN apt update -y \ 17 | && apt install -y rocm-llvm-dev6.3.1 \ 18 | && apt clean -y 19 | 20 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 21 | && ldconfig -v 22 | 23 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 24 | ENV PATH=/opt/rocm/bin:$PATH 25 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 26 | 27 | RUN updatedb 28 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-gcc-11.4-rocm6.3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu22.04-runner-amd64-gcc-11.4:2024.12.04 2 | 3 | # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html 4 | RUN rm -f /usr/include/asm \ 5 | && rm -f /usr/include/bits \ 6 | && rm -f /usr/include/gnu \ 7 | && rm -f /usr/include/sys \ 8 | && apt update -y \ 9 | && apt install -y python3-setuptools python3-wheel libpython3.10 \ 10 | && wget -q https://repo.radeon.com/amdgpu-install/6.3.2/ubuntu/jammy/amdgpu-install_6.3.60302-1_all.deb \ 11 | && apt install -y ./amdgpu-install_6.3.60302-1_all.deb \ 12 | && rm -f ./amdgpu-install_6.3.60302-1_all.deb \ 13 | && amdgpu-install -y --usecase=rocm,rocmdev,hip,hiplibsdk,mllib,mlsdk --rocmrelease=6.3.2 --no-dkms \ 14 | && apt clean -y 15 | 16 | RUN apt update -y \ 17 | && apt install -y rocm-llvm-dev6.3.2 \ 18 | && apt clean -y 19 | 20 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 21 | && ldconfig -v 22 | 23 | RUN echo export PATH=/opt/rocm/bin:'$PATH' >> /etc/bash.bashrc 24 | ENV PATH=/opt/rocm/bin:$PATH 25 | ENV LD_LIBRARY_PATH=/opt/rocm/lib:$PATH 26 | 27 | RUN updatedb 28 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2025.0.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | ONEAPI_VERSION=${ONEAPI_VERSION:-2025.0} 11 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 12 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 13 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-${ONEAPI_VERSION} 14 | if [[ "$BUILD_TYPE" == "base" ]]; then 15 | BUILD_NAME=${BUILD_NAME}-base 16 | fi 17 | 18 | REGISTRY=${REGISTRY:-ecpe4s} 19 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 20 | 21 | SPACK_ROOT=/spack 22 | SPACK_REPO=https://github.com/spack/spack 23 | SPACK_CHECKOUT=07d4915e82c5f2bbb38c403f50fda5c6056fe47f 24 | SPACK_MIRROR=https://cache.e4s.io/spack-universal-bootstrap/glibc2.17-libcrypt1 25 | 26 | docker build \ 27 | --build-arg ONEAPI_VERSION=${ONEAPI_VERSION} \ 28 | --target ${BUILD_TYPE} \ 29 | -t "${OUTPUT_IMAGE}" \ 30 | --build-arg SPACK_ROOT=$SPACK_ROOT \ 31 | --build-arg SPACK_REPO=$SPACK_REPO \ 32 | --build-arg SPACK_CHECKOUT=$SPACK_CHECKOUT \ 33 | --build-arg SPACK_MIRROR=$SPACK_MIRROR \ 34 | . 35 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-amd64-oneapi-2025.1.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ $# -ne 1 || ( "$1" != "base" && "$1" != "complete" ) ]] ; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | BUILD_TYPE=$1 9 | 10 | ONEAPI_VERSION=${ONEAPI_VERSION:-2025.1} 11 | BUILD_DATE=$(printf '%(%Y.%m.%d)T' -1) 12 | BUILD_TAG=${BUILD_TAG:-${BUILD_DATE}} 13 | BUILD_NAME=ubuntu22.04-runner-amd64-oneapi-${ONEAPI_VERSION} 14 | if [[ "$BUILD_TYPE" == "base" ]]; then 15 | BUILD_NAME=${BUILD_NAME}-base 16 | fi 17 | 18 | REGISTRY=${REGISTRY:-ecpe4s} 19 | OUTPUT_IMAGE="${REGISTRY}/${BUILD_NAME}:${BUILD_TAG}" 20 | 21 | SPACK_ROOT=/spack 22 | SPACK_REPO=https://github.com/spack/spack 23 | SPACK_CHECKOUT=07d4915e82c5f2bbb38c403f50fda5c6056fe47f 24 | SPACK_MIRROR=https://cache.e4s.io/spack-universal-bootstrap/glibc2.17-libcrypt1 25 | 26 | docker build \ 27 | --build-arg ONEAPI_VERSION=${ONEAPI_VERSION} \ 28 | --target ${BUILD_TYPE} \ 29 | -t "${OUTPUT_IMAGE}" \ 30 | --build-arg SPACK_ROOT=$SPACK_ROOT \ 31 | --build-arg SPACK_REPO=$SPACK_REPO \ 32 | --build-arg SPACK_CHECKOUT=$SPACK_CHECKOUT \ 33 | --build-arg SPACK_MIRROR=$SPACK_MIRROR \ 34 | . 35 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: when_possible 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@8.5.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: rhel8 18 | target: ppc64le 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | modules: 24 | default: 25 | 'enable:': [lmod] 26 | lmod: 27 | core_compilers: [gcc@8.5.0] 28 | blacklist_implicits: true 29 | verbose: true 30 | hash_length: 0 31 | whitelist: [mpich, cmake] 32 | hierarchy: [mpi] 33 | projections: {} 34 | core_specs: [] 35 | all: 36 | autoload: direct 37 | environment: 38 | set: 39 | ${PACKAGE}_ROOT: ${PREFIX} 40 | 41 | packages: 42 | all: 43 | compiler: [gcc@8.5.0] 44 | target: [ppc64le] 45 | openssl: 46 | variants: certs=system 47 | 48 | specs: 49 | - cmake 50 | - mpich ~wrapperrpath 51 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: when_possible 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@11.2.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: ubuntu22.04 18 | target: ppc64le 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | modules: 24 | default: 25 | 'enable:': [lmod] 26 | lmod: 27 | core_compilers: [gcc@11.2.0] 28 | blacklist_implicits: true 29 | verbose: true 30 | hash_length: 0 31 | whitelist: [mpich, cmake] 32 | hierarchy: [mpi] 33 | projections: {} 34 | core_specs: [] 35 | all: 36 | autoload: direct 37 | environment: 38 | set: 39 | ${PACKAGE}_ROOT: ${PREFIX} 40 | 41 | packages: 42 | all: 43 | compiler: [gcc@11.2.0] 44 | target: [ppc64le] 45 | openssl: 46 | variants: certs=system 47 | 48 | specs: 49 | - cmake 50 | - mpich ~wrapperrpath 51 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/strumpack-build.sh: -------------------------------------------------------------------------------- 1 | cmake . \ 2 | -DCMAKE_BUILD_TYPE=Release \ 3 | -DCMAKE_CXX_COMPILER=mpicxx \ 4 | -DCMAKE_C_COMPILER=mpicc \ 5 | -DCMAKE_Fortran_COMPILER=mpif90 \ 6 | \ 7 | -DCMAKE_INSTALL_PREFIX=./install \ 8 | \ 9 | -DSTRUMPACK_USE_MPI=ON \ 10 | -DSTRUMPACK_USE_OPENMP=ON \ 11 | \ 12 | -DSTRUMPACK_BUILD_TESTS=OFF \ 13 | -DBUILD_SHARED_LIBS=ON \ 14 | -DSTRUMPACK_C_INTERFACE=ON \ 15 | \ 16 | -DTPL_METIS_INCLUDE_DIRS="${METIS_ROOT}/include" \ 17 | -DTPL_METIS_LIBRARIES="${METIS_ROOT}/lib/libmetis.so" \ 18 | \ 19 | -DTPL_ENABLE_PARMETIS=ON \ 20 | -DTPL_PARMETIS_INCLUDE_DIRS="${PARMETIS_ROOT}/include" \ 21 | -DTPL_PARMETIS_LIBRARIES="${PARMETIS_ROOT}/lib/libparmetis.so" \ 22 | \ 23 | -DTPL_BLAS_LIBRARIES=${OPENBLAS_ROOT}/lib/libopenblas.so \ 24 | \ 25 | -DTPL_ENABLE_BPACK=ON \ 26 | -DTPL_BPACK_INCLUDE_DIRS="${BUTTERFLYPACK_ROOT}/include" \ 27 | -DTPL_BPACK_LIBRARIES="${BUTTERFLYPACK_ROOT}/lib64/libdbutterflypack.so;${BUTTERFLYPACK_ROOT}/lib64/libzbutterflypack.so;" \ 28 | \ 29 | -DTPL_ENABLE_SCOTCH=OFF \ 30 | -DTPL_ENABLE_COMBBLAS=OFF \ 31 | -DTPL_ENABLE_CUBLAS=OFF 32 | 33 | make `[ ! -z ${dnproc+x} ] && echo "-j${dnproc}"` 34 | make install 35 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu20.04-amd64-gcc-11.4-rocm5.4.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu20.04-runner-x86_64-gcc-11.4:2023.08.01 2 | 3 | RUN rm -f /usr/include/asm \ 4 | && rm -f /usr/include/bits \ 5 | && rm -f /usr/include/gnu \ 6 | && rm -f /usr/include/sys \ 7 | && wget https://repo.radeon.com/amdgpu-install/5.4.3/ubuntu/focal/amdgpu-install_5.4.50403-1_all.deb \ 8 | && apt install -y ./amdgpu-install_5.4.50403-1_all.deb \ 9 | && rm -f ./amdgpu-install_5.4.50403-1_all.deb \ 10 | && echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal main' | tee /etc/apt/sources.list.d/rocm.list \ 11 | && echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/5.4.3 focal main' | tee /etc/apt/sources.list.d/rocm.list \ 12 | && apt update -y \ 13 | && amdgpu-install -y --usecase=rocm,hip,hiplibsdk,mllib,mlsdk --rocmrelease=5.4.3 --no-dkms \ 14 | && apt clean -y \ 15 | && echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 16 | && ldconfig -v 17 | 18 | RUN rm /usr/bin/python \ 19 | && ln -s /usr/bin/python3 /usr/bin/python 20 | 21 | RUN echo /opt/rocm/lib > /etc/ld.so.conf.d/rocm.conf \ 22 | && ldconfig -v 23 | 24 | RUN updatedb -------------------------------------------------------------------------------- /guides/upstream-spack.md: -------------------------------------------------------------------------------- 1 | ### Connect a New Spack to an Old Spack 2 | #### How to use the features of a New Spack while keeping your favorite Old Spack packages 3 |
4 | 5 | 0. Start in $HOME 6 | ``` 7 | $> cd 8 | ``` 9 | 10 | 1. Clone New Spack 11 | ``` 12 | $> git clone https://github.com/spack/spack.git 13 | ``` 14 | 15 |
16 | 17 | 2. Launch E4S Singularity Image 18 | ``` 19 | $> singularity exec --nv e4s_ubuntu1804_gpu_ppc64le_1.1.simg /bin/bash 20 | ``` 21 | 22 |
23 | 24 | 3. Get the Old Spack prefix: 25 | ``` 26 | Singularity> export OLD_SPACK_PREFIX=$SPACK_ROOT 27 | ``` 28 | 29 |
30 | 31 | 4. Source the setup script for New Spack 32 | ``` 33 | Singularity> . spack/share/spack/setup-env.sh 34 | ``` 35 | 36 |
37 | 38 | 5. Connect New Spack to Old Spack ( upstreams: https://spack.readthedocs.io/en/latest/chain.html ) 39 | ``` 40 | Singularity> mkdir -p ~/.spack 41 | Singularity> cat > ~/.spack/upstreams.yaml << EOF 42 | upstreams: 43 | e4s: 44 | install_tree: $OLD_SPACK_PREFIX/opt/spack 45 | EOF 46 | ``` 47 | 48 | 49 |
50 | 51 | You can now use all the features of New Spack while keeping your favorite Old Spack packages! 52 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: when_possible 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@8.5.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: rhel8 18 | target: x86_64 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | modules: 24 | default: 25 | 'enable:': [lmod] 26 | lmod: 27 | core_compilers: [gcc@8.5.0] 28 | blacklist_implicits: true 29 | verbose: true 30 | hash_length: 0 31 | whitelist: [mpich, cmake] 32 | hierarchy: [mpi] 33 | projections: {} 34 | core_specs: [] 35 | all: 36 | autoload: direct 37 | environment: 38 | set: 39 | ${PACKAGE}_ROOT: ${PREFIX} 40 | suffixes: 41 | +cuda: cuda 42 | +openmp: openmp 43 | 44 | packages: 45 | all: 46 | compiler: [gcc@8.5.0] 47 | target: [x86_64] 48 | openssl: 49 | variants: certs=system 50 | 51 | specs: 52 | - cmake 53 | - mpich ~wrapperrpath 54 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/rhel8-aarch64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: when_possible 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@8.5.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: rhel8 18 | target: aarch64 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | modules: 24 | default: 25 | 'enable:': [lmod] 26 | lmod: 27 | core_compilers: [gcc@8.5.0] 28 | blacklist_implicits: true 29 | verbose: true 30 | hash_length: 0 31 | whitelist: [mpich, cmake] 32 | hierarchy: [mpi] 33 | projections: {} 34 | core_specs: [] 35 | all: 36 | autoload: direct 37 | environment: 38 | set: 39 | ${PACKAGE}_ROOT: ${PREFIX} 40 | suffixes: 41 | +cuda: cuda 42 | +openmp: openmp 43 | 44 | packages: 45 | all: 46 | compiler: [gcc@8.5.0] 47 | target: [aarch64] 48 | openssl: 49 | variants: certs=system 50 | 51 | specs: 52 | - cmake 53 | - mpich ~wrapperrpath 54 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-aarch64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: when_possible 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@11.2.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: ubuntu22.04 18 | target: aarch64 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | modules: 24 | default: 25 | 'enable:': [lmod] 26 | lmod: 27 | core_compilers: [gcc@11.2.0] 28 | blacklist_implicits: true 29 | verbose: true 30 | hash_length: 0 31 | whitelist: [mpich, cmake] 32 | hierarchy: [mpi] 33 | projections: {} 34 | core_specs: [] 35 | all: 36 | autoload: direct 37 | environment: 38 | set: 39 | ${PACKAGE}_ROOT: ${PREFIX} 40 | suffixes: 41 | +cuda: cuda 42 | +openmp: openmp 43 | 44 | packages: 45 | all: 46 | compiler: [gcc@11.2.0] 47 | target: [aarch64] 48 | openssl: 49 | variants: certs=system 50 | 51 | specs: 52 | - cmake 53 | - mpich ~wrapperrpath 54 | -------------------------------------------------------------------------------- /docker-recipes/archived/minimal/ubuntu22.04-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: when_possible 7 | 8 | config: 9 | concretizer: clingo 10 | 11 | compilers: 12 | - compiler: 13 | spec: gcc@11.2.0 14 | paths: 15 | cc: /usr/bin/gcc 16 | cxx: /usr/bin/g++ 17 | f77: /usr/bin/gfortran 18 | fc: /usr/bin/gfortran 19 | flags: {} 20 | operating_system: ubuntu22.04 21 | target: x86_64 22 | modules: [] 23 | environment: {} 24 | extra_rpaths: [] 25 | 26 | modules: 27 | default: 28 | 'enable:': [lmod] 29 | lmod: 30 | core_compilers: [gcc@11.2.0] 31 | blacklist_implicits: true 32 | verbose: true 33 | hash_length: 0 34 | whitelist: [mpich, cmake] 35 | hierarchy: [mpi] 36 | projections: {} 37 | core_specs: [] 38 | all: 39 | autoload: direct 40 | environment: 41 | set: 42 | ${PACKAGE}_ROOT: ${PREFIX} 43 | suffixes: 44 | +cuda: cuda 45 | +openmp: openmp 46 | 47 | packages: 48 | all: 49 | compiler: [gcc@11.2.0] 50 | target: [x86_64] 51 | openssl: 52 | variants: certs=system 53 | 54 | specs: 55 | - cmake 56 | - mpich ~wrapperrpath 57 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-aarch64/modules.yaml: -------------------------------------------------------------------------------- 1 | modules: 2 | prefix_inspections: 3 | lib: [LD_LIBRARY_PATH] 4 | lib64: [LD_LIBRARY_PATH] 5 | default: 6 | 'enable:': [lmod] 7 | lmod: 8 | core_compilers: [gcc@=11.4.0] 9 | verbose: true 10 | hash_length: 0 11 | hierarchy: [mpi] 12 | hide_implicits: true 13 | all: 14 | autoload: direct 15 | environment: 16 | set: 17 | '{name}_ROOT': '{PREFIX}' 18 | suffixes: 19 | +cuda cuda_arch=70: cuda70 20 | +cuda cuda_arch=75: cuda75 21 | +cuda cuda_arch=80: cuda80 22 | +cuda cuda_arch=90: cuda90 23 | +openmp: openmp 24 | cabana: 25 | suffixes: 26 | ^kokkos +cuda cuda_arch=70: cuda70 27 | ^kokkos +cuda cuda_arch=75: cuda75 28 | ^kokkos +cuda cuda_arch=80: cuda80 29 | ^kokkos +cuda cuda_arch=90: cuda90 30 | tau: 31 | suffixes: 32 | +cuda: cuda 33 | hpctoolkit: 34 | suffixes: 35 | +cuda: cuda 36 | bricks: 37 | suffixes: 38 | +cuda: cuda 39 | flux-core: 40 | suffixes: 41 | +cuda: cuda 42 | papi: 43 | suffixes: 44 | +cuda: cuda 45 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-amd64-manylinux2014-gcc-10.2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/manylinux2014:2024.03.11 2 | 3 | ENV BOOTSTRAP_DIR=/usr/local/spack-tools 4 | 5 | COPY /spack.yaml /spack.yaml.pre 6 | COPY /spack.lock /concretize.log / 7 | 8 | RUN yum -y install gettext \ 9 | && envsubst < spack.yaml.pre > spack.yaml \ 10 | && rm spack.yaml.pre \ 11 | && yum -y remove gettext 12 | 13 | RUN export S=/tmp/spack \ 14 | && git clone https://github.com/spack/spack $S \ 15 | && git -C $S checkout 7e906ced75dead665048a254c0ca2f09205c9d47 \ 16 | && . $S/share/spack/setup-env.sh \ 17 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 18 | && spack config add 'config:build_stage:$spack/build_stage' \ 19 | && spack config add "config:db_lock_timeout:120" \ 20 | && spack config add "config:connect_timeout:60" \ 21 | && spack mirror add bootstrap https://cache.e4s.io/spack-bootstrap \ 22 | && spack buildcache keys -it \ 23 | && spack -e . install --cache-only \ 24 | && spack clean -a \ 25 | && rm -rf $S spack.yaml spack.lock concretize.log .spack-env Makefile ~/.spack 26 | 27 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ 28 | && unzip awscliv2.zip \ 29 | && ./aws/install \ 30 | && rm -rf awscliv2.zip 31 | 32 | RUN echo export PATH=$BOOTSTRAP_DIR/view/bin:'${PATH}' >> /etc/bash.bashrc 33 | 34 | ENV PATH=$BOOTSTRAP_DIR/view/bin:$PATH 35 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-x86_64/modules.yaml: -------------------------------------------------------------------------------- 1 | modules: 2 | prefix_inspections: 3 | lib: [LD_LIBRARY_PATH] 4 | lib64: [LD_LIBRARY_PATH] 5 | default: 6 | 'enable:': [lmod] 7 | lmod: 8 | core_compilers: [gcc@=11.4.0] 9 | verbose: true 10 | hash_length: 0 11 | hierarchy: [mpi] 12 | hide_implicits: true 13 | all: 14 | autoload: direct 15 | environment: 16 | set: 17 | '{name}_ROOT': '{PREFIX}' 18 | suffixes: 19 | +cuda cuda_arch=70: cuda70 20 | +cuda cuda_arch=75: cuda75 21 | +cuda cuda_arch=80: cuda80 22 | +cuda cuda_arch=90: cuda90 23 | +openmp: openmp 24 | hdf5-vol-log: 25 | suffixes: 26 | ^hdf5 +threadsafe: threadsafe 27 | cabana: 28 | suffixes: 29 | ^kokkos +cuda cuda_arch=70: cuda70 30 | ^kokkos +cuda cuda_arch=75: cuda75 31 | ^kokkos +cuda cuda_arch=80: cuda80 32 | ^kokkos +cuda cuda_arch=90: cuda90 33 | tau: 34 | suffixes: 35 | +cuda: cuda 36 | hpctoolkit: 37 | suffixes: 38 | +cuda: cuda 39 | bricks: 40 | suffixes: 41 | +cuda: cuda 42 | flux-core: 43 | suffixes: 44 | +cuda: cuda 45 | papi: 46 | suffixes: 47 | +cuda: cuda -------------------------------------------------------------------------------- /spack-sdk-environments/pmr_core/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | compiler: [gcc@7.3.0] 5 | variants: +mpi 6 | providers: 7 | mpi: [mpich] 8 | buildable: true 9 | version: [] 10 | paths: {} 11 | modules: {} 12 | mpich: 13 | version: [3.2.1] 14 | variants: ~wrapperrpath 15 | buildable: true 16 | providers: {} 17 | paths: {} 18 | modules: {} 19 | compiler: [] 20 | gcc: 21 | version: [7.3.0] 22 | buildable: true 23 | providers: {} 24 | paths: {} 25 | modules: {} 26 | compiler: [] 27 | specs: 28 | # PMR CORE 29 | #- chai WAITING FOR SPACK PR MERGE (9/30/19 0857) 30 | #- parsec NO PKG, MSG SENT, EXPECTED SOON 31 | #- darma-futures NO PKG, NO LONGER IN ECP, SPACK PKG IN PROGRESS 32 | #- sicm NO PKG, PKG OUTSIDE OF SPACK https://github.com/lanl/SICM.git, WORKS 33 | - papyrus@develop # develop works, default version has build error 10/1/19 34 | - qthreads 35 | - bolt # ok on x86_64, problems on ppc64le 36 | - aml 37 | - upcxx 38 | - legion 39 | - kokkos 40 | - raja 41 | - gasnet 42 | - mpich 43 | - openmpi 44 | - umpire 45 | - libquo 46 | - globalarrays 47 | - stc #Provides swift/t compiler 48 | - turbine #Provies swift/t runtime 49 | mirrors: {} 50 | repos: [] 51 | upstreams: {} 52 | modules: 53 | enable: [] 54 | definitions: [] 55 | config: {} 56 | view: false 57 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-ppc64le/modules.yaml: -------------------------------------------------------------------------------- 1 | modules: 2 | prefix_inspections: 3 | lib: [LD_LIBRARY_PATH] 4 | lib64: [LD_LIBRARY_PATH] 5 | default: 6 | 'enable:': [lmod] 7 | lmod: 8 | core_compilers: [gcc@=9.4.0] 9 | verbose: true 10 | hash_length: 0 11 | hierarchy: [mpi] 12 | hide_implicits: true 13 | all: 14 | autoload: direct 15 | environment: 16 | set: 17 | '{name}_ROOT': '{PREFIX}' 18 | suffixes: 19 | +cuda cuda_arch=70: cuda70 20 | +cuda cuda_arch=75: cuda75 21 | +cuda cuda_arch=80: cuda80 22 | +cuda cuda_arch=90: cuda90 23 | +openmp: openmp 24 | hdf5-vol-log: 25 | suffixes: 26 | ^hdf5 +threadsafe: threadsafe 27 | cabana: 28 | suffixes: 29 | ^kokkos +cuda cuda_arch=70: cuda70 30 | ^kokkos +cuda cuda_arch=75: cuda75 31 | ^kokkos +cuda cuda_arch=80: cuda80 32 | ^kokkos +cuda cuda_arch=90: cuda90 33 | tau: 34 | suffixes: 35 | +cuda: cuda 36 | hpctoolkit: 37 | suffixes: 38 | +cuda: cuda 39 | bricks: 40 | suffixes: 41 | +cuda: cuda 42 | flux-core: 43 | suffixes: 44 | +cuda: cuda 45 | papi: 46 | suffixes: 47 | +cuda: cuda 48 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/0001-python-add-v3.12.11.patch: -------------------------------------------------------------------------------- 1 | From e8b278827dc86f48bb105c6b0a6801ceeace1f72 Mon Sep 17 00:00:00 2001 2 | From: eugeneswalker 3 | Date: Sat, 20 Sep 2025 08:48:09 -0700 4 | Subject: [PATCH] python: add v3.12.11 5 | 6 | --- 7 | repos/spack_repo/builtin/packages/python/package.py | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/repos/spack_repo/builtin/packages/python/package.py b/repos/spack_repo/builtin/packages/python/package.py 11 | index 4b28cfd9e3..1296e97d6d 100644 12 | --- a/repos/spack_repo/builtin/packages/python/package.py 13 | +++ b/repos/spack_repo/builtin/packages/python/package.py 14 | @@ -62,6 +62,7 @@ class Python(Package): 15 | version("3.13.2", sha256="b8d79530e3b7c96a5cb2d40d431ddb512af4a563e863728d8713039aa50203f9") 16 | version("3.13.1", sha256="1513925a9f255ef0793dbf2f78bb4533c9f184bdd0ad19763fd7f47a400a7c55") 17 | version("3.13.0", sha256="12445c7b3db3126c41190bfdc1c8239c39c719404e844babbd015a1bc3fafcd4") 18 | + version("3.12.11", sha256="7b8d59af8216044d2313de8120bfc2cc00a9bd2e542f15795e1d616c51faf3d6") 19 | version("3.12.9", sha256="45313e4c5f0e8acdec9580161d565cf5fea578e3eabf25df7cc6355bf4afa1ee") 20 | version("3.12.8", sha256="5978435c479a376648cb02854df3b892ace9ed7d32b1fead652712bee9d03a45") 21 | version("3.12.7", sha256="73ac8fe780227bf371add8373c3079f42a0dc62deff8d612cd15a618082ab623") 22 | -- 23 | 2.43.0 24 | 25 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-arm64-gcc-13.3/assets/0001-python-add-v3.12.11.patch: -------------------------------------------------------------------------------- 1 | From e8b278827dc86f48bb105c6b0a6801ceeace1f72 Mon Sep 17 00:00:00 2001 2 | From: eugeneswalker 3 | Date: Sat, 20 Sep 2025 08:48:09 -0700 4 | Subject: [PATCH] python: add v3.12.11 5 | 6 | --- 7 | repos/spack_repo/builtin/packages/python/package.py | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/repos/spack_repo/builtin/packages/python/package.py b/repos/spack_repo/builtin/packages/python/package.py 11 | index 4b28cfd9e3..1296e97d6d 100644 12 | --- a/repos/spack_repo/builtin/packages/python/package.py 13 | +++ b/repos/spack_repo/builtin/packages/python/package.py 14 | @@ -62,6 +62,7 @@ class Python(Package): 15 | version("3.13.2", sha256="b8d79530e3b7c96a5cb2d40d431ddb512af4a563e863728d8713039aa50203f9") 16 | version("3.13.1", sha256="1513925a9f255ef0793dbf2f78bb4533c9f184bdd0ad19763fd7f47a400a7c55") 17 | version("3.13.0", sha256="12445c7b3db3126c41190bfdc1c8239c39c719404e844babbd015a1bc3fafcd4") 18 | + version("3.12.11", sha256="7b8d59af8216044d2313de8120bfc2cc00a9bd2e542f15795e1d616c51faf3d6") 19 | version("3.12.9", sha256="45313e4c5f0e8acdec9580161d565cf5fea578e3eabf25df7cc6355bf4afa1ee") 20 | version("3.12.8", sha256="5978435c479a376648cb02854df3b892ace9ed7d32b1fead652712bee9d03a45") 21 | version("3.12.7", sha256="73ac8fe780227bf371add8373c3079f42a0dc62deff8d612cd15a618082ab623") 22 | -- 23 | 2.43.0 24 | 25 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | packages: 3 | all: 4 | target: [x86_64] 5 | compiler: [gcc@7.3.0] 6 | variants: +mpi 7 | providers: 8 | mpi: [mpich] 9 | blas: [openblas] 10 | buildable: true 11 | version: [] 12 | modules: {} 13 | paths: {} 14 | openblas: 15 | variants: threads=openmp 16 | version: [] 17 | target: [] 18 | compiler: [] 19 | buildable: true 20 | modules: {} 21 | providers: {} 22 | paths: {} 23 | mpich: 24 | version: [3.2.1] 25 | variants: ~wrapperrpath 26 | buildable: true 27 | target: [] 28 | compiler: [] 29 | modules: {} 30 | providers: {} 31 | paths: {} 32 | gcc: 33 | version: [7.3.0] 34 | buildable: true 35 | target: [] 36 | compiler: [] 37 | modules: {} 38 | providers: {} 39 | paths: {} 40 | cmake: 41 | version: [3.15.4] 42 | target: [] 43 | compiler: [] 44 | buildable: true 45 | modules: {} 46 | providers: {} 47 | paths: {} 48 | specs: 49 | - superlu-dist@6.2.0 +openmp 50 | - butterflypack@1.1.0 51 | - strumpack@3.3.0 52 | - parmetis 53 | - metis 54 | - mfem 55 | - netlib-scalapack 56 | - netlib-lapack 57 | - arpack-ng 58 | - emacs@26.2 59 | view: false 60 | config: {} 61 | mirrors: {} 62 | modules: 63 | enable: [] 64 | repos: [] 65 | upstreams: {} 66 | definitions: [] 67 | concretization: separately 68 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-amd64-gcc-10.2.1-glibc2.17-libcrypt1/CentOS-Base.repo: -------------------------------------------------------------------------------- 1 | # CentOS-Base.repo 2 | # 3 | # The mirror system uses the connecting IP address of the client and the 4 | # update status of each mirror to pick mirrors that are updated to and 5 | # geographically close to the client. You should use this for CentOS updates 6 | # unless you are manually picking other mirrors. 7 | # 8 | # If the mirrorlist= does not work for you, as a fall back you can try the 9 | # remarked out baseurl= line instead. 10 | # 11 | # 12 | 13 | # base packages for reinstall 14 | [base] 15 | name=CentOS-$releasever - Base 16 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/os/$basearch/ 17 | gpgcheck=1 18 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 19 | 20 | #released updates 21 | [updates] 22 | name=CentOS-$releasever - Updates 23 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/updates/$basearch/ 24 | gpgcheck=1 25 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 26 | 27 | #additional packages that may be useful 28 | [extras] 29 | name=CentOS-$releasever - Extras 30 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/extras/$basearch/ 31 | gpgcheck=1 32 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 33 | 34 | #additional packages that extend functionality of existing packages 35 | [centosplus] 36 | name=CentOS-$releasever - Plus 37 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/centosplus/$basearch/ 38 | gpgcheck=1 39 | enabled=0 40 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 41 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-arm64-gcc-10.2.1-glibc2.17-libcrypt1/CentOS-Base.repo: -------------------------------------------------------------------------------- 1 | # CentOS-Base.repo 2 | # 3 | # The mirror system uses the connecting IP address of the client and the 4 | # update status of each mirror to pick mirrors that are updated to and 5 | # geographically close to the client. You should use this for CentOS updates 6 | # unless you are manually picking other mirrors. 7 | # 8 | # If the mirrorlist= does not work for you, as a fall back you can try the 9 | # remarked out baseurl= line instead. 10 | # 11 | # 12 | 13 | # base packages for reinstall 14 | [base] 15 | name=CentOS-$releasever - Base 16 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/os/$basearch/ 17 | gpgcheck=1 18 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 19 | 20 | #released updates 21 | [updates] 22 | name=CentOS-$releasever - Updates 23 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/updates/$basearch/ 24 | gpgcheck=1 25 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 26 | 27 | #additional packages that may be useful 28 | [extras] 29 | name=CentOS-$releasever - Extras 30 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/extras/$basearch/ 31 | gpgcheck=1 32 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 33 | 34 | #additional packages that extend functionality of existing packages 35 | [centosplus] 36 | name=CentOS-$releasever - Plus 37 | baseurl=https://archive.kernel.org/centos-vault/7.9.2009/centosplus/$basearch/ 38 | gpgcheck=1 39 | enabled=0 40 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 41 | -------------------------------------------------------------------------------- /docker-recipes/archived/ubuntu21.04-runner-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG BASE_IMAGE=ubuntu:21.04 5 | 6 | FROM ${BASE_IMAGE} 7 | 8 | ARG BASE_IMAGE 9 | ARG BUILD_DATE 10 | ARG BUILD_REPO 11 | ARG BUILD_REPO_REF 12 | 13 | ARG DEBIAN_FRONTEND=noninteractive 14 | ENV TZ=America/Los_Angeles 15 | 16 | RUN apt update -y \ 17 | && apt upgrade -y \ 18 | && apt install -y \ 19 | autoconf \ 20 | automake \ 21 | bzip2 \ 22 | cpio \ 23 | curl \ 24 | emacs-nox \ 25 | file \ 26 | findutils \ 27 | g++ \ 28 | gcc \ 29 | gcc-multilib \ 30 | gettext \ 31 | gfortran \ 32 | git \ 33 | gpg \ 34 | iputils-ping \ 35 | jq \ 36 | libffi-dev \ 37 | libssl-dev \ 38 | libxml2-dev \ 39 | locales \ 40 | locate \ 41 | m4 \ 42 | make \ 43 | mercurial \ 44 | ncurses-dev \ 45 | patch \ 46 | patchelf \ 47 | pciutils \ 48 | python3-pip \ 49 | rsync \ 50 | unzip \ 51 | vim \ 52 | wget \ 53 | zlib1g-dev \ 54 | && apt autoremove --purge \ 55 | && apt clean \ 56 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 57 | && ln -s `which python3` /usr/bin/python 58 | 59 | RUN python -m pip install --upgrade pip setuptools wheel \ 60 | && python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ 61 | && rm -rf ~/.cache 62 | 63 | CMD ["/bin/bash"] 64 | 65 | ENV NVIDIA_VISIBLE_DEVICES=all \ 66 | NVIDIA_DRIVER_CAPABILITIES=compute,utility 67 | 68 | LABEL io.e4s.build-date=${BUILD_DATE} 69 | LABEL io.e4s.repo=${BUILD_REPO} 70 | LABEL io.e4s.repo-ref=${BUILD_REPO_REF} 71 | LABEL io.e4s.base-img=${BASE_IMAGE} 72 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/build-and-install-tools.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ## Helpers 4 | . utilities.sh 5 | 6 | require_env SPACK_CORE_ROOT 7 | require_env TOOLS_MIRROR 8 | 9 | export AWS_ACCESS_KEY_ID=$(cat /run/secrets/AWS_ACCESS_KEY_ID) 10 | export AWS_SECRET_ACCESS_KEY=$(cat /run/secrets/AWS_SECRET_ACCESS_KEY) 11 | 12 | . $SPACK_CORE_ROOT/share/spack/setup-env.sh 13 | 14 | cmd "$(cat </dev/null 2>&1 6 | 7 | require_env AWS_ACCESS_KEY_ID 8 | require_env AWS_SECRET_ACCESS_KEY 9 | require_env SIGNING_KEY_PATH 10 | 11 | name=ubuntu24.04-runner-amd64-gcc-13.3 12 | tag=${BUILD_TAG:-$(printf '%(%Y.%m.%d)T' -1)} 13 | registry=${REGISTRY:-ecpe4s} 14 | output_img="${registry}/${name}:${tag}" 15 | 16 | PYTHON_MIRROR=cache.e4s.io/runners/python-pad256 17 | PYTHON_PATH=/opt/python 18 | PYTHON_VERSION=3.12.11 19 | SPACK_CORE_CHECKOUT=v1.0.2 20 | SPACK_CORE_REPO=https://github.com/spack/spack 21 | SPACK_CORE_ROOT=/spack 22 | SPACK_PACKAGES_CHECKOUT=9b9174352b562a210cff991b73fe1d7793b825d9 23 | SPACK_PACKAGES_REPO=https://github.com/spack/spack-packages 24 | SPACK_PACKAGES_ROOT=/spack-packages 25 | TOOLS_MIRROR=cache.e4s.io/runners/tools-pad256 26 | TOOLS_PATH=/opt/tools 27 | 28 | docker build \ 29 | -t "${output_img}" \ 30 | --build-arg PYTHON_MIRROR=$PYTHON_MIRROR \ 31 | --build-arg PYTHON_PATH=$PYTHON_PATH \ 32 | --build-arg PYTHON_VERSION=$PYTHON_VERSION \ 33 | --build-arg SPACK_CORE_CHECKOUT=$SPACK_CORE_CHECKOUT \ 34 | --build-arg SPACK_CORE_REPO=$SPACK_CORE_REPO \ 35 | --build-arg SPACK_CORE_ROOT=$SPACK_CORE_ROOT \ 36 | --build-arg SPACK_PACKAGES_CHECKOUT=$SPACK_PACKAGES_CHECKOUT \ 37 | --build-arg SPACK_PACKAGES_REPO=$SPACK_PACKAGES_REPO \ 38 | --build-arg SPACK_PACKAGES_ROOT=$SPACK_PACKAGES_ROOT \ 39 | --build-arg TOOLS_MIRROR=$TOOLS_MIRROR \ 40 | --build-arg TOOLS_PATH=$TOOLS_PATH \ 41 | --secret id=AWS_ACCESS_KEY_ID \ 42 | --secret id=AWS_SECRET_ACCESS_KEY \ 43 | --secret id=SIGNING_KEY,src=$SIGNING_KEY_PATH \ 44 | --progress=plain \ 45 | -f ./Dockerfile \ 46 | assets 47 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-arm64-gcc-13.3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | . assets/utilities.sh 4 | 5 | [[ -f secrets.env ]] && . $(cat secrets.env) >/dev/null 2>&1 6 | 7 | require_env AWS_ACCESS_KEY_ID 8 | require_env AWS_SECRET_ACCESS_KEY 9 | require_env SIGNING_KEY_PATH 10 | 11 | name=ubuntu24.04-runner-arm64-gcc-13.3 12 | tag=${BUILD_TAG:-$(printf '%(%Y.%m.%d)T' -1)} 13 | registry=${REGISTRY:-ecpe4s} 14 | output_img="${registry}/${name}:${tag}" 15 | 16 | PYTHON_MIRROR=cache.e4s.io/runners/python-pad256 17 | PYTHON_PATH=/opt/python 18 | PYTHON_VERSION=3.12.11 19 | SPACK_CORE_CHECKOUT=v1.0.2 20 | SPACK_CORE_REPO=https://github.com/spack/spack 21 | SPACK_CORE_ROOT=/spack 22 | SPACK_PACKAGES_CHECKOUT=9b9174352b562a210cff991b73fe1d7793b825d9 23 | SPACK_PACKAGES_REPO=https://github.com/spack/spack-packages 24 | SPACK_PACKAGES_ROOT=/spack-packages 25 | TOOLS_MIRROR=cache.e4s.io/runners/tools-pad256 26 | TOOLS_PATH=/opt/tools 27 | 28 | docker build \ 29 | -t "${output_img}" \ 30 | --build-arg PYTHON_MIRROR=$PYTHON_MIRROR \ 31 | --build-arg PYTHON_PATH=$PYTHON_PATH \ 32 | --build-arg PYTHON_VERSION=$PYTHON_VERSION \ 33 | --build-arg SPACK_CORE_CHECKOUT=$SPACK_CORE_CHECKOUT \ 34 | --build-arg SPACK_CORE_REPO=$SPACK_CORE_REPO \ 35 | --build-arg SPACK_CORE_ROOT=$SPACK_CORE_ROOT \ 36 | --build-arg SPACK_PACKAGES_CHECKOUT=$SPACK_PACKAGES_CHECKOUT \ 37 | --build-arg SPACK_PACKAGES_REPO=$SPACK_PACKAGES_REPO \ 38 | --build-arg SPACK_PACKAGES_ROOT=$SPACK_PACKAGES_ROOT \ 39 | --build-arg TOOLS_MIRROR=$TOOLS_MIRROR \ 40 | --build-arg TOOLS_PATH=$TOOLS_PATH \ 41 | --secret id=AWS_ACCESS_KEY_ID \ 42 | --secret id=AWS_SECRET_ACCESS_KEY \ 43 | --secret id=SIGNING_KEY,src=$SIGNING_KEY_PATH \ 44 | --progress=plain \ 45 | -f ./Dockerfile \ 46 | assets 47 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM redhat/ubi8:8.7-1037 2 | 3 | RUN yum update -y \ 4 | && yum install -y \ 5 | autoconf \ 6 | automake \ 7 | bzip2 \ 8 | curl \ 9 | file \ 10 | findutils \ 11 | gcc \ 12 | gcc-c++ \ 13 | gcc-gfortran \ 14 | gettext \ 15 | git \ 16 | hostname \ 17 | iputils \ 18 | jq \ 19 | libffi-devel \ 20 | m4 \ 21 | make \ 22 | ncurses-devel \ 23 | patch \ 24 | pciutils \ 25 | procps \ 26 | python3-devel \ 27 | unzip \ 28 | vim \ 29 | wget \ 30 | which \ 31 | xz \ 32 | && yum clean all \ 33 | && rm -rf /var/cache/yum/* 34 | 35 | RUN ln -s `which python3` /usr/bin/python 36 | 37 | RUN python3 -m pip install --upgrade pip setuptools wheel \ 38 | && python3 -m pip install gnureadline pyyaml pytz minio requests clingo \ 39 | && python3 -m pip install boto3==1.20.35 botocore==1.23.42 \ 40 | && rm -rf ~/.cache 41 | 42 | COPY /spack.yaml / 43 | 44 | RUN git clone https://github.com/spack/spack /tmp/spack \ 45 | && . /tmp/spack/share/spack/setup-env.sh \ 46 | && spack -e . install \ 47 | && spack -e . gc -y \ 48 | && spack clean -a \ 49 | && rm -rf /tmp/spack /spack.yaml /spack.lock /.spack-env 50 | 51 | RUN echo export PATH=/bootstrap/runner/view/bin:'${PATH}' >> /etc/bashrc \ 52 | && echo . $(find /bootstrap/runner -type f -name bash) >> /etc/bashrc \ 53 | && mkdir -p /modules \ 54 | && echo module use /modules >> /etc/bashrc 55 | 56 | RUN echo /bootstrap/runner/view/lib > /etc/ld.so.conf.d/spack-runner-bootstrap.conf \ 57 | && ldconfig 58 | 59 | ENV PATH=$PATH:/bootstrap/runner/view/bin 60 | 61 | CMD ["/bin/bash"] 62 | 63 | ENV NVIDIA_VISIBLE_DEVICES=all \ 64 | NVIDIA_DRIVER_CAPABILITIES=compute,utility 65 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-aarch64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM redhat/ubi8:8.6-903 2 | 3 | RUN yum update -y \ 4 | && yum install -y \ 5 | autoconf \ 6 | automake \ 7 | bzip2 \ 8 | curl \ 9 | file \ 10 | findutils \ 11 | gcc \ 12 | gcc-c++ \ 13 | gcc-gfortran \ 14 | gettext \ 15 | git \ 16 | hostname \ 17 | iputils \ 18 | jq \ 19 | libatomic \ 20 | m4 \ 21 | make \ 22 | ncurses-devel \ 23 | patch \ 24 | pciutils \ 25 | procps \ 26 | python3-devel \ 27 | unzip \ 28 | vim \ 29 | wget \ 30 | which \ 31 | xz \ 32 | && yum clean all \ 33 | && rm -rf /var/cache/yum/* 34 | 35 | RUN ln -s `which python3` /usr/bin/python 36 | 37 | RUN python3 -m pip install --upgrade pip setuptools wheel \ 38 | && python3 -m pip install gnureadline pyyaml pytz minio requests clingo \ 39 | && python3 -m pip install boto3==1.20.35 botocore==1.23.42 \ 40 | && rm -rf ~/.cache 41 | 42 | COPY /spack.yaml / 43 | 44 | RUN git clone https://github.com/spack/spack /tmp/spack \ 45 | && . /tmp/spack/share/spack/setup-env.sh \ 46 | && spack -e . install \ 47 | && spack -e . gc -y \ 48 | && spack clean -a \ 49 | && rm -rf /tmp/spack /spack.yaml /spack.lock /.spack-env 50 | 51 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" \ 52 | && unzip awscliv2.zip \ 53 | && ./aws/install \ 54 | && rm -rf awscliv2.zip 55 | 56 | RUN echo export PATH=/bootstrap/runner/view/bin:'${PATH}' >> /etc/bashrc \ 57 | && echo . $(find /bootstrap/runner -type f -name bash) >> /etc/bashrc \ 58 | && mkdir -p /modules \ 59 | && echo module use /modules >> /etc/bashrc 60 | 61 | CMD ["/bin/bash"] 62 | 63 | ENV NVIDIA_VISIBLE_DEVICES=all \ 64 | NVIDIA_DRIVER_CAPABILITIES=compute,utility 65 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/sc19-walkthrough.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function pause() { 4 | read -p "$*" 5 | } 6 | 7 | function p() { 8 | printf "${GR}[ ${1} ]${NC} ${2}\n" 9 | } 10 | 11 | function slu() { 12 | p "SUPERLU_DIST" "${1}" 13 | } 14 | 15 | function bfly() { 16 | p "BUTTERFLYPACK" "${1}" 17 | } 18 | 19 | function strum() { 20 | p "STRUMPACK" "${1}" 21 | } 22 | 23 | GR='\033[0;32m' 24 | NC='\033[0m' 25 | 26 | slu "changing into /superlu_dist/EXAMPLE" 27 | cd /superlu_dist/EXAMPLE 28 | 29 | slu "press [enter] to run: OMP_NUM_THREADS=2 mpiexec -n 10 ./pzdrive4 cg20.cua" 30 | pause "" 31 | OMP_NUM_THREADS=2 mpiexec -n 10 ./pzdrive4 cg20.cua 32 | 33 | printf "\n\n" 34 | 35 | slu "press [enter] to run: OMP_NUM_THREADS=2 mpiexec -n 4 ./pddrive -r 2 -c 2 g20.rua" 36 | pause "" 37 | OMP_NUM_THREADS=2 mpiexec -n 4 ./pddrive -r 2 -c 2 g20.rua 38 | 39 | 40 | printf "\n\n" 41 | bfly "changing into /ButterflyPACK" 42 | cd /ButterflyPACK 43 | 44 | bfly "press [enter] to run: mpiexec -n 4 ./EXAMPLE/ie2d" 45 | pause "" 46 | mpiexec -n 4 ./EXAMPLE/ie2d 47 | 48 | 49 | printf "\n\n" 50 | strum "changing into /STRUMPACK/examples" 51 | cd /STRUMPACK/examples 52 | 53 | #strum "press [enter] to build: make testMMdouble" 54 | #pause "" 55 | #make testMMdouble 56 | 57 | #printf "\n\n" 58 | strum "press [enter] to run: OMP_NUM_THREADS=4 ./testMMdouble ./data/pde900.mtx" 59 | pause "" 60 | OMP_NUM_THREADS=4 ./testMMdouble ./data/pde900.mtx 61 | 62 | #printf "\n\n" 63 | #strum "press [enter] to build: make testMMdoubleMPIDist64" 64 | #pause "" 65 | #make testMMdoubleMPIDist64 66 | 67 | printf "\n\n" 68 | strum "press [enter] to run: OMP_NUM_THREADS=1 mpirun -n 4 ./testMMdoubleMPIDist64 ./data/pde900.mtx" 69 | pause "" 70 | OMP_NUM_THREADS=1 mpirun -n 4 ./testMMdoubleMPIDist64 ./data/pde900.mtx 71 | 72 | printf "\n\n${GR}WALKTHROUGH COMPLETE${NC}\n\n" 73 | -------------------------------------------------------------------------------- /docker-recipes/runner/ubuntu24.04-amd64-gcc-13.3/assets/build-and-install-python.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ## Helpers 4 | . utilities.sh 5 | 6 | require_env PYTHON_MIRROR 7 | require_env PYTHON_PATH 8 | require_env PYTHON_VERSION 9 | require_env SPACK_CORE_ROOT 10 | 11 | export AWS_ACCESS_KEY_ID=$(cat /run/secrets/AWS_ACCESS_KEY_ID) 12 | export AWS_SECRET_ACCESS_KEY=$(cat /run/secrets/AWS_SECRET_ACCESS_KEY) 13 | 14 | . $SPACK_CORE_ROOT/share/spack/setup-env.sh 15 | 16 | cmd "$(cat <> /etc/bash.bashrc 15 | 16 | COPY /spack.yaml /spack.yaml 17 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 18 | && spack -e . concretize -f | tee concretize.log \ 19 | && spack -e . env depfile -o Makefile \ 20 | && export SPACK_INSTALL_FLAGS=--cache-only \ 21 | && make -j16 -k || make -j16 -k || make -j16 \ 22 | && spack clean -a \ 23 | && mkdir -p /etc/e4s/base \ 24 | && mv spack.yaml spack.lock concretize.log /etc/e4s/base/ \ 25 | && rm -rf .spack-env Makefile ~/.spack 26 | 27 | COPY /compilers.yaml /spack/etc/spack 28 | COPY /modules.yaml /spack/etc/spack 29 | COPY /packages.yaml /spack/etc/spack 30 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 31 | && spack module lmod refresh --delete-tree -y \ 32 | && echo module use /spack/share/spack/lmod/linux-ubuntu20.04-ppc64le/Core >> /etc/bash.bashrc \ 33 | && echo module load mpich >> /etc/bash.bashrc \ 34 | && spack clean -a 35 | 36 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 37 | && spack config --scope site add "config:misc_cache:"'$spack'"/var/spack/misc_cache" \ 38 | && spack list --count 39 | 40 | RUN apt update -y \ 41 | && apt install -y valgrind \ 42 | && apt clean -y 43 | 44 | RUN echo unset which >> /etc/bash.bashrc 45 | 46 | RUN updatedb 47 | 48 | ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/bash.bashrc"] -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-aarch64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu20.04-runner-arm64-gcc-11.4-mpi-base:2023.08.20 2 | 3 | ENV SPACK_ROOT=/spack 4 | 5 | RUN git clone https://github.com/spack/spack $SPACK_ROOT \ 6 | && (cd $SPACK_ROOT && git checkout e4s-24.02) \ 7 | && . $SPACK_ROOT/share/spack/setup-env.sh \ 8 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 9 | && spack config add "config:db_lock_timeout:480" \ 10 | && spack config add "config:connect_timeout:61" \ 11 | && spack mirror add E4S https://cache.e4s.io/24.02 \ 12 | && spack buildcache keys -it \ 13 | && rm -rf ~/.spack \ 14 | && echo . $SPACK_ROOT/share/spack/setup-env.sh >> /etc/bash.bashrc 15 | 16 | COPY /spack.yaml /spack.yaml 17 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 18 | && spack -e . concretize -f | tee concretize.log \ 19 | && spack -e . env depfile -o Makefile \ 20 | && export SPACK_INSTALL_FLAGS=--cache-only \ 21 | && make -j16 -k || make -j16 -k || make -j16 \ 22 | && spack clean -a \ 23 | && mkdir -p /etc/e4s/base \ 24 | && mv spack.yaml spack.lock concretize.log /etc/e4s/base/ \ 25 | && rm -rf .spack-env Makefile ~/.spack 26 | 27 | COPY /compilers.yaml /spack/etc/spack 28 | COPY /modules.yaml /spack/etc/spack 29 | COPY /packages.yaml /spack/etc/spack 30 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 31 | && spack module lmod refresh --delete-tree -y \ 32 | && echo module use /spack/share/spack/lmod/linux-ubuntu20.04-aarch64/Core >> /etc/bash.bashrc \ 33 | && echo module load mpich >> /etc/bash.bashrc \ 34 | && spack clean -a 35 | 36 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 37 | && spack config --scope site add "config:misc_cache:"'$spack'"/var/spack/misc_cache" \ 38 | && spack list --count 39 | 40 | RUN apt update -y \ 41 | && apt install -y valgrind \ 42 | && apt clean -y 43 | 44 | RUN echo unset which >> /etc/bash.bashrc 45 | 46 | RUN updatedb 47 | 48 | ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/bash.bashrc"] 49 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubuntu20.04-runner-amd64-gcc-11.4-mpi-base:2023.08.20 2 | 3 | ENV SPACK_ROOT=/spack 4 | 5 | RUN git clone https://github.com/spack/spack $SPACK_ROOT \ 6 | && (cd $SPACK_ROOT && git checkout e4s-24.02) \ 7 | && . $SPACK_ROOT/share/spack/setup-env.sh \ 8 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 9 | && spack config add "config:db_lock_timeout:480" \ 10 | && spack config add "config:connect_timeout:61" \ 11 | && spack mirror add E4S https://cache.e4s.io/24.02 \ 12 | && spack buildcache keys -it \ 13 | && rm -rf ~/.spack \ 14 | && echo . $SPACK_ROOT/share/spack/setup-env.sh >> /etc/bash.bashrc 15 | 16 | COPY /spack.yaml /spack.yaml 17 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 18 | && spack -e . concretize -f | tee concretize.log \ 19 | && spack -e . env depfile -o Makefile \ 20 | && export SPACK_INSTALL_FLAGS=--cache-only \ 21 | && make -j16 -k || make -j16 -k || make -j16 \ 22 | && spack clean -a \ 23 | && mkdir -p /etc/e4s/base \ 24 | && mv spack.yaml spack.lock concretize.log /etc/e4s/base/ \ 25 | && rm -rf .spack-env Makefile ~/.spack 26 | 27 | COPY /compilers.yaml /spack/etc/spack 28 | COPY /modules.yaml /spack/etc/spack 29 | COPY /packages.yaml /spack/etc/spack 30 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 31 | && spack module lmod refresh --delete-tree -y \ 32 | && echo module use /spack/share/spack/lmod/linux-ubuntu20.04-x86_64/Core >> /etc/bash.bashrc \ 33 | && echo module load mpich >> /etc/bash.bashrc \ 34 | && spack clean -a 35 | 36 | RUN . $SPACK_ROOT/share/spack/setup-env.sh \ 37 | && spack config --scope site add "config:misc_cache:"'$spack'"/var/spack/misc_cache" \ 38 | && spack list --count 39 | 40 | RUN apt update -y \ 41 | && apt install -y valgrind \ 42 | && apt clean -y 43 | 44 | RUN echo unset which >> /etc/bash.bashrc 45 | 46 | RUN updatedb 47 | 48 | ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/bash.bashrc"] 49 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/rhel8-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM redhat/ubi8:8.7-1037 2 | 3 | RUN yum update -y \ 4 | && yum install -y \ 5 | autoconf \ 6 | automake \ 7 | bzip2 \ 8 | curl \ 9 | file \ 10 | findutils \ 11 | gcc \ 12 | gcc-c++ \ 13 | gcc-gfortran \ 14 | gettext \ 15 | git \ 16 | hostname \ 17 | iputils \ 18 | jq \ 19 | libatomic \ 20 | m4 \ 21 | make \ 22 | ncurses-devel \ 23 | patch \ 24 | pciutils \ 25 | procps \ 26 | python3-devel \ 27 | unzip \ 28 | vim \ 29 | wget \ 30 | which \ 31 | xz \ 32 | && yum clean all \ 33 | && rm -rf /var/cache/yum/* 34 | 35 | RUN ln -s `which python3` /usr/bin/python 36 | 37 | RUN python3 -m pip install --upgrade pip setuptools wheel \ 38 | && python3 -m pip install gnureadline pyyaml pytz minio requests clingo \ 39 | && python3 -m pip install boto3==1.20.35 botocore==1.23.42 \ 40 | && rm -rf ~/.cache 41 | 42 | COPY /spack.yaml / 43 | 44 | RUN git clone https://github.com/spack/spack /tmp/spack \ 45 | && . /tmp/spack/share/spack/setup-env.sh \ 46 | && spack -e . install \ 47 | && spack -e . gc -y \ 48 | && spack clean -a \ 49 | && rm -rf /tmp/spack /spack.yaml /spack.lock /.spack-env 50 | 51 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ 52 | && unzip awscliv2.zip \ 53 | && ./aws/install \ 54 | && rm -rf awscliv2.zip 55 | 56 | RUN echo export PATH=/bootstrap/runner/view/bin:'${PATH}' >> /etc/bashrc \ 57 | && echo . $(find /bootstrap/runner -type f -name bash) >> /etc/bashrc \ 58 | && mkdir -p /modules \ 59 | && echo module use /modules >> /etc/bashrc 60 | 61 | RUN echo /bootstrap/runner/view/lib > /etc/ld.so.conf.d/spack-runner-bootstrap.conf \ 62 | && ldconfig 63 | 64 | ENV PATH=$PATH:/bootstrap/runner/view/bin 65 | 66 | CMD ["/bin/bash"] 67 | 68 | ENV NVIDIA_VISIBLE_DEVICES=all \ 69 | NVIDIA_DRIVER_CAPABILITIES=compute,utility 70 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-arm64-gcc-10.2.1-glibc2.17-libcrypt1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7.9.2009 2 | 3 | COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo 4 | 5 | RUN yum update -y \ 6 | && yum install -y \ 7 | bzip2 \ 8 | file \ 9 | git \ 10 | patch \ 11 | python3 \ 12 | vim 13 | 14 | COPY CentOS-SCL.repo /etc/yum.repos.d/CentOS-SCL.repo 15 | 16 | RUN yum install -y centos-release-scl \ 17 | && rm -f rm /etc/yum.repos.d/CentOS-SCLo*.repo \ 18 | && yum install -y devtoolset-10 19 | 20 | RUN python3 -m pip install boto3 21 | 22 | ENV BOOTSTRAP_DIR=/usr/local/basic-tools 23 | 24 | COPY /spack.yaml /spack.yaml.pre 25 | 26 | RUN sed 's@$BOOTSTRAP_DIR@'$BOOTSTRAP_DIR'@g' spack.yaml.pre > spack.yaml \ 27 | && rm spack.yaml.pre 28 | 29 | RUN export S=/tmp/spack \ 30 | && git clone https://github.com/spack/spack $S \ 31 | && (cd $S && git checkout 00ae96a7cb6babfd8c383832e6a59d7b75311cca) \ 32 | && . $S/share/spack/setup-env.sh \ 33 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 34 | && spack config add 'config:build_stage:$spack/build_stage' \ 35 | && spack config add "config:db_lock_timeout:360" \ 36 | && spack config add "config:connect_timeout:60" \ 37 | && spack mirror add bootstrap https://cache.e4s.io/spack-bootstrap/centos7-glibc2.17-libcrypt1 \ 38 | && spack buildcache keys -it \ 39 | && spack -e . concretize -f | tee concretize.log \ 40 | && spack -e . install --cache-only \ 41 | && spack clean -a \ 42 | && mv spack.yaml spack.lock concretize.log $BOOTSTRAP_DIR/ \ 43 | && rm -rf $S .spack-env Makefile ~/.spack 44 | 45 | RUN cd /tmp \ 46 | && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ 47 | && unzip awscliv2.zip \ 48 | && ./aws/install \ 49 | && rm -rf awscliv2.zip aws 50 | 51 | RUN echo source scl_source enable devtoolset-10 >> /etc/bashrc \ 52 | && echo export PATH=$BOOTSTRAP_DIR/view/bin:'$PATH' >> /etc/bashrc 53 | 54 | ENV PATH=$BOOTSTRAP_DIR/view/bin:$PATH 55 | -------------------------------------------------------------------------------- /docker-recipes/archived/ubuntu21.04-runner-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG BASE_IMAGE=ubuntu:21.04 5 | 6 | FROM ${BASE_IMAGE} 7 | 8 | ARG BASE_IMAGE 9 | ARG BUILD_DATE 10 | ARG BUILD_REPO 11 | ARG BUILD_REPO_REF 12 | 13 | ARG DEBIAN_FRONTEND=noninteractive 14 | ENV TZ=America/Los_Angeles 15 | 16 | RUN apt update -y \ 17 | && apt upgrade -y \ 18 | && apt install -y \ 19 | autoconf \ 20 | automake \ 21 | bzip2 \ 22 | cpio \ 23 | curl \ 24 | emacs-nox \ 25 | file \ 26 | findutils \ 27 | g++ \ 28 | gcc \ 29 | gettext \ 30 | gfortran \ 31 | git \ 32 | gpg \ 33 | iputils-ping \ 34 | jq \ 35 | libffi-dev \ 36 | libssl-dev \ 37 | libxml2-dev \ 38 | locales \ 39 | locate \ 40 | m4 \ 41 | make \ 42 | mercurial \ 43 | ncurses-dev \ 44 | patch \ 45 | patchelf \ 46 | pciutils \ 47 | python3-pip \ 48 | rsync \ 49 | unzip \ 50 | vim \ 51 | wget \ 52 | zlib1g-dev \ 53 | && locale-gen en_US.UTF-8 \ 54 | && apt autoremove --purge \ 55 | && apt clean \ 56 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 57 | && ln -s `which python3` /usr/bin/python 58 | 59 | RUN python -m pip install --upgrade pip setuptools wheel \ 60 | && python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ 61 | && rm -rf ~/.cache 62 | 63 | RUN ln -s /usr/include/powerpc64le-linux-gnu/asm /usr/include/asm \ 64 | && ln -s /usr/include/powerpc64le-linux-gnu/bits /usr/include/bits \ 65 | && ln -s /usr/include/powerpc64le-linux-gnu/gnu /usr/include/gnu \ 66 | && ln -s /usr/include/powerpc64le-linux-gnu/sys /usr/include/sys 67 | 68 | CMD ["/bin/bash"] 69 | 70 | ENV NVIDIA_VISIBLE_DEVICES=all \ 71 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 72 | LANGUAGE=en_US:en \ 73 | LANG=en_US.UTF-8 \ 74 | LC_ALL=en_US.UTF-8 75 | 76 | LABEL io.e4s.base.build-date=${BUILD_DATE} 77 | LABEL io.e4s.base.repo=${BUILD_REPO} 78 | LABEL io.e4s.base.repo-ref=${BUILD_REPO_REF} 79 | LABEL io.e4s.base.base-img=${BASE_IMAGE} 80 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/centos7-builder-amd64-gcc-10.2.1-glibc2.17-libcrypt1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7.9.2009 2 | 3 | COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo 4 | 5 | RUN yum update -y \ 6 | && yum install -y \ 7 | bzip2 \ 8 | file \ 9 | git \ 10 | patch \ 11 | python3 \ 12 | vim \ 13 | gettext 14 | 15 | COPY CentOS-SCL.repo /etc/yum.repos.d/CentOS-SCL.repo 16 | 17 | RUN yum install -y centos-release-scl \ 18 | && rm -f rm /etc/yum.repos.d/CentOS-SCLo*.repo \ 19 | && yum install -y devtoolset-10 20 | 21 | RUN rm -rf rm -f /lib64/libcrypt.so \ 22 | && ldconfig -v 23 | 24 | RUN python3 -m pip install boto3 25 | 26 | ENV BOOTSTRAP_DIR=/usr/local/spack-tools 27 | 28 | COPY /spack.yaml /spack.yaml.pre 29 | 30 | RUN envsubst < spack.yaml.pre > spack.yaml \ 31 | && rm spack.yaml.pre 32 | 33 | RUN export S=/tmp/spack \ 34 | && git clone https://github.com/spack/spack $S \ 35 | && (cd $S && git checkout 4f9aa6004b4324bc819fcb25f4ed9acaa6cf11bc) \ 36 | && . $S/share/spack/setup-env.sh \ 37 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 38 | && spack config add 'config:build_stage:$spack/build_stage' \ 39 | && spack config add "config:db_lock_timeout:360" \ 40 | && spack config add "config:connect_timeout:60" \ 41 | && spack mirror add bootstrap https://cache.e4s.io/spack-bootstrap/centos7-glibc2.17-libcrypt1/2024.11.20/pad256 \ 42 | && spack buildcache keys -it \ 43 | && spack -e . concretize -f | tee concretize.log \ 44 | && spack -e . install --cache-only \ 45 | && spack clean -a \ 46 | && mv spack.yaml spack.lock concretize.log $BOOTSTRAP_DIR/ \ 47 | && rm -rf $S .spack-env Makefile ~/.spack 48 | 49 | RUN cd /tmp \ 50 | && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ 51 | && unzip awscliv2.zip \ 52 | && ./aws/install \ 53 | && rm -rf awscliv2.zip aws 54 | 55 | RUN echo source scl_source enable devtoolset-10 >> /etc/bashrc \ 56 | && echo export PATH=$BOOTSTRAP_DIR/view/bin:'${PATH}' >> /etc/bashrc 57 | 58 | ENV PATH=$BOOTSTRAP_DIR/view/bin:$PATH 59 | -------------------------------------------------------------------------------- /docker-recipes/archived/special/superlu-sc/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ecpe4s/ubi7_x86_64_base:1.3 2 | 3 | ARG dnproc=1 4 | ENV dnproc=${dnproc} 5 | RUN echo ${dnproc} 6 | 7 | WORKDIR /spack 8 | RUN git fetch && git checkout 56de86dda 9 | 10 | COPY /spack.yaml /spack.lock /slu-sc19-env/ 11 | WORKDIR /slu-sc19-env 12 | 13 | RUN spack install \ 14 | && spack clean -a 15 | 16 | RUN echo -e "\ 17 | spack load parmetis\n\ 18 | spack load metis\n\ 19 | spack load openblas threads=openmp\n\ 20 | spack load netlib-scalapack\n\ 21 | spack load netlib-lapack\n\ 22 | spack load butterflypack@1.1.0\n\ 23 | spack load arpack-ng\n\ 24 | spack load superlu-dist@6.2.0\n\ 25 | spack load strumpack@3.3.0\n\ 26 | spack load emacs" >> /etc/bashrc 27 | 28 | WORKDIR / 29 | 30 | RUN git clone --depth=2 https://github.com/xiaoyeli/superlu_dist.git \ 31 | && git clone --depth=1 https://github.com/liuyangzhuan/ButterflyPACK.git \ 32 | && git clone --depth=1 https://github.com/pghysels/STRUMPACK.git \ 33 | && rm -rf /ButterflyPack/build/* /superlu_dist/build/* 34 | 35 | COPY /superlu-dist-build.sh /superlu_dist/sc19-build.sh 36 | COPY /butterflypack-build.sh /ButterflyPACK/sc19-build.sh 37 | COPY /strumpack-build.sh /STRUMPACK/sc19-build.sh 38 | 39 | COPY /sc19-build-all.sh / 40 | 41 | RUN . /etc/profile \ 42 | && ./sc19-build-all.sh \ 43 | && rm sc19-build-all.sh 44 | 45 | RUN . /etc/profile \ 46 | && pip3 install --upgrade sklearn numpy mpi4py \ 47 | && rm -rf /root/.cache 48 | 49 | COPY /PETSc_example /PETSc_example 50 | ENV PETSC_DIR=/PETSc_example/petsc 51 | RUN git clone --depth=1 -b maint https://gitlab.com/petsc/petsc.git /PETSc_example/petsc \ 52 | && mv /PETSc_example/petsc-config.sh /PETSc_example/petsc/. \ 53 | && cd /PETSc_example/petsc \ 54 | && . /etc/profile \ 55 | && ./petsc-config.sh \ 56 | && make \ 57 | && cd .. && make 58 | 59 | WORKDIR / 60 | 61 | COPY /sc19-walkthrough.sh / 62 | COPY /strumpack-run-py.sh /STRUMPACK/examples/run-py.sh 63 | 64 | ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/STRUMPACK/install/lib \ 65 | PYTHONPATH=${PYTHONPATH}:/STRUMPACK/install/include/python 66 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-ppc64le/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: false 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@9.4.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: ubuntu20.04 18 | target: ppc64le 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | packages: 24 | all: 25 | require: "%gcc@9.4.0" 26 | compiler: [gcc@9.4.0] 27 | providers: 28 | blas: [openblas] 29 | mpi: [mpich] 30 | target: [ppc64le] 31 | variants: +mpi 32 | binutils: 33 | variants: +ld +gold +headers +libiberty ~nls 34 | elfutils: 35 | variants: +bzip2 ~nls +xz 36 | hdf5: 37 | variants: +fortran +hl +shared 38 | libfabric: 39 | variants: fabrics=sockets,tcp,udp,rxm 40 | libunwind: 41 | variants: +pic +xz 42 | openblas: 43 | variants: threads=openmp 44 | trilinos: 45 | variants: +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext 46 | +ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu 47 | +nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos 48 | +teko +tempus +tpetra +trilinoscouplings +zoltan +zoltan2 +superlu-dist gotype=long_long 49 | xz: 50 | variants: +pic 51 | mesa: 52 | version: [21.3.8] 53 | mpi: 54 | require: mpich 55 | mpich: 56 | require: '@4.1.2 ~wrapperrpath ~hwloc' 57 | buildable: false 58 | externals: 59 | - spec: mpich@4.1.2 ~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi 60 | prefix: /usr/local/mpich/install/mpich 61 | ncurses: 62 | require: '@6.3 +termlib' 63 | faodel: 64 | require: "~tcmalloc" 65 | tbb: 66 | require: intel-tbb 67 | libffi: 68 | require: "@3.4.4" 69 | vtk-m: 70 | require: "+examples" 71 | cuda: 72 | require: "@11.4.4" 73 | raja: 74 | variants: +plugins 75 | 76 | specs: 77 | - mpich -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | 3 | ARG DEBIAN_FRONTEND=noninteractive 4 | ENV TZ=America/Los_Angeles 5 | 6 | RUN apt update -y \ 7 | && apt upgrade -y \ 8 | && apt clean -y 9 | 10 | RUN apt update -y \ 11 | && apt install -y \ 12 | autoconf \ 13 | automake \ 14 | bzip2 \ 15 | cpio \ 16 | curl \ 17 | emacs-nox \ 18 | file \ 19 | findutils \ 20 | g++ \ 21 | gcc \ 22 | gettext \ 23 | gfortran \ 24 | git \ 25 | gpg \ 26 | iputils-ping \ 27 | jq \ 28 | libffi-dev \ 29 | libssl-dev \ 30 | libudev-dev \ 31 | libxml2-dev \ 32 | locales \ 33 | locate \ 34 | m4 \ 35 | make \ 36 | mercurial \ 37 | ncurses-dev \ 38 | patch \ 39 | pciutils \ 40 | python3-pip \ 41 | rsync \ 42 | unzip \ 43 | uuid-runtime \ 44 | vim \ 45 | wget \ 46 | zlib1g-dev \ 47 | && apt autoremove --purge \ 48 | && apt clean 49 | 50 | RUN locale-gen en_US.UTF-8 \ 51 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 52 | && ln -s `which python3` /usr/bin/python 53 | 54 | RUN python -m pip install --upgrade pip setuptools wheel \ 55 | && python -m pip install gnureadline pyyaml pytz minio requests clingo \ 56 | && python -m pip install boto3==1.20.35 botocore==1.23.42 \ 57 | && rm -rf ~/.cache 58 | 59 | COPY /spack.yaml / 60 | 61 | RUN git clone https://github.com/spack/spack /tmp/spack \ 62 | && . /tmp/spack/share/spack/setup-env.sh \ 63 | && spack -e . install \ 64 | && spack -e . gc -y \ 65 | && spack clean -a \ 66 | && rm -rf /tmp/spack /spack.yaml /spack.lock /.spack-env 67 | 68 | RUN ln -s /usr/include/powerpc64le-linux-gnu/asm /usr/include/asm \ 69 | && ln -s /usr/include/powerpc64le-linux-gnu/bits /usr/include/bits \ 70 | && ln -s /usr/include/powerpc64le-linux-gnu/gnu /usr/include/gnu \ 71 | && ln -s /usr/include/powerpc64le-linux-gnu/sys /usr/include/sys 72 | 73 | RUN echo export PATH=/bootstrap/runner/view/bin:'${PATH}' >> /etc/bash.bashrc \ 74 | && echo . $(find /bootstrap/runner -type f -name bash) >> /etc/bash.bashrc \ 75 | && mkdir -p /modules \ 76 | && echo module use /modules >> /etc/bash.bashrc 77 | 78 | RUN echo /bootstrap/runner/view/lib > /etc/ld.so.conf.d/spack-runner-bootstrap.conf \ 79 | && ldconfig 80 | 81 | ENV PATH=$PATH:/bootstrap/runner/view/bin 82 | 83 | CMD ["/bin/bash"] 84 | 85 | ENV NVIDIA_VISIBLE_DEVICES=all \ 86 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 87 | LANGUAGE=en_US:en \ 88 | LANG=en_US.UTF-8 \ 89 | LC_ALL=en_US.UTF-8 90 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-aarch64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | 3 | ARG DEBIAN_FRONTEND=noninteractive 4 | ENV TZ=America/Los_Angeles 5 | 6 | RUN apt update -y \ 7 | && apt upgrade -y \ 8 | && apt clean -y 9 | 10 | RUN apt update -y \ 11 | && apt install -y \ 12 | autoconf \ 13 | automake \ 14 | bzip2 \ 15 | cpio \ 16 | curl \ 17 | emacs-nox \ 18 | file \ 19 | findutils \ 20 | g++ \ 21 | gcc \ 22 | gettext \ 23 | gfortran \ 24 | git \ 25 | gpg \ 26 | iputils-ping \ 27 | jq \ 28 | libffi-dev \ 29 | libssl-dev \ 30 | libudev-dev \ 31 | libxml2-dev \ 32 | locales \ 33 | locate \ 34 | m4 \ 35 | make \ 36 | mercurial \ 37 | ncurses-dev \ 38 | patch \ 39 | patchelf \ 40 | pciutils \ 41 | python3-pip \ 42 | rsync \ 43 | unzip \ 44 | uuid-runtime \ 45 | vim \ 46 | wget \ 47 | zlib1g-dev \ 48 | && apt autoremove --purge \ 49 | && apt clean 50 | 51 | RUN locale-gen en_US.UTF-8 \ 52 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 53 | && ln -s `which python3` /usr/bin/python 54 | 55 | RUN python -m pip install --upgrade pip setuptools wheel \ 56 | && python -m pip install gnureadline pyyaml pytz minio requests clingo \ 57 | && python -m pip install boto3==1.20.35 botocore==1.23.42 \ 58 | && rm -rf ~/.cache 59 | 60 | COPY /spack.yaml / 61 | 62 | RUN git clone https://github.com/spack/spack /tmp/spack \ 63 | && . /tmp/spack/share/spack/setup-env.sh \ 64 | && spack -e . install \ 65 | && spack -e . gc -y \ 66 | && spack clean -a \ 67 | && rm -rf /tmp/spack /spack.yaml /spack.lock /.spack-env 68 | 69 | RUN ln -s /usr/include/aarch64-linux-gnu/asm /usr/include/asm \ 70 | && ln -s /usr/include/aarch64-linux-gnu/bits /usr/include/bits \ 71 | && ln -s /usr/include/aarch64-linux-gnu/gnu /usr/include/gnu \ 72 | && ln -s /usr/include/aarch64-linux-gnu/sys /usr/include/sys 73 | 74 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" \ 75 | && unzip awscliv2.zip \ 76 | && ./aws/install \ 77 | && rm -rf awscliv2.zip 78 | 79 | RUN echo export PATH=/bootstrap/runner/view/bin:'${PATH}' >> /etc/bash.bashrc \ 80 | && echo . $(find /bootstrap/runner -type f -name bash) >> /etc/bash.bashrc \ 81 | && mkdir -p /modules \ 82 | && echo module use /modules >> /etc/bash.bashrc 83 | 84 | CMD ["/bin/bash"] 85 | 86 | ENV NVIDIA_VISIBLE_DEVICES=all \ 87 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 88 | LANGUAGE=en_US:en \ 89 | LANG=en_US.UTF-8 \ 90 | LC_ALL=en_US.UTF-8 91 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/alinux2023-arm64-gcc-11.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM amazonlinux:2023 as base 2 | 3 | RUN yum -y upgrade 4 | 5 | RUN yum install -y --allowerasing \ 6 | autoconf \ 7 | automake \ 8 | bzip2 \ 9 | curl \ 10 | file \ 11 | findutils \ 12 | gcc \ 13 | gcc-c++ \ 14 | gcc-gfortran \ 15 | gettext \ 16 | git \ 17 | gnupg2 \ 18 | hostname \ 19 | htop \ 20 | iputils \ 21 | jq \ 22 | libatomic \ 23 | m4 \ 24 | make \ 25 | mlocate \ 26 | ncurses-devel \ 27 | patch \ 28 | pciutils \ 29 | procps \ 30 | python3-devel \ 31 | tar \ 32 | unzip \ 33 | vim \ 34 | wget \ 35 | which \ 36 | xz 37 | 38 | RUN ln -s `which python3` /usr/bin/python 39 | 40 | RUN python3 -m ensurepip \ 41 | && python3 -m pip install --upgrade pip setuptools wheel \ 42 | && python3 -m pip install gnureadline pyyaml pytz minio requests clingo \ 43 | && python3 -m pip install boto3==1.20.35 botocore==1.23.42 \ 44 | && rm -rf ~/.cache 45 | 46 | ENV BOOTSTRAP_DIR=/usr/local/spack-tools 47 | 48 | COPY /spack.yaml /spack.yaml.pre 49 | 50 | RUN envsubst < spack.yaml.pre > spack.yaml \ 51 | && rm spack.yaml.pre 52 | 53 | FROM base as complete 54 | 55 | RUN export S=/tmp/spack \ 56 | && git clone https://github.com/spack/spack $S \ 57 | && git -C $S checkout d9b0c4ee806500aa7fd1238d71a4c66f4b03a140 \ 58 | && . $S/share/spack/setup-env.sh \ 59 | && spack config add 'config:build_stage:$spack/build_stage' \ 60 | && spack config add "config:db_lock_timeout:120" \ 61 | && spack config add "config:connect_timeout:60" \ 62 | && spack mirror add bootstrap https://cache.e4s.io/spack-bootstrap \ 63 | && spack buildcache keys -it \ 64 | && spack -e . concretize -f | tee concretize.log \ 65 | && spack -e . install --cache-only \ 66 | && spack clean -a \ 67 | && rm -rf $S spack.yaml spack.lock concretize.log .spack-env Makefile ~/.spack 68 | 69 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" \ 70 | && unzip awscliv2.zip \ 71 | && ./aws/install \ 72 | && rm -rf awscliv2.zip 73 | 74 | RUN echo export PATH=$BOOTSTRAP_DIR/view/bin:'${PATH}' >> /etc/bash.bashrc \ 75 | && echo . $(find $BOOTSTRAP_DIR -type f -name bash) >> /etc/bash.bashrc \ 76 | && mkdir -p /modules \ 77 | && echo module use /modules >> /etc/bash.bashrc 78 | 79 | ENV PATH=$BOOTSTRAP_DIR/view/bin:$PATH 80 | 81 | RUN updatedb 82 | 83 | CMD ["/bin/bash", "--rcfile", "/etc/bashrc"] 84 | 85 | ENV NVIDIA_VISIBLE_DEVICES=all \ 86 | NVIDIA_DRIVER_CAPABILITIES=compute,utility 87 | -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-x86_64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: false 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@=11.4.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: ubuntu20.04 18 | target: x86_64 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | packages: 24 | all: 25 | require: '%gcc' 26 | providers: 27 | blas: [openblas] 28 | mpi: [mpich] 29 | target: [x86_64] 30 | variants: +mpi 31 | binutils: 32 | variants: +ld +gold +headers +libiberty ~nls 33 | elfutils: 34 | variants: +bzip2 ~nls +xz 35 | hdf5: 36 | variants: +fortran +hl +shared 37 | libfabric: 38 | variants: fabrics=sockets,tcp,udp,rxm 39 | libunwind: 40 | variants: +pic +xz 41 | openblas: 42 | variants: threads=openmp 43 | trilinos: 44 | variants: +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext 45 | +ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu 46 | +nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos 47 | +teko +tempus +tpetra +trilinoscouplings +zoltan +zoltan2 +superlu-dist gotype=long_long 48 | xz: 49 | variants: +pic 50 | mesa: 51 | version: [21.3.8] 52 | mpi: 53 | require: mpich 54 | mpich: 55 | require: '@4.1.2 ~wrapperrpath ~hwloc' 56 | buildable: false 57 | externals: 58 | - spec: mpich@4.1.2 ~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi 59 | prefix: /usr/local/mpich/install/mpich 60 | ncurses: 61 | require: '@6.3 +termlib' 62 | tbb: 63 | require: intel-tbb 64 | boost: 65 | version: [1.79.0] 66 | variants: +atomic +chrono +container +date_time +exception +filesystem +graph 67 | +iostreams +locale +log +math +mpi +multithreaded +program_options +random 68 | +regex +serialization +shared +signals +stacktrace +system +test +thread +timer 69 | cxxstd=17 visibility=global 70 | libffi: 71 | require: "@3.4.4" 72 | vtk-m: 73 | require: "+examples" 74 | cuda: 75 | version: [11.8.0] 76 | raja: 77 | variants: +plugins 78 | 79 | specs: 80 | - mpich -------------------------------------------------------------------------------- /docker-recipes/minimal/ubuntu20.04-aarch64/spack.yaml: -------------------------------------------------------------------------------- 1 | spack: 2 | view: false 3 | 4 | concretizer: 5 | reuse: false 6 | unify: false 7 | 8 | compilers: 9 | - compiler: 10 | spec: gcc@11.4.0 11 | paths: 12 | cc: /usr/bin/gcc 13 | cxx: /usr/bin/g++ 14 | f77: /usr/bin/gfortran 15 | fc: /usr/bin/gfortran 16 | flags: {} 17 | operating_system: ubuntu20.04 18 | target: aarch64 19 | modules: [] 20 | environment: {} 21 | extra_rpaths: [] 22 | 23 | packages: 24 | all: 25 | require: '%gcc@11.4.0' 26 | providers: 27 | blas: [openblas] 28 | mpi: [mpich] 29 | target: [aarch64] 30 | variants: +mpi 31 | binutils: 32 | variants: +ld +gold +headers +libiberty ~nls 33 | elfutils: 34 | variants: +bzip2 ~nls +xz 35 | hdf5: 36 | variants: +fortran +hl +shared 37 | libfabric: 38 | variants: fabrics=sockets,tcp,udp,rxm 39 | libunwind: 40 | variants: +pic +xz 41 | openblas: 42 | variants: threads=openmp 43 | trilinos: 44 | variants: +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext 45 | +ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu 46 | +nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos 47 | +teko +tempus +tpetra +trilinoscouplings +zoltan +zoltan2 +superlu-dist gotype=long_long 48 | xz: 49 | variants: +pic 50 | mesa: 51 | version: [21.3.8] 52 | mpi: 53 | require: mpich 54 | mpich: 55 | require: '@4.1.2 ~wrapperrpath ~hwloc' 56 | buildable: false 57 | externals: 58 | - spec: mpich@4.1.2 ~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi 59 | prefix: /usr/local/mpich/install/mpich 60 | ncurses: 61 | require: '@6.3 +termlib' 62 | tbb: 63 | require: intel-tbb 64 | boost: 65 | version: [1.79.0] 66 | variants: +atomic +chrono +container +date_time +exception +filesystem +graph 67 | +iostreams +locale +log +math +mpi +multithreaded +program_options +random 68 | +regex +serialization +shared +signals +stacktrace +system +test +thread +timer 69 | cxxstd=17 visibility=global 70 | libffi: 71 | require: "@3.4.4" 72 | vtk-m: 73 | require: "+examples" 74 | cuda: 75 | version: [11.8.0] 76 | raja: 77 | variants: +plugins 78 | 79 | specs: 80 | - mpich -------------------------------------------------------------------------------- /docker-recipes/archived/spack-minimal/ubuntu18.04-spack-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG BASE_IMAGE=ubuntu:18.04 5 | 6 | FROM ${BASE_IMAGE} 7 | 8 | ARG BASE_IMAGE 9 | ARG BUILD_DATE 10 | ARG BUILD_REPO 11 | ARG BUILD_REPO_REF 12 | 13 | ENV DEBIAN_FRONTEND=noninteractive 14 | ENV TZ=America/Los_Angeles 15 | 16 | RUN apt update -y \ 17 | && apt upgrade -y \ 18 | && apt clean -y 19 | 20 | RUN apt update -y \ 21 | && apt install -y \ 22 | gcc \ 23 | gcc-multilib \ 24 | g++ \ 25 | gfortran \ 26 | lmod \ 27 | uuid-runtime \ 28 | autoconf \ 29 | automake \ 30 | bzip2 \ 31 | cpio \ 32 | curl \ 33 | emacs-nox \ 34 | file \ 35 | findutils \ 36 | gettext \ 37 | git \ 38 | gpg \ 39 | iputils-ping \ 40 | jq \ 41 | libffi-dev \ 42 | libssl-dev \ 43 | libxml2-dev \ 44 | locales \ 45 | locate \ 46 | m4 \ 47 | make \ 48 | mercurial \ 49 | ncurses-dev \ 50 | patch \ 51 | patchelf \ 52 | pciutils \ 53 | python3-pip \ 54 | rsync \ 55 | unzip \ 56 | vim \ 57 | wget \ 58 | zlib1g-dev \ 59 | && apt autoremove --purge \ 60 | && apt clean 61 | 62 | RUN locale-gen en_US.UTF-8 \ 63 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 64 | && rm -f /usr/bin/python \ 65 | && ln -s `which python3` /usr/bin/python 66 | 67 | RUN python3 -m pip install --upgrade pip setuptools wheel \ 68 | && python3 -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ 69 | && rm -rf ~/.cache 70 | 71 | RUN git clone https://github.com/spack/spack \ 72 | && (cd spack && git checkout v0.18.0 && rm -rf .git) \ 73 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 74 | && . /spack/share/spack/setup-env.sh \ 75 | && spack mirror add E4S https://cache.e4s.io \ 76 | && spack buildcache keys -it \ 77 | && spack compiler find \ 78 | && spack clean -a 79 | 80 | RUN ln -s /usr/lib/x86_64-linux-gnu/lua /usr/lib/lua \ 81 | && ln -s /usr/lib/x86_64-linux-gnu/liblua5.2-posix.so.1 /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so \ 82 | && echo . /etc/profile.d/lmod.sh >> /etc/bash.bashrc \ 83 | && sed -i '$ d' /etc/lmod/modulespath \ 84 | && echo export SPACK_DISABLE_LOCAL_CONFIG=1 >> /etc/bash.bashrc \ 85 | && echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc 86 | 87 | CMD ["/bin/bash"] 88 | 89 | ENV NVIDIA_VISIBLE_DEVICES=all \ 90 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 91 | LANGUAGE=en_US:en \ 92 | LANG=en_US.UTF-8 \ 93 | LC_ALL=en_US.UTF-8 94 | 95 | LABEL io.e4s.build-date=${BUILD_DATE} 96 | LABEL io.e4s.repo=${BUILD_REPO} 97 | LABEL io.e4s.repo-ref=${BUILD_REPO_REF} 98 | LABEL io.e4s.base-img=${BASE_IMAGE} 99 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/ubuntu22.04-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | 3 | ARG DEBIAN_FRONTEND=noninteractive 4 | ENV TZ=America/Los_Angeles 5 | 6 | RUN apt update -y \ 7 | && apt upgrade -y \ 8 | && apt clean -y 9 | 10 | RUN apt update -y \ 11 | && apt install -y \ 12 | autoconf \ 13 | automake \ 14 | bzip2 \ 15 | cpio \ 16 | curl \ 17 | emacs-nox \ 18 | file \ 19 | findutils \ 20 | g++ \ 21 | gcc \ 22 | gettext \ 23 | gfortran \ 24 | git \ 25 | gpg \ 26 | iputils-ping \ 27 | jq \ 28 | libffi-dev \ 29 | libssl-dev \ 30 | libudev-dev \ 31 | libxml2-dev \ 32 | locales \ 33 | locate \ 34 | m4 \ 35 | make \ 36 | mercurial \ 37 | ncurses-dev \ 38 | patch \ 39 | pciutils \ 40 | python3-pip \ 41 | rsync \ 42 | unzip \ 43 | uuid-runtime \ 44 | vim \ 45 | wget \ 46 | zlib1g-dev \ 47 | && apt autoremove --purge \ 48 | && apt clean 49 | 50 | RUN locale-gen en_US.UTF-8 \ 51 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 52 | && ln -s `which python3` /usr/bin/python 53 | 54 | RUN python -m pip install --upgrade pip setuptools wheel \ 55 | && python -m pip install gnureadline pyyaml pytz minio requests clingo \ 56 | && python -m pip install boto3==1.20.35 botocore==1.23.42 \ 57 | && rm -rf ~/.cache 58 | 59 | COPY /spack.yaml / 60 | 61 | RUN git clone https://github.com/spack/spack /tmp/spack \ 62 | && . /tmp/spack/share/spack/setup-env.sh \ 63 | && spack -e . install \ 64 | && spack -e . gc -y \ 65 | && spack clean -a \ 66 | && rm -rf /tmp/spack /spack.yaml /spack.lock /.spack-env 67 | 68 | RUN ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/asm \ 69 | && ln -s /usr/include/x86_64-linux-gnu/bits /usr/include/bits \ 70 | && ln -s /usr/include/x86_64-linux-gnu/gnu /usr/include/gnu \ 71 | && ln -s /usr/include/x86_64-linux-gnu/sys /usr/include/sys 72 | 73 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ 74 | && unzip awscliv2.zip \ 75 | && ./aws/install \ 76 | && rm -rf awscliv2.zip 77 | 78 | RUN echo export PATH=/bootstrap/runner/view/bin:'${PATH}' >> /etc/bash.bashrc \ 79 | && echo . $(find /bootstrap/runner -type f -name bash) >> /etc/bash.bashrc \ 80 | && mkdir -p /modules \ 81 | && echo module use /modules >> /etc/bash.bashrc 82 | 83 | RUN echo /bootstrap/runner/view/lib > /etc/ld.so.conf.d/spack-runner-bootstrap.conf \ 84 | && ldconfig 85 | 86 | ENV PATH=$PATH:/bootstrap/runner/view/bin 87 | 88 | CMD ["/bin/bash"] 89 | 90 | ENV NVIDIA_VISIBLE_DEVICES=all \ 91 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 92 | LANGUAGE=en_US:en \ 93 | LANG=en_US.UTF-8 \ 94 | LC_ALL=en_US.UTF-8 95 | -------------------------------------------------------------------------------- /spack-sdk-environments/full_stack/docker.howto.txt: -------------------------------------------------------------------------------- 1 | When starting from a clean image, do the following. 2 | 3 | khuck@omega:~$ docker create -t -i fedora bash 4 | Unable to find image 'fedora:latest' locally 5 | latest: Pulling from library/fedora 6 | 2ec1fbfd44b7: Pull complete 7 | Digest: sha256:25b5487ca20b2a7f8e6875231c013000fb6da1080a73b0f75c0eea08f88ca6a5 8 | Status: Downloaded newer image for fedora:latest 9 | a3bcb06e9c360b774449b85ec7122a09cf3c99c39d19f1690e18d8c1b93bdd4b 10 | khuck@omega:~$ docker start -a -i a3bcb06e9c360b774449b85ec7122a09cf3c99c39d19f1690e18d8c1b93bdd4b 11 | 12 | yum install -y git 13 | yum install -y gcc 14 | yum install -y gcc-c++ 15 | yum install -y gcc-gfortran 16 | yum install -y python2 17 | yum install -y patch 18 | yum install -y xz 19 | yum install -y bzip2 20 | yum install -y findutils 21 | yum install -y which 22 | 23 | git clone https://github.com/spack/spack.git 24 | cd spack 25 | echo 'packages: 26 | all: 27 | variants: +mpi 28 | providers: 29 | mpi: [mpich] 30 | libtool: [libtool@2.4.6] 31 | tar: 32 | buildable: false 33 | paths: 34 | tar@1.30: /usr 35 | python: 36 | buildable: false 37 | paths: 38 | python@2.7.15: /usr 39 | patch: 40 | buildable: false 41 | paths: 42 | patch@2.7.6: /usr 43 | xz: 44 | buildable: false 45 | paths: 46 | xz@2.7.6: /usr 47 | bzip2: 48 | buildable: false 49 | paths: 50 | bzip2@1.0.6: /usr 51 | ' > etc/spack/packages.yaml 52 | source share/spack/setup-env.sh 53 | spack compiler find 54 | spack env create ecp 55 | spack env activate ecp 56 | spack cd -e ecp 57 | echo '# This is a Spack Environment file. 58 | # 59 | # It describes a set of packages to be installed, along with 60 | # configuration settings. 61 | spack: 62 | # add package specs to the `specs` list 63 | specs: [adios, binutils, bolt, boost, caliper, darshan-runtime, darshan-util, fftw, 64 | gasnet, gdb, geopm, git, globalarrays, hdf5+hl, hpctoolkit, kokkos, legion, libquo, 65 | libtiff, lmod, mfem, miniconda2, miniconda3, papyrus, openmpi, mpich, paraview, 66 | patch, pflotran ^hdf5+hl, protobuf, py-flake8, py-funcsigs, py-h5py, py-jinja2, 67 | py-matplotlib ^python@3.7.2, py-mock, py-mpi4py, py-nose, py-numpy, py-py, py-pytables, 68 | py-pytest, py-scipy, py-six, qthreads, r, raja, scr, stc, strumpack, sundials, 69 | superlu, superlu-dist, swig, sz, tasmanian, tau, trilinos, umpire, unifycr, veloc, 70 | vtkm] 71 | mirrors: {} 72 | modules: 73 | enable: [] 74 | repos: [] 75 | packages: {} 76 | config: {} 77 | ' > spack.yaml 78 | 79 | spack concretize 80 | spack install 81 | -------------------------------------------------------------------------------- /docker-recipes/archived/rhel7-runner-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG SPACK_REPO 5 | ARG SPACK_REPO_REF 6 | ARG BASE_IMAGE=registry.access.redhat.com/ubi7/ubi:7.9-372 7 | 8 | FROM ${BASE_IMAGE} 9 | 10 | ARG BUILD_DATE 11 | ARG BUILD_REPO 12 | ARG BUILD_REPO_REF 13 | ARG SPACK_REPO 14 | ARG SPACK_REPO_REF 15 | ARG BASE_IMAGE 16 | 17 | RUN yum update -y \ 18 | && yum install -y \ 19 | autoconf \ 20 | automake \ 21 | bzip2 \ 22 | crontabs \ 23 | curl \ 24 | file \ 25 | findutils \ 26 | gcc \ 27 | gcc-c++ \ 28 | gcc-gfortran \ 29 | gettext \ 30 | git \ 31 | hostname \ 32 | iputils \ 33 | libffi-devel \ 34 | m4 \ 35 | make \ 36 | ncurses-devel \ 37 | nproc \ 38 | openssl-devel \ 39 | patch \ 40 | pciutils \ 41 | unzip \ 42 | vim \ 43 | wget \ 44 | which \ 45 | xz \ 46 | zlib-devel \ 47 | && yum clean all \ 48 | && rm -rf /var/cache/yum/* 49 | 50 | RUN wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz \ 51 | && tar xzf Python-3.7.4.tgz \ 52 | && cd Python-3.7.4 \ 53 | && ./configure --enable-optimizations \ 54 | && if [[ `nproc` -gt 16 ]]; then make -j16 altinstall; else make -j`nproc` altinstall; fi \ 55 | && ln -s /usr/local/bin/python3.7 /usr/local/bin/python3 \ 56 | && cd / && rm -rf /Python-3.7.4* \ 57 | && python3 -m pip install --upgrade pip setuptools wheel \ 58 | && python3 -m pip install gnureadline pyyaml boto3 pytz minio requests clingo \ 59 | && rm -rf ~/.cache 60 | 61 | COPY spack.yaml / 62 | 63 | RUN git clone ${SPACK_REPO} /tmp/spack \ 64 | && (cd /tmp/spack && git checkout ${SPACK_REPO_REF}) \ 65 | && . /tmp/spack/share/spack/setup-env.sh \ 66 | && spack env activate -d . \ 67 | && spack buildcache keys -it \ 68 | && spack install patchelf \ 69 | && spack install --cache-only \ 70 | && spack env deactivate \ 71 | && spack clean -a \ 72 | && rm -rf /tmp/root/spack-stage \ 73 | && echo '#!/bin/bash' > /entrypoint.sh \ 74 | && spack env activate --sh -d . \ 75 | | sed '/SPACK_ENV/d' \ 76 | | sed '/despacktivate/d' \ 77 | | sed 's/:\/tmp\/spack\/bin:/:/g' >> /entrypoint.sh \ 78 | && echo exec \"'$@'\" >> /entrypoint.sh \ 79 | && chmod +x /entrypoint.sh \ 80 | && rm -rf /spack.yaml /spack.lock /.spack-env /tmp/spack 81 | 82 | RUN echo /bootstrap/view/lib64 > /etc/ld.so.conf.d/spack-gcc.conf \ 83 | && ldconfig -v 84 | 85 | CMD ["/bin/bash"] 86 | ENTRYPOINT ["/entrypoint.sh"] 87 | 88 | ENV NVIDIA_VISIBLE_DEVICES=all \ 89 | NVIDIA_DRIVER_CAPABILITIES=compute,utility 90 | 91 | LABEL io.e4s.build-date=${BUILD_DATE} 92 | LABEL io.e4s.repo=${BUILD_REPO} 93 | LABEL io.e4s.repo-ref=${BUILD_REPO_REF} 94 | LABEL io.e4s.base-img=${BASE_IMAGE} 95 | -------------------------------------------------------------------------------- /docker-recipes/archived/spack-minimal/ubuntu20.04-spack-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG BASE_IMAGE=ubuntu:20.04 5 | 6 | FROM ${BASE_IMAGE} 7 | 8 | ARG BASE_IMAGE 9 | ARG BUILD_DATE 10 | ARG BUILD_REPO 11 | ARG BUILD_REPO_REF 12 | 13 | ARG DEBIAN_FRONTEND=noninteractive 14 | ENV TZ=America/Los_Angeles 15 | 16 | RUN apt update -y \ 17 | && apt upgrade -y \ 18 | && apt clean -y 19 | 20 | RUN apt update -y \ 21 | && apt install -y \ 22 | autoconf \ 23 | automake \ 24 | bzip2 \ 25 | cpio \ 26 | curl \ 27 | emacs-nox \ 28 | file \ 29 | findutils \ 30 | g++ \ 31 | gcc \ 32 | gettext \ 33 | gfortran \ 34 | git \ 35 | gpg \ 36 | iputils-ping \ 37 | jq \ 38 | libffi-dev \ 39 | libssl-dev \ 40 | libudev-dev \ 41 | libxml2-dev \ 42 | lmod \ 43 | locales \ 44 | locate \ 45 | m4 \ 46 | make \ 47 | mercurial \ 48 | ncurses-dev \ 49 | patch \ 50 | patchelf \ 51 | pciutils \ 52 | python3-pip \ 53 | rsync \ 54 | unzip \ 55 | uuid-runtime \ 56 | vim \ 57 | wget \ 58 | zlib1g-dev \ 59 | && apt autoremove --purge \ 60 | && apt clean 61 | 62 | RUN locale-gen en_US.UTF-8 \ 63 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 64 | && ln -s `which python3` /usr/bin/python 65 | 66 | RUN python -m pip install --upgrade pip setuptools wheel \ 67 | && python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ 68 | && rm -rf ~/.cache 69 | 70 | RUN git clone https://github.com/spack/spack \ 71 | && (cd spack && git checkout v0.17.1 && rm -rf .git) \ 72 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 73 | && export SPACK_USER_CACHE_PATH=/tmp/_spack_cache \ 74 | && . /spack/share/spack/setup-env.sh \ 75 | && spack compiler find \ 76 | && spack clean -a 77 | 78 | RUN ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/asm \ 79 | && ln -s /usr/include/x86_64-linux-gnu/bits /usr/include/bits \ 80 | && ln -s /usr/include/x86_64-linux-gnu/gnu /usr/include/gnu \ 81 | && ln -s /usr/include/x86_64-linux-gnu/sys /usr/include/sys 82 | 83 | RUN echo . /etc/profile.d/lmod.sh >> /etc/bash.bashrc \ 84 | && sed -i '$ d' /etc/lmod/modulespath \ 85 | && echo export SPACK_DISABLE_LOCAL_CONFIG=1 >> /etc/bash.bashrc \ 86 | && echo export SPACK_USER_CACHE_PATH=/tmp/_spack_cache >> /etc/bash.bashrc \ 87 | && echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc 88 | 89 | CMD ["/bin/bash"] 90 | 91 | ENV NVIDIA_VISIBLE_DEVICES=all \ 92 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 93 | LANGUAGE=en_US:en \ 94 | LANG=en_US.UTF-8 \ 95 | LC_ALL=en_US.UTF-8 96 | 97 | LABEL io.e4s.build-date=${BUILD_DATE} 98 | LABEL io.e4s.repo=${BUILD_REPO} 99 | LABEL io.e4s.repo-ref=${BUILD_REPO_REF} 100 | LABEL io.e4s.base-img=${BASE_IMAGE} 101 | -------------------------------------------------------------------------------- /docker-recipes/runner/_archived/alinux2-arm64-gcc-10.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM amazonlinux:2 as base 2 | 3 | RUN yum -y upgrade 4 | 5 | RUN yum install -y \ 6 | autoconf \ 7 | automake \ 8 | bzip2 \ 9 | curl \ 10 | file \ 11 | findutils \ 12 | gcc \ 13 | gcc-c++ \ 14 | gcc-gfortran \ 15 | gettext \ 16 | git \ 17 | hostname \ 18 | htop \ 19 | iputils \ 20 | jq \ 21 | libatomic \ 22 | m4 \ 23 | make \ 24 | mlocate \ 25 | ncurses-devel \ 26 | patch \ 27 | pciutils \ 28 | procps \ 29 | python3-devel \ 30 | tar \ 31 | unzip \ 32 | vim \ 33 | wget \ 34 | which \ 35 | xz 36 | 37 | RUN python3 -m pip install --upgrade pip setuptools wheel \ 38 | && python3 -m pip install gnureadline pyyaml pytz minio requests clingo \ 39 | && python3 -m pip install boto3==1.20.35 botocore==1.23.42 \ 40 | && rm -rf ~/.cache 41 | 42 | ENV BOOTSTRAP_DIR=/usr/local/spack-tools 43 | COPY /spack.yaml /spack.yaml.pre 44 | RUN envsubst < spack.yaml.pre > spack.yaml \ 45 | && rm spack.yaml.pre 46 | 47 | FROM base as complete 48 | 49 | RUN export S=/tmp/spack \ 50 | && git clone https://github.com/spack/spack $S \ 51 | && git -C $S checkout d9b0c4ee806500aa7fd1238d71a4c66f4b03a140 \ 52 | && . $S/share/spack/setup-env.sh \ 53 | && spack config add 'config:build_stage:$spack/build_stage' \ 54 | && spack config add "config:db_lock_timeout:120" \ 55 | && spack config add "config:connect_timeout:60" \ 56 | && spack mirror add bootstrap https://cache.e4s.io/spack-bootstrap \ 57 | && spack buildcache keys -it \ 58 | && spack -e . concretize -f | tee concretize.log \ 59 | && spack -e . install --cache-only \ 60 | && spack clean -a \ 61 | && rm -rf $S spack.yaml spack.lock concretize.log .spack-env Makefile ~/.spack 62 | 63 | RUN yum install -y gcc10-{gfortran,c++} \ 64 | && mkdir -p /usr/local/gcc10/bin \ 65 | && ln -s $(which gcc10-gcc) /usr/local/gcc10/bin/gcc \ 66 | && ln -s $(which gcc10-g++) /usr/local/gcc10/bin/g++ \ 67 | && ln -s $(which gcc10-gfortran) /usr/local/gcc10/bin/gfortran \ 68 | && echo export PATH=/usr/local/gcc10/bin:'$PATH' >> /etc/bashrc 69 | 70 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" \ 71 | && unzip awscliv2.zip \ 72 | && ./aws/install \ 73 | && rm -rf awscliv2.zip 74 | 75 | RUN echo export PATH=$BOOTSTRAP_DIR/view/bin:'${PATH}' >> /etc/bashrc \ 76 | && echo . $(find $BOOTSTRAP_DIR -type f -name bash) >> /etc/bashrc \ 77 | && mkdir -p /modules \ 78 | && echo module use /modules >> /etc/bashrc 79 | 80 | ENV PATH=$BOOTSTRAP_DIR/view/bin:$PATH 81 | 82 | RUN updatedb 83 | 84 | CMD ["/bin/bash", "--rcfile", "/etc/bashrc"] 85 | 86 | ENV NVIDIA_VISIBLE_DEVICES=all \ 87 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 88 | LANGUAGE=en_US:en \ 89 | LANG=en_US.UTF-8 \ 90 | LC_ALL=en_US.UTF-8 91 | -------------------------------------------------------------------------------- /docker-recipes/archived/spack-minimal/ubuntu20.04-spack-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG BASE_IMAGE=ubuntu:20.04 5 | 6 | FROM ${BASE_IMAGE} 7 | 8 | ARG BASE_IMAGE 9 | ARG BUILD_DATE 10 | ARG BUILD_REPO 11 | ARG BUILD_REPO_REF 12 | 13 | ARG DEBIAN_FRONTEND=noninteractive 14 | ENV TZ=America/Los_Angeles 15 | 16 | RUN apt update -y \ 17 | && apt upgrade -y \ 18 | && apt clean -y 19 | 20 | RUN apt update -y \ 21 | && apt install -y \ 22 | autoconf \ 23 | automake \ 24 | bzip2 \ 25 | cpio \ 26 | curl \ 27 | emacs-nox \ 28 | file \ 29 | findutils \ 30 | g++ \ 31 | gcc \ 32 | gettext \ 33 | gfortran \ 34 | git \ 35 | gpg \ 36 | iputils-ping \ 37 | jq \ 38 | libffi-dev \ 39 | libssl-dev \ 40 | libudev-dev \ 41 | libxml2-dev \ 42 | lmod \ 43 | locales \ 44 | locate \ 45 | m4 \ 46 | make \ 47 | mercurial \ 48 | ncurses-dev \ 49 | patch \ 50 | patchelf \ 51 | pciutils \ 52 | python3-pip \ 53 | rsync \ 54 | unzip \ 55 | uuid-runtime \ 56 | vim \ 57 | wget \ 58 | zlib1g-dev \ 59 | && apt autoremove --purge \ 60 | && apt clean 61 | 62 | RUN locale-gen en_US.UTF-8 \ 63 | && ln -s /usr/bin/gpg /usr/bin/gpg2 \ 64 | && ln -s `which python3` /usr/bin/python 65 | 66 | RUN python -m pip install --upgrade pip setuptools wheel \ 67 | && python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ 68 | && rm -rf ~/.cache 69 | 70 | RUN git clone https://github.com/spack/spack \ 71 | && (cd spack && git checkout v0.17.1 && rm -rf .git) \ 72 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 73 | && export SPACK_USER_CACHE_PATH=/tmp/_spack_cache \ 74 | && . /spack/share/spack/setup-env.sh \ 75 | && spack compiler find \ 76 | && spack clean -a 77 | 78 | RUN ln -s /usr/include/powerpc64le-linux-gnu/asm /usr/include/asm \ 79 | && ln -s /usr/include/powerpc64le-linux-gnu/bits /usr/include/bits \ 80 | && ln -s /usr/include/powerpc64le-linux-gnu/gnu /usr/include/gnu \ 81 | && ln -s /usr/include/powerpc64le-linux-gnu/sys /usr/include/sys 82 | 83 | RUN ln -s /usr/lib/powerpc64le-linux-gnu/lua /usr/lib/lua \ 84 | && echo . /etc/profile.d/lmod.sh >> /etc/bash.bashrc \ 85 | && sed -i '$ d' /etc/lmod/modulespath \ 86 | && echo export SPACK_DISABLE_LOCAL_CONFIG=1 >> /etc/bash.bashrc \ 87 | && echo export SPACK_USER_CACHE_PATH=/tmp/_spack_cache >> /etc/bash.bashrc \ 88 | && echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc 89 | 90 | CMD ["/bin/bash"] 91 | 92 | ENV NVIDIA_VISIBLE_DEVICES=all \ 93 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 94 | LANGUAGE=en_US:en \ 95 | LANG=en_US.UTF-8 \ 96 | LC_ALL=en_US.UTF-8 97 | 98 | LABEL io.e4s.base.build-date=${BUILD_DATE} 99 | LABEL io.e4s.base.repo=${BUILD_REPO} 100 | LABEL io.e4s.base.repo-ref=${BUILD_REPO_REF} 101 | LABEL io.e4s.base.base-img=${BASE_IMAGE} 102 | -------------------------------------------------------------------------------- /docker-recipes/archived/rhel7-runner-x86_64/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG SPACK_REPO 5 | ARG SPACK_REPO_REF 6 | ARG BASE_IMAGE=registry.access.redhat.com/ubi7/ubi:7.9-372 7 | 8 | FROM ${BASE_IMAGE} 9 | 10 | ARG BUILD_DATE 11 | ARG BUILD_REPO 12 | ARG BUILD_REPO_REF 13 | ARG SPACK_REPO 14 | ARG SPACK_REPO_REF 15 | ARG BASE_IMAGE 16 | 17 | RUN yum update -y \ 18 | && yum install -y \ 19 | autoconf \ 20 | automake \ 21 | bzip2 \ 22 | crontabs \ 23 | curl \ 24 | file \ 25 | findutils \ 26 | gcc \ 27 | gcc-c++ \ 28 | gcc-gfortran \ 29 | gettext \ 30 | git \ 31 | hostname \ 32 | iputils \ 33 | libffi-devel \ 34 | m4 \ 35 | make \ 36 | ncurses-devel \ 37 | nproc \ 38 | openssl-devel \ 39 | patch \ 40 | pciutils \ 41 | unzip \ 42 | vim \ 43 | wget \ 44 | which \ 45 | xz \ 46 | zlib-devel \ 47 | && yum clean all \ 48 | && rm -rf /var/cache/yum/* 49 | 50 | RUN wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz \ 51 | && tar xzf Python-3.7.4.tgz \ 52 | && cd Python-3.7.4 \ 53 | && ./configure --enable-optimizations \ 54 | && if [[ `nproc` -gt 16 ]]; then make -j16 altinstall; else make -j`nproc` altinstall; fi \ 55 | && ln -s /usr/local/bin/python3.7 /usr/local/bin/python3 \ 56 | && cd / && rm -rf /Python-3.7.4* \ 57 | && python3 -m pip install --upgrade pip setuptools wheel \ 58 | && python3 -m pip install gnureadline pyyaml boto3 pytz minio requests clingo \ 59 | && rm -rf /root/.cache 60 | 61 | COPY spack.yaml / 62 | 63 | RUN git clone ${SPACK_REPO} /tmp/spack \ 64 | && (cd /tmp/spack && git checkout ${SPACK_REPO_REF}) \ 65 | && . /tmp/spack/share/spack/setup-env.sh \ 66 | && spack env activate -d . \ 67 | && spack buildcache keys -it \ 68 | && spack install patchelf \ 69 | && spack install --cache-only \ 70 | && spack env deactivate \ 71 | && spack clean -a \ 72 | && rm -rf /tmp/root/spack-stage \ 73 | && echo '#!/bin/bash' > /entrypoint.sh \ 74 | && spack env activate --sh -d . \ 75 | | sed '/SPACK_ENV/d' \ 76 | | sed '/despacktivate/d' \ 77 | | sed 's/:\/tmp\/spack\/bin:/:/g' >> /entrypoint.sh \ 78 | && echo exec \"'$@'\" >> /entrypoint.sh \ 79 | && chmod +x /entrypoint.sh \ 80 | && rm -rf /spack.yaml /spack.lock /.spack-env /tmp/spack 81 | 82 | RUN echo /bootstrap/view/lib64 > /etc/ld.so.conf.d/spack-gcc-bootstrap.conf \ 83 | && ldconfig -v 84 | 85 | CMD ["/bin/bash"] 86 | ENTRYPOINT ["/entrypoint.sh"] 87 | 88 | ENV NVIDIA_VISIBLE_DEVICES=all \ 89 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 90 | LANGUAGE=en_US:en \ 91 | LANG=en_US.UTF-8 \ 92 | LC_ALL=en_US.UTF-8 93 | 94 | LABEL io.e4s.spack-repo=${SPACK_REPO} 95 | LABEL io.e4s.spack-repo-ref=${SPACK_REPO_REF} 96 | LABEL io.e4s.build-date=${BUILD_DATE} 97 | LABEL io.e4s.repo=${BUILD_REPO} 98 | LABEL io.e4s.repo-ref=${BUILD_REPO_REF} 99 | LABEL io.e4s.base-img=${BASE_IMAGE} 100 | -------------------------------------------------------------------------------- /docker-recipes/archived/spack-minimal/ubuntu18.04-spack-ppc64le/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG BUILD_DATE 2 | ARG BUILD_REPO 3 | ARG BUILD_REPO_REF 4 | ARG BASE_IMAGE=ubuntu:18.04 5 | 6 | FROM ${BASE_IMAGE} 7 | 8 | ARG BASE_IMAGE 9 | ARG BUILD_DATE 10 | ARG BUILD_REPO 11 | ARG BUILD_REPO_REF 12 | 13 | ENV DEBIAN_FRONTEND=noninteractive 14 | ENV TZ=America/Los_Angeles 15 | 16 | RUN apt update -y \ 17 | && apt upgrade -y \ 18 | && apt clean -y 19 | 20 | RUN apt update -y \ 21 | && apt install -y \ 22 | uuid-runtime \ 23 | gcc \ 24 | g++ \ 25 | gfortran \ 26 | autoconf \ 27 | automake \ 28 | bzip2 \ 29 | cpio \ 30 | curl \ 31 | emacs-nox \ 32 | file \ 33 | findutils \ 34 | gettext \ 35 | git \ 36 | gpg \ 37 | iputils-ping \ 38 | jq \ 39 | libffi-dev \ 40 | libssl-dev \ 41 | libxml2-dev \ 42 | locales \ 43 | locate \ 44 | m4 \ 45 | make \ 46 | mercurial \ 47 | ncurses-dev \ 48 | patch \ 49 | patchelf \ 50 | pciutils \ 51 | python3-pip \ 52 | rsync \ 53 | unzip \ 54 | vim \ 55 | wget \ 56 | zlib1g-dev \ 57 | lmod \ 58 | && apt autoremove --purge \ 59 | && apt clean -y 60 | 61 | RUN ln -s /usr/bin/gpg /usr/bin/gpg2 \ 62 | && rm -f /usr/bin/python \ 63 | && ln -s `which python3` /usr/bin/python 64 | 65 | RUN python3 -m pip install --upgrade pip setuptools wheel \ 66 | && python3 -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ 67 | && rm -rf ~/.cache 68 | 69 | RUN git clone https://github.com/spack/spack \ 70 | && (cd spack && git checkout v0.18.0 && rm -rf .git) \ 71 | && export SPACK_DISABLE_LOCAL_CONFIG=1 \ 72 | && . /spack/share/spack/setup-env.sh \ 73 | && spack mirror add E4S https://cache.e4s.io \ 74 | && spack buildcache keys -it \ 75 | && spack compiler find \ 76 | && spack clean -a 77 | 78 | RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \ 79 | && locale-gen \ 80 | && ln -s /usr/include/powerpc64le-linux-gnu/asm /usr/include/asm \ 81 | && ln -s /usr/include/powerpc64le-linux-gnu/bits /usr/include/bits \ 82 | && ln -s /usr/include/powerpc64le-linux-gnu/gnu /usr/include/gnu \ 83 | && ln -s /usr/include/powerpc64le-linux-gnu/sys /usr/include/sys 84 | 85 | RUN ln -s /usr/lib/powerpc64le-linux-gnu/lua /usr/lib/lua \ 86 | && ln -s /usr/lib/powerpc64le-linux-gnu/liblua5.2-posix.so.1 /usr/lib/powerpc64le-linux-gnu/lua/5.2/posix.so \ 87 | && echo . /etc/profile.d/lmod.sh >> /etc/bash.bashrc \ 88 | && sed -i '$ d' /etc/lmod/modulespath \ 89 | && echo export SPACK_DISABLE_LOCAL_CONFIG=1 >> /etc/bash.bashrc \ 90 | && echo . /spack/share/spack/setup-env.sh >> /etc/bash.bashrc 91 | 92 | CMD ["/bin/bash"] 93 | 94 | ENV NVIDIA_VISIBLE_DEVICES=all \ 95 | NVIDIA_DRIVER_CAPABILITIES=compute,utility \ 96 | LC_ALL=en_US.UTF-8 \ 97 | LANG=en_US.UTF-8 \ 98 | LANGUAGE=en_US:en 99 | 100 | LABEL io.e4s.build-date=${BUILD_DATE} 101 | LABEL io.e4s.repo=${BUILD_REPO} 102 | LABEL io.e4s.repo-ref=${BUILD_REPO_REF} 103 | LABEL io.e4s.base-img=${BASE_IMAGE} 104 | --------------------------------------------------------------------------------