Commit 91117d15 authored by Christof Schulze's avatar Christof Schulze 😎
Browse files

added intel oneapi 2024.2.2

parent 0f217904
Loading
Loading
Loading
Loading

intel/2024.2.2

0 → 100644
+112 −0
Original line number Diff line number Diff line
#%Module1.0###################################################################

# Copyright (c) Intel Corporation
# SPDX-License-Identifier: MIT
# https://opensource.org/licenses/MIT

# Why all the directory and filename boilerplate code? It is needed in order
# to properly remove symbolic links used in assembly of the modulefiles
# folder as well as those found within the oneAPI installation folders.
# Without it many modulefiles will fail to work as expected.

# IMPORTANT: quotes around "$variables" and "[expressions]" are there
# to insure that paths/filenames which include spaces are handled properly.

# This modulefile requires Environment Modules 4.1 or later.
# Type `module --version` to determine the current installed version.

set min_tcl_ver 8.4
if { $tcl_version < $min_tcl_ver } {
    puts stderr " "
    puts stderr "ERROR: This modulefile requires tcl $min_tcl_ver or greater."
    puts stderr "Your system reports that tclsh version $tcl_version is installed."
    exit 1
}

set             version      "2024.2.0"

conflict        compiler32
conflict        compiler

module-whatis   {Configure for use with Intel 64-bit compiler(s).}

unsetenv        INTEL_TARGET_ARCH_IA32

set             compiler_version    "2024.2"
setenv          CMPLR_ROOT /opt/apps/intel/$version/compiler/$compiler_version


set             tbb_version      "2021.13"
#module          load tbb
conflict        tbb32
conflict        tbb

setenv          TBBROOT             /opt/apps/intel/$version/tbb/$tbb_version
prepend-path    CPATH               /opt/apps/intel/$version/tbb/$tbb_version/include
prepend-path    LIBRARY_PATH        /opt/apps/intel/$version/tbb/$tbb_version/lib/intel64/gcc4.8
prepend-path    LD_LIBRARY_PATH     /opt/apps/intel/$version/tbb/$tbb_version/lib/intel64/gcc4.8
prepend-path    CMAKE_PREFIX_PATH   /opt/apps/intel/$version/tbb/$tbb_version




#module          load compiler-rt
conflict        compiler-rt32
conflict        compiler-rt
unsetenv        INTEL_TARGET_ARCH_IA32
prepend-path    LIBRARY_PATH            /opt/apps/intel/$version/compiler/$compiler_version/lib
prepend-path    LD_LIBRARY_PATH         /opt/apps/intel/$version/compiler/$compiler_version/lib
prepend-path    DIAGUTIL_PATH           /opt/apps/intel/$version/compiler/$compiler_version/sys_check/sys_check.sh

#module          load oclfpga
conflict        oclfpga32
conflict        oclfpga

prepend-path    OCL_ICD_FILENAMES       libalteracl.so
prepend-path    OCL_ICD_FILENAMES       libintelocl_emu.so
#setenv          ACL_BOARD_VENDOR_PATH   /opt/apps/Intel/OpenCLFPGA/oneAPI/Boards
setenv          INTELFPGAOCLSDKROOT     /opt/apps/intel/$version/compiler/$compiler_version/lib/oclfpga
prepend-path    PATH                    /opt/apps/intel/$version/compiler/$compiler_version/lib/oclfpga/bin
prepend-path    LD_LIBRARY_PATH         /opt/apps/intel/$version/compiler/$compiler_version/lib/oclfpga/host/linux64/lib



append-path     OCL_ICD_FILENAMES /opt/apps/intel/$version/compiler/$compiler_version/lib/libintelocl.so

prepend-path    PATH /opt/apps/intel/$version/compiler/$compiler_version/bin
prepend-path    PATH /opt/apps/intel/$version/compiler/$compiler_version/bin/compiler
append-path     MANPATH /opt/apps/intel/$version/compiler/$compiler_version/documentation/share/man/
prepend-path    CMAKE_PREFIX_PATH /opt/apps/intel/$version/compiler/$compiler_version/IntelDPCPP
prepend-path    NLSPATH /opt/apps/intel/$version/compiler/$compiler_version/compiler/lib/intel64_lin/locale/%l_%t/%N
prepend-path    DIAGUTIL_PATH /opt/apps/intel/$version/compiler/$compiler_version/sys_check/sys_check.sh



#set             mkl_version        "2024.2"
#conflict        mkl32
#conflict        mkl

#setenv          MKLROOT            /opt/apps/intel/$version/mkl/$mkl_version

#prepend-path    LD_LIBRARY_PATH    /opt/apps/intel/$version/mkl/$mkl_version/lib/intel64
#prepend-path    LIBRARY_PATH       /opt/apps/intel/$version/mkl/$mkl_version/lib/intel64
#prepend-path    CPATH              /opt/apps/intel/$version/mkl/$mkl_version/include
#prepend-path    PKG_CONFIG_PATH    /opt/apps/intel/$version/mkl/$mkl_version/lib/pkgconfig
#prepend-path    NLSPATH            /opt/apps/intel/$version/mkl/$mkl_version/lib/intel64/locale/%l_%t/%N


set             mpi_version      "2021.13.0"
conflict        mpi32
conflict        mpi
#module-whatis   {Intel(R) MPI Library}
setenv          I_MPI_ROOT /opt/apps/intel/$version/mpi/$mpi_version
prepend-path    CLASSPATH /opt/apps/intel/$version/mpi/$mpi_version/lib/mpi.jar
prepend-path    PATH /opt/apps/intel/$version/mpi/$mpi_version/bin
prepend-path    LD_LIBRARY_PATH /opt/apps/intel/$version/mpi/$mpi_version/lib/release:/opt/apps/intel/$version/mpi/$mpi_version/lib
prepend-path    LIBRARY_PATH /opt/apps/intel/$version/mpi/$mpi_version/lib/release:/opt/apps/intel/$version/mpi/$mpi_version/lib
prepend-path    CPATH /opt/apps/intel/$version/mpi/$mpi_version/include
prepend-path    MANPATH /opt/apps/intel/$version/mpi/$mpi_version/man
setenv          FI_PROVIDER_PATH /opt/apps/intel/$version/mpi/$mpi_version/libfabric/lib/prov:/usr/lib64/libfabric
prepend-path    PATH /opt/apps/intel/$version/mpi/$mpi_version/libfabric/bin
prepend-path    LD_LIBRARY_PATH /opt/apps/intel/$version/mpi/$mpi_version/libfabric/lib
prepend-path    LIBRARY_PATH /opt/apps/intel/$version/mpi/$mpi_version/libfabric/lib