summaryrefslogtreecommitdiff
path: root/lib/spack/docs/build_systems
diff options
context:
space:
mode:
authorAndrey Perestoronin <andrey.perestoronin@intel.com>2023-11-27 18:13:04 +0000
committerGitHub <noreply@github.com>2023-11-27 13:13:04 -0500
commit3d744e7c951eab4fa70b95c15c5cabc969dd47b3 (patch)
treeb29e266b290c96e6d2a3b75ce05e57423457f991 /lib/spack/docs/build_systems
parentb4bafbbf7e41bd7b24791e3069565348ac86036b (diff)
downloadspack-3d744e7c951eab4fa70b95c15c5cabc969dd47b3.tar.gz
spack-3d744e7c951eab4fa70b95c15c5cabc969dd47b3.tar.bz2
spack-3d744e7c951eab4fa70b95c15c5cabc969dd47b3.tar.xz
spack-3d744e7c951eab4fa70b95c15c5cabc969dd47b3.zip
intel-oneapi 2024.0.0: added new version to packages (#41135)
* oneapi 2024.0.0 release * oneapi v2 directory support and some cleanups * sycl abi change requires 2024 compilers for packages that use sycl --------- Co-authored-by: Robert Cohn <robert.s.cohn@intel.com>
Diffstat (limited to 'lib/spack/docs/build_systems')
-rw-r--r--lib/spack/docs/build_systems/inteloneapipackage.rst25
1 files changed, 18 insertions, 7 deletions
diff --git a/lib/spack/docs/build_systems/inteloneapipackage.rst b/lib/spack/docs/build_systems/inteloneapipackage.rst
index e9fd26690f..ccf7d5e393 100644
--- a/lib/spack/docs/build_systems/inteloneapipackage.rst
+++ b/lib/spack/docs/build_systems/inteloneapipackage.rst
@@ -53,18 +53,24 @@ Install the oneAPI compilers::
Add the compilers to your ``compilers.yaml`` so spack can use them::
- spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin/intel64
- spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin
+ spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/bin
Verify that the compilers are available::
spack compiler list
+Note that 2024 and later releases do not include ``icc``. Before 2024,
+the package layout was different::
+
+ spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin/intel64
+ spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin
+
The ``intel-oneapi-compilers`` package includes 2 families of
compilers:
* ``intel``: ``icc``, ``icpc``, ``ifort``. Intel's *classic*
- compilers.
+ compilers. 2024 and later releases contain ``ifort``, but not
+ ``icc`` and ``icpc``.
* ``oneapi``: ``icx``, ``icpx``, ``ifx``. Intel's new generation of
compilers based on LLVM.
@@ -89,8 +95,8 @@ Install the oneAPI compilers::
Add the compilers to your ``compilers.yaml`` so Spack can use them::
- spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin/intel64
- spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin
+ spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/bin
+ spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/bin
Verify that the compilers are available::
@@ -146,8 +152,7 @@ Compilers
To use the compilers, add some information about the installation to
``compilers.yaml``. For most users, it is sufficient to do::
- spack compiler add /opt/intel/oneapi/compiler/latest/linux/bin/intel64
- spack compiler add /opt/intel/oneapi/compiler/latest/linux/bin
+ spack compiler add /opt/intel/oneapi/compiler/latest/bin
Adapt the paths above if you did not install the tools in the default
location. After adding the compilers, using them is the same
@@ -156,6 +161,12 @@ Another option is to manually add the configuration to
``compilers.yaml`` as described in :ref:`Compiler configuration
<compiler-config>`.
+Before 2024, the directory structure was different::
+
+ spack compiler add /opt/intel/oneapi/compiler/latest/linux/bin/intel64
+ spack compiler add /opt/intel/oneapi/compiler/latest/linux/bin
+
+
Libraries
---------