forked from AMReX-Codes/pyamrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspack.yaml
34 lines (34 loc) · 873 Bytes
/
spack.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This is a Spack environment file.
#
# This environment can be used to install all dependencies potentially needed
# to build pyAMReX. This environment also sets all dependencies to use MPI.
#
# Activating and installing this environment will provide all dependencies
# that are needed for full-feature development.
# https//spack.readthedocs.io/en/latest/environments.html#anonymous-environments
#
# Inside pyAMReX' source root directory:
# spack env activate -d .
# spack install # only needed the first time
#
# If you furthermore want to build for Nvidia GPUs:
# spack add cuda
# spack install
#
spack:
specs:
- ccache
# optional and heavy
# - cuda
# - py-cupy ^nccl cuda_arch=70
# - py-numba ^llvm+cuda cuda_arch=70
- cmake
- mpi
- python
- py-build
- py-mpi4py
- py-numpy
- py-packaging
- py-pip
- py-setuptools
- py-wheel