-
Notifications
You must be signed in to change notification settings - Fork 826
WRFv4.5 not compatible with intel llvm compilers #1884
Description
Describe the bug
In the later half of 2023, intel will be mothballing their intel compilers (icc,ifort,icpc) for new intel compilers that are built on the llvm architecture.
These new commands are:
export CC=icx
export CXX=icpx
export FC=ifx
export F77=ifx
export F90=ifx
export MPIFC="mpiifort -fc=ifx"
export MPIF77="mpiifort -fc=ifx"
export MPIF90="mpiifort -fc=ifx"
export MPICC="mpiicc -cc=icx"
export MPICXX="mpiicpc -cxx=icpx"
wrf v4.5 is not compatibile with these new llvm compilers and will make the intel compilers for new users useless. Anyone who has intel compilers and update their intel compiler packages will also lose the ability to use them. This is a MAJOR problem for the WRF community.
To Reproduce
Steps to reproduce the behavior:
Attached is a couple of scripts that show how to install the required libraries needed to run WRF using the intel llvm compilers.
All system tests pass so the new intel llvm compilers
However, when you change the old intel compilers listed in the configure.wrf for the new llvm compilers the wrf will not install.
Expected behavior
wrf v4.5 expected to install with new llvm installers without having to modify any major files.
Attachments
wrf_4.5_new_intel_commands.sh: This is a script that installs all the required libraries for WRF. It works when using the old intel compilers as it is currently being used on github.
wrf.new.inte.compile.log: Build log using the new intel compilers.
configure.wrf: this is the configure file built using the new intel llvm compilers.
WRF_v4.5_Intel_LLVM_Compilers.tar.gz
Edit: link removed