Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ git clone --recursive git@github.com:LLNL/Tribol.git
Development tools can optionally be installed through the Spack package manager. Development tools are typically not
needed when using Tribol. The command to install development tools is
```
python3 scripts/uberenv/uberenv.py --project-json=scripts/spack/devtools.json --spack-env-file=scripts/spack/configs/<platform>/spack.yaml --prefix=../tribol_devtools
python3 scripts/uberenv/uberenv.py --project-json=scripts/spack/devtools.json --spack-env-file=scripts/spack/configs/<platform>/spack_devtools.yaml --prefix=../tribol_devtools
```
where `<platform>` is one of `blueos_3_ppc64le_ib_p9`, `linux_ubuntu_20`, `linux_ubuntu_22`, `toss_4_x86_64_ib`, or
`toss_4_x86_64_ib_cray`. Please verify `scripts/spack/configs/<platform>/spack.yaml` matches your system configuration.
Expand Down
251 changes: 251 additions & 0 deletions scripts/spack/configs/blueos_3_ppc64le_ib_p9/spack_devtools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
# Copyright (c) 2017-2023, Lawrence Livermore National Security, LLC and
# other Tribol Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: (MIT)

spack:
config:
install_tree:
root: $spack/..
projections:
all: '{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
misc_cache: $spack/../misc_cache
test_stage: $spack/../test_stage
build_stage::
- $spack/../build_stage

# Regular TPLs do not need views
view: false

compilers::
- compiler:
environment: {}
extra_rpaths: []
flags:
# Fix for "undefined reference to `_gfortran_transfer_integer_write'"
ldlibs: -lgfortran
modules: []
operating_system: rhel7
paths:
cc: /usr/tce/packages/gcc/gcc-8.3.1/bin/gcc
cxx: /usr/tce/packages/gcc/gcc-8.3.1/bin/g++
f77: /usr/tce/packages/gcc/gcc-8.3.1/bin/gfortran
fc: /usr/tce/packages/gcc/gcc-8.3.1/bin/gfortran
spec: gcc@8.3.1
target: ppc64le
- compiler:
environment: {}
extra_rpaths: []
flags:
# Fix for "undefined reference to `_gfortran_transfer_integer_write'"
ldlibs: -lgfortran
modules: []
operating_system: rhel7
paths:
cc: /usr/tce/packages/clang/clang-ibm-10.0.1-gcc-8.3.1/bin/clang
cxx: /usr/tce/packages/clang/clang-ibm-10.0.1-gcc-8.3.1/bin/clang++
f77: /usr/tce/packages/gcc/gcc-8.3.1/bin/gfortran
fc: /usr/tce/packages/gcc/gcc-8.3.1/bin/gfortran
spec: clang@10.0.1
target: ppc64le
packages:
all:
compiler: [gcc, intel, pgi, clang, xl, nag]
providers:
blas: [netlib-lapack]
lapack: [netlib-lapack]
mpi: [spectrum-mpi]
zlib-api: [zlib]

# LLNL blueos CUDA
cuda:
buildable: false
externals:
- spec: cuda@11.2.0
prefix: /usr/tce/packages/cuda/cuda-11.2.0

# LLNL blueos mpi
mpi:
buildable: false
spectrum-mpi:
buildable: false
externals:
- spec: spectrum-mpi@release%gcc@8.3.1
prefix: /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-gcc-8.3.1/
- spec: spectrum-mpi@release%clang@10.0.1
prefix: /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-10.0.1-gcc-8.3.1/

# blas is a bit more complicated because its a virtual package so fake it with
# the following per spack docs
netlib-lapack:
buildable: false
externals:
# These have trailing underscores in their symbols
- spec: netlib-lapack@3.9.0%gcc@8.3.1
prefix: /usr/tcetmp/packages/lapack/lapack-3.9.0-P9-gcc-7.3.1/
- spec: netlib-lapack@3.9.0%clang@10.0.1
prefix: /usr/tcetmp/packages/lapack/lapack-3.9.0-P9-gcc-7.3.1/

# System level packages to not build
autoconf:
buildable: false
externals:
- spec: autoconf@2.69
prefix: /usr
automake:
buildable: false
externals:
- spec: automake@1.13.4
prefix: /usr
binutils:
buildable: false
externals:
- spec: binutils@2.27
prefix: /usr
bzip2:
buildable: false
externals:
- spec: bzip2@1.0.6
prefix: /usr
curl:
buildable: false
externals:
- spec: curl@7.29.0
prefix: /usr
diffutils:
buildable: false
externals:
- spec: diffutils@3.3
prefix: /usr
elfutils:
buildable: false
externals:
- spec: elfutils@0.176
prefix: /usr
epoxy:
buildable: false
externals:
- spec: epoxy@0.0.0
prefix: /usr
findutils:
buildable: false
externals:
- spec: findutils@4.5.11
prefix: /usr
gettext:
buildable: false
externals:
- spec: gettext@0.19.8.1
prefix: /usr
ghostscript:
buildable: false
externals:
- spec: ghostscript@9.25
prefix: /usr
gmake:
buildable: false
externals:
- spec: gmake@4.2.1
prefix: /usr/tcetmp
groff:
buildable: false
externals:
- spec: groff@1.22.2
prefix: /usr
libtool:
buildable: false
externals:
- spec: libtool@2.4.2
prefix: /usr
libunwind:
buildable: false
externals:
- spec: libunwind@8.0.1
prefix: /usr
ncurses:
buildable: false
externals:
- spec: ncurses@5.9
prefix: /usr
m4:
buildable: false
externals:
- spec: m4@1.4.16
prefix: /usr
perl:
buildable: false
externals:
- spec: perl@5.16.3
prefix: /usr
pkg-config:
buildable: false
externals:
- spec: pkg-config@0.27.1
prefix: /usr
readline:
buildable: false
externals:
- spec: readline@6.2
prefix: /usr
tar:
externals:
- spec: tar@1.26
prefix: /usr
buildable: false
zlib:
buildable: false
externals:
- spec: zlib@1.2.7
prefix: /usr

# Globally lock in versions of Devtools
cmake:
version: [3.23.1]
buildable: false
externals:
- spec: cmake@3.23.1
prefix: /usr/tce/packages/cmake/cmake-3.23.1
doxygen:
version: [1.9.6]
buildable: false
externals:
- spec: doxygen@1.9.6
prefix: /collab/usr/gapps/axom/devtools/blueos_3_ppc64le_ib_p9/latest/doxygen-1.9.6
llvm:
version: [10.0.0]
buildable: false
externals:
- spec: llvm@10.0.0+clang
prefix: /usr/tce/packages/clang/clang-10.0.0
python:
version: [3.10.10]
buildable: false
externals:
- spec: python@3.10.10
prefix: /collab/usr/gapps/axom/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.10.10
py-shroud:
version: [0.12.2]
buildable: false
externals:
- spec: py-shroud@0.12.2
prefix: /collab/usr/gapps/axom/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.10.10
py-sphinx:
version: [6.1.3]
buildable: false
externals:
- spec: py-sphinx@6.1.3
prefix: /collab/usr/gapps/axom/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.10.10

# Globally lock version of third party libraries that work on this platform
axom:
version: ["@0.9.0.2~shared~examples~fortran~lua~tools"]
camp:
version: ["@2024.07.0"]
hdf5:
variants: ~shared~mpi
conduit:
variants: ~shared~test~examples~utilities
raja:
version: ["@2024.07.0~shared~examples~exercises"]
umpire:
version: ["@2024.07.0~shared~examples"]
Loading