aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Docs/source/install/dependencies.rst2
l---------Tools/machines/desktop/spack-debian-cuda.yaml1
l---------Tools/machines/desktop/spack-debian-openmp.yaml1
l---------Tools/machines/desktop/spack-debian-rocm.yaml1
-rw-r--r--Tools/machines/desktop/spack-ubuntu-cuda.yaml42
-rw-r--r--Tools/machines/desktop/spack-ubuntu-openmp.yaml41
-rw-r--r--Tools/machines/desktop/spack-ubuntu-rocm.yaml41
7 files changed, 128 insertions, 1 deletions
diff --git a/Docs/source/install/dependencies.rst b/Docs/source/install/dependencies.rst
index 86f10cce8..aa9086c3d 100644
--- a/Docs/source/install/dependencies.rst
+++ b/Docs/source/install/dependencies.rst
@@ -84,7 +84,7 @@ Spack (macOS/Linux)
First, download a `Spack desktop development environment <https://github.com/ECP-WarpX/WarpX/blob/development/Tools/machines/desktop>`__ of your choice.
For most desktop development, pick the OpenMP environment for CPUs unless you have a supported GPU.
-* **Ubuntu** Linux:
+* **Debian/Ubuntu** Linux:
* OpenMP: ``system=ubuntu; compute=openmp`` (CPUs)
* CUDA: ``system=ubuntu; compute=cuda`` (Nvidia GPUs)
diff --git a/Tools/machines/desktop/spack-debian-cuda.yaml b/Tools/machines/desktop/spack-debian-cuda.yaml
new file mode 120000
index 000000000..f396febb4
--- /dev/null
+++ b/Tools/machines/desktop/spack-debian-cuda.yaml
@@ -0,0 +1 @@
+spack-ubuntu-cuda.yaml \ No newline at end of file
diff --git a/Tools/machines/desktop/spack-debian-openmp.yaml b/Tools/machines/desktop/spack-debian-openmp.yaml
new file mode 120000
index 000000000..16868de7e
--- /dev/null
+++ b/Tools/machines/desktop/spack-debian-openmp.yaml
@@ -0,0 +1 @@
+spack-ubuntu-openmp.yaml \ No newline at end of file
diff --git a/Tools/machines/desktop/spack-debian-rocm.yaml b/Tools/machines/desktop/spack-debian-rocm.yaml
new file mode 120000
index 000000000..59dee26a0
--- /dev/null
+++ b/Tools/machines/desktop/spack-debian-rocm.yaml
@@ -0,0 +1 @@
+spack-ubuntu-rocm.yaml \ No newline at end of file
diff --git a/Tools/machines/desktop/spack-ubuntu-cuda.yaml b/Tools/machines/desktop/spack-ubuntu-cuda.yaml
index 12ce071a6..51a0ea88f 100644
--- a/Tools/machines/desktop/spack-ubuntu-cuda.yaml
+++ b/Tools/machines/desktop/spack-ubuntu-cuda.yaml
@@ -85,6 +85,48 @@ spack:
modules: []
environment: {}
extra_rpaths: []
+ # Debian
+ - compiler:
+ # g++-10 gcc-10 gfortran-10 (or 11) for CUDA 11.7.0
+ spec: gcc@10.4.0
+ paths:
+ cc: /usr/bin/gcc-10
+ cxx: /usr/bin/g++-10
+ f77: /usr/bin/gfortran-10
+ fc: /usr/bin/gfortran-10
+ flags: {}
+ # unstable/sid
+ operating_system: debianunstable
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+ - compiler:
+ spec: gcc@10.2.1
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ operating_system: debian11
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+ - compiler:
+ spec: gcc@8.3.0
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ operating_system: debian10
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
# binary caches
mirrors:
diff --git a/Tools/machines/desktop/spack-ubuntu-openmp.yaml b/Tools/machines/desktop/spack-ubuntu-openmp.yaml
index c66c2f5c4..6bb15446e 100644
--- a/Tools/machines/desktop/spack-ubuntu-openmp.yaml
+++ b/Tools/machines/desktop/spack-ubuntu-openmp.yaml
@@ -82,6 +82,47 @@ spack:
modules: []
environment: {}
extra_rpaths: []
+ # Debian
+ - compiler:
+ spec: gcc@12.2.0
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ # unstable/sid
+ operating_system: debianunstable
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+ - compiler:
+ spec: gcc@10.2.1
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ operating_system: debian11
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+ - compiler:
+ spec: gcc@8.3.0
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ operating_system: debian10
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
# binary caches
mirrors:
diff --git a/Tools/machines/desktop/spack-ubuntu-rocm.yaml b/Tools/machines/desktop/spack-ubuntu-rocm.yaml
index 2af0da1eb..45c9b0f77 100644
--- a/Tools/machines/desktop/spack-ubuntu-rocm.yaml
+++ b/Tools/machines/desktop/spack-ubuntu-rocm.yaml
@@ -86,6 +86,47 @@ spack:
modules: []
environment: {}
extra_rpaths: []
+ # Debian
+ - compiler:
+ spec: gcc@12.2.0
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ # unstable/sid
+ operating_system: debianunstable
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+ - compiler:
+ spec: gcc@10.2.1
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ operating_system: debian11
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+ - compiler:
+ spec: gcc@8.3.0
+ paths:
+ cc: /usr/bin/gcc
+ cxx: /usr/bin/g++
+ f77: /usr/bin/gfortran
+ fc: /usr/bin/gfortran
+ flags: {}
+ operating_system: debian10
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
# binary caches
mirrors: