easyconfigs-it4i/i/intel-compilers/intel-compilers-2022.2.1.eb
easybuild 503f5a736f new file: i/impi/impi-2021.7.1-intel-compilers-2022.2.1.eb
new file:   i/intel-compilers/intel-compilers-2022.2.1.eb
	modified:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-NVHPC-21.9.eb
2023-01-26 10:39:54 +01:00

97 lines
3.2 KiB
Plaintext

# IT4Innovations 2023
# JK
name = 'intel-compilers'
version = '2022.2.1'
homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit.html'
description = "Intel C, C++ & Fortran compilers (classic and oneAPI)"
toolchain = SYSTEM
# see https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html
sources = [
{
'source_urls': ['https://registrationcenter-download.intel.com/akdlm/irc_nas/19030/'],
'filename': 'l_dpcpp-cpp-compiler_p_%(version)s.16991_offline.sh',
},
{
'source_urls': ['https://registrationcenter-download.intel.com/akdlm/irc_nas/18998/'],
'filename': 'l_fortran-compiler_p_%(version)s.16992_offline.sh',
},
]
checksums = [
{'l_dpcpp-cpp-compiler_p_2022.2.1.16991_offline.sh':
'3f0f02f9812a0cdf01922d2df9348910c6a4cb4f9dfe50fc7477a59bbb1f7173'},
{'l_fortran-compiler_p_2022.2.1.16992_offline.sh':
'64f1d1efbcdc3ac2182bec18313ca23f800d94f69758db83a1394490d9d4b042'},
]
local_gccver = '12.2.0'
dependencies = [
('GCCcore', local_gccver),
('binutils', '2.39', '', ('GCCcore', local_gccver)),
]
license_file = '/apps/licenses/intel/license.lic'
accept_eula = True
import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
modextravars = {
"DEBUGFLAGS": "-O0 -g",
"CC": "icc",
"CXX": "icpc",
"F77": "ifort",
"F90": "ifort",
"FC": "ifort",
"OPTFLAGS": "-O3 -fPIC -march=core-avx2",
"CXXFLAGS": "-O3 -fPIC -march=core-avx2",
"CFLAGS": "-O3 -fPIC -march=core-avx2",
"FCFLAGS": "-O3 -fPIC -march=core-avx2",
"FFLAGS": "-O3 -fPIC -march=core-avx2",
"EASYBUILD_OPTARCH": "march=core-avx2",
}
elif os.environ.get("CLUSTERNAME") in ["BARBORA"]:
modextravars = {
"CC": "icc",
"CXX": "icpc",
"F77": "ifort",
"F90": "ifort",
"FC": "ifort",
"OPTFLAGS": "-O3 -xHost -ip",
}
elif os.environ.get("CLUSTERNAME") in ["CS"]:
if os.environ.get("MFLAGS") in ["avx2"]:
modextravars = {
"DEBUGFLAGS": "-O0 -g",
"CC": "icc",
"CXX": "icpc",
"F77": "ifort",
"F90": "ifort",
"FC": "ifort",
"OPTFLAGS": "-O3 -fPIC -march=core-avx2",
"CXXFLAGS": "-O3 -fPIC -march=core-avx2",
"CFLAGS": "-O3 -fPIC -march=core-avx2",
"FCFLAGS": "-O3 -fPIC -march=core-avx2",
"FFLAGS": "-O3 -fPIC -march=core-avx2",
"EASYBUILD_OPTARCH": "march=core-avx2",
}
elif os.environ.get("MFLAGS") in ["avx512"]:
modextravars = {
"DEBUGFLAGS": "-O0 -g",
"CC": "icc",
"CXX": "icpc",
"F77": "ifort",
"F90": "ifort",
"FC": "ifort",
"OPTFLAGS": "-O3 -fPIC -march=core-avx512",
"CXXFLAGS": "-O3 -fPIC -march=core-avx512",
"CFLAGS": "-O3 -fPIC -march=core-avx512",
"FCFLAGS": "-O3 -fPIC -march=core-avx512",
"FFLAGS": "-O3 -fPIC -march=core-avx512",
"EASYBUILD_OPTARCH": "march=core-avx512",
}
moduleclass = 'compiler'