Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Setup for development error #116

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
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 [email protected]: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: [email protected]
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: [email protected]
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: [email protected]
prefix: /usr/tce/packages/cuda/cuda-11.2.0

# LLNL blueos mpi
mpi:
buildable: false
spectrum-mpi:
buildable: false
externals:
- spec: spectrum-mpi@release%[email protected]
prefix: /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-gcc-8.3.1/
- spec: spectrum-mpi@release%[email protected]
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: [email protected]%[email protected]
prefix: /usr/tcetmp/packages/lapack/lapack-3.9.0-P9-gcc-7.3.1/
- spec: [email protected]%[email protected]
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: [email protected]
prefix: /usr
automake:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
binutils:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
bzip2:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
curl:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
diffutils:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
elfutils:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
epoxy:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
findutils:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
gettext:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
ghostscript:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
gmake:
buildable: false
externals:
- spec: [email protected]
prefix: /usr/tcetmp
groff:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
libtool:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
libunwind:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
ncurses:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
m4:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
perl:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
pkg-config:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
readline:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
tar:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
zlib:
buildable: false
externals:
- spec: [email protected]
prefix: /usr

# Globally lock in versions of Devtools
cmake:
version: [3.23.1]
buildable: false
externals:
- spec: [email protected]
prefix: /usr/tce/packages/cmake/cmake-3.23.1
doxygen:
version: [1.9.6]
buildable: false
externals:
- spec: [email protected]
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: [email protected]+clang
prefix: /usr/tce/packages/clang/clang-10.0.0
python:
version: [3.10.10]
buildable: false
externals:
- spec: [email protected]
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: [email protected]
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: [email protected]
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