-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
In the "intel-compilers" toolchain the icx/icpx oneAPI compilers for C/C++ are automatically enabled for some version (2022.2.0+):
easybuild-framework/easybuild/toolchains/compiler/intel_compilers.py
Lines 75 to 79 in 6ac1bb0
# auto-enable use of oneAPI C/C++ compilers for sufficiently recent versions of Intel compilers | |
comp_ver = self.get_software_version(self.COMPILER_MODULE_NAME)[0] | |
if LooseVersion(comp_ver) >= LooseVersion('2022.2.0'): | |
if self.options.get('oneapi_c_cxx', None) is None: | |
self.options['oneapi_c_cxx'] = True |
Why is that not done for Fortran? Why the split? Is it even possible to mix using oneAPI and classic compilers?
It might also be useful to have some toolchain option/flag whether the oneAPI compilers are available and/or used.
I'm wondering: Will at some point only the oneAPI compilers be used? How could we detect them / distinguish to the "classic" ones? This is required for some easyblocks.