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

PNETCDF not working with real.exe when using configure_new (io_form = 11)

William.Hatheway

Active member
I have built WRF-4.7.1 using configure_new to test out the pnetcdf io integration.

I built it using this command

Code:
    ./configure_new -x -p "oneAPI LLVM" -- -DWRF_CORE=ARW -DWRF_NESTING=BASIC -DWRF_CASE=EM_REAL -DUSE_MPI=ON -DUSE_HDF5=${HDF5_ROOT} -DUSE_JASPER=${Jasper_ROOT} 2>&1 | tee wrf_configure_new.log

when using a namelist (attached) that works with the old configuration method, that includes pnetcdf support, it cannot find the io form 11 option in real.exe which causes wrf.exe to fail.

When I change io_form to the default =2 the namelist attached works.

Is there a -DUSE command that needs to be enabled to enable pnetcdf?
 

Attachments

  • namelist.input.txt
    8.8 KB · Views: 0
This is a known issue with a pending fix. This set of changes should work if you would like to test this out before it gets pulled into a future release:
I'll test it out this evening or tomorrow and get back to you
 
@islas

Ran a test with these steps, please make sure I did it correctly

1. Install all the library files
2. clone the current github
3. gh pr checkout 2145
4. configure and compile WRF

then ran wps and real.exe and got these errors
 

Attachments

  • test.zip
    7.8 KB · Views: 1
Top