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

Trying to compile WRF v4.1.1 using Intel OneAPI

RCarpenter

Member
I am not able to compile v4.1.1 using the latest Intel OneAPI compiler (ifx/icx, version 2025). There are numerous errors involving C code, such as those reported here: WRF 4.5.1 compiling failed with INTEL 2023 version of ifort Fortran and icc 223.
Some things I've tried:
  1. Copying the ifx/icx stanza from a recent version of WRF into arch/configure.defaults
  2. Adjusting settings to avoid the C99 standard.
    1. CFLAGS_LOCAL = -w -O3 -ip --std=c89 -Wno-incompatible-pointer-types -Wno-int-conversion
  3. Modifying various files in inc and external/io_int based on the latest version of WRF
Has anyone had success in this regard? Thanks.
 
I would recommend taking a look at the WRF pull request history to see all the syntax bug fixes that have been done so far. Given the older WRF version you are trying to use, not every modification will be applicable, but it should be a good starting point if you need to stay on that version and want to see the types of edits necessary.

I think suppression flags should get you most of the way there, but there may still be necessary code modifications.
 
Did you manage to find a work around for this? I am also trying to compile WRF v 4.4 on NCAR machines using the latest OneAPI compiler.
 
Top