WRF compile error

Coeuszx

New member
Hello
I have not logged into Derecho for several months, and when attempting to compile WRF today, I encountered a series of unexpected errors. I selected configuration option 50 during the setup process. I have attached the error screenshot as well as the module list for reference. The WRF model was downloaded via: git clone GitHub - wrf-model/WRF: The official repository for the Weather Research and Forecasting (WRF) model.
Could anyone kindly assist me in troubleshooting this issue?Thank you!
 

Attachments

  • module list.png
    module list.png
    10.3 KB · Views: 10
  • error.png
    error.png
    38.8 KB · Views: 7
It looks like you need to load an intel compiler. If that doesn't resolve your issue, you can refer to my loaded modules, which use configuration option 78 without issues.

Code:
Currently Loaded Modules:
  1) ncarenv/25.10 (S)   3) intel/2025.2.1        5) libfabric/1.22.0    7) hdf5/1.14.6    9) ncview/2.1.9
  2) craype/2.7.34       4) ncarcompilers/1.1.0   6) cray-mpich/8.1.32   8) netcdf/4.9.3  10) ncl/6.6.2
 
It looks like you need to load an intel compiler. If that doesn't resolve your issue, you can refer to my loaded modules, which use configuration option 78 without issues.

Code:
Currently Loaded Modules:
  1) ncarenv/25.10 (S)   3) intel/2025.2.1        5) libfabric/1.22.0    7) hdf5/1.14.6    9) ncview/2.1.9
  2) craype/2.7.34       4) ncarcompilers/1.1.0   6) cray-mpich/8.1.32   8) netcdf/4.9.3  10) ncl/6.6.2
Thank you Kelly,
I used the same modules as yours, but I still failed to compile the WRF model. I have attached the screenshot of the first error encountered during compilation, along with the module list and build log. Still have no idea where the problem lies.
 

Attachments

  • error.png
    error.png
    41.1 KB · Views: 6
  • module list.png
    module list.png
    9.7 KB · Views: 6
  • build.log
    build.log
    934.3 KB · Views: 2
Thank you for your help. The system does not allow files with the .wrf extension, so I renamed configure.wrf to configure.txt.
Bash:
./compile em_real > compile_full.log 2>&1

I don't see anything that screams error in the configure file. Try running this command above and see if it builds not using multiple cores to build it.
 
@Coeuszx
Did you happen to make any modifications to the V4.7.1 code? I just ran another compile test on Derecho, and it worked without issues. We are using the exact same configure.wrf file. If you're interested in seeing my compile, you can find it on Derecho in /glade/derecho/scratch/kkeene/coeuszx/WRFV4.7.1. Otherwise, I'm at a loss. You could try reaching out to CISL support to see if you have any weird underlying system settings that are causing the issue.
 
@Coeuszx
Did you happen to make any modifications to the V4.7.1 code? I just ran another compile test on Derecho, and it worked without issues. We are using the exact same configure.wrf file. If you're interested in seeing my compile, you can find it on Derecho in /glade/derecho/scratch/kkeene/coeuszx/WRFV4.7.1. Otherwise, I'm at a loss. You could try reaching out to CISL support to see if you have any weird underlying system settings that are causing the issue.
OK, that's werid. I didn't make any modifications. Just simply git clone the WRF and WPS, enter the WRF folder, then do configure option 78, then compile em_real. That's it.
 
Then I would definitely advise that you contact NCAR CISL to see if there are any weird system settings going on with your account. If you figure it out, let us know the solution!
 
Back
Top