Spack is a package management tool designed to support multiple
versions and configurations of software on a wide variety of platforms
and environments. It was designed for large supercomputing centers,
where many users and application teams share common installations of
software on clusters with exotic architectures, using libraries that do
not have a standard ABI. Spack is non-destructive: installing a new
version does not break existing installations, so many configurations
can coexist on the same system. Most importantly, Spack is simple. It
offers a simple spec syntax so that users can specify versions and
configuration options concisely. Spack is also simple for package
authors: package files are written in pure Python, and specs allow
package authors to maintain a single file for many different builds of
the same package.
$ spack install --add intel-oneapi-compilers@2021.4.0 # Add the compilers to your compilers.yaml so spack can use them: $ spack compiler add `spack location -i intel-oneapi-compilers@2021.4.0`/compiler/latest/linux/bin/intel64 $ spack compiler add `spack location -i intel-oneapi-compilers@2021.4.0`/compiler/latest/linux/bin # Verify that the compilers are available: $ spack compiler list or spack location -i intel-oneapi-compilers@2021.4.0
Check,
1 2 3 4 5
which mpiicc && mpiicc --version which mpiifort && mpiifort --version which mpiicpc && mpiicpc --version which icc && icc --version which ifort && ifort --version
one more step, install curl
1 2
$ spack info --all curl $ spack install --add curl%intel
Description: Intel MPI Library is a multifabric message-passing library that implements the open-source MPICH specification. Use the library to create, maintain, and test advanced, complex applications that perform better on high-performance computing (HPC) clusters based on Intel processors. LICENSE INFORMATION: By downloading and using this software, you agree to the terms and conditions of the software license agreements at https://intel.ly/393CijO.