Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Compile with OneAPI Intel

alainF

Member
Has anyone tried to compile the WRF system and associated libraries with the OneAPI Intel compiler. Here there is an explanation on how to compile with classic Intel compiler. But soon (2023-2024), OneAPI C/C++ compiler (icx, icpx) will succeed to the classic (icc,icpc) compiler.
Do you know if there is any tutorial to learn how to compile with OneAPI ?
 
The linked example should be a good starting point for using the OneAPI compilers, especially as they share similar flags. You might be able to just replace icc -> icx and ifort -> ifx

Stanzas for the OneAPI compilers already exist in the latest WRF/WPS releases so once the dependencies are built you should be able to compile WRF.
 
Hello,
I was not so successful.
I have configuration errors with the first library that I have tried to build, mpich. I have attached the config.log and my flag settings.
 

Attachments

  • Set_WRF_WITH_NETCDF4_OneApiIntel.sh.txt
    958 bytes · Views: 2
  • config.log
    18.4 KB · Views: 3
Top