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

Problem building executables in WRF compilation

edougherty

New member
Hi there,

I am trying to compile WRFv.4.0.1 and when I compile it, I get this error message:
--> Problems building executables, look for errors in the build log
I configured WRF using option 24 on Derecho.

I am building the required libraries as outlined here: Compiling WRF.

However, mpich fails when I try to "make" this library, with the following error message:
*** [Makefile:8075: lib/libmpichcxx.la] Error 1

make[2]: Leaving directory '/glade/derecho/scratch/doughert/WRF-H/test_cpld/WRF-4.0.1/Build_WRF/LIBRARIES/mpich-3.0.4'

make[1]: *** [Makefile:23607: all-recursive] Error 1

make[1]: Leaving directory '/glade/derecho/scratch/doughert/WRF-H/test_cpld/WRF-4.0.1/Build_WRF/LIBRARIES/mpich-3.0.4'

make: *** [Makefile:6706: all] Error 2

Can you please help me figure out what's going on? For reference, my directory is here:
/glade/derecho/scratch/doughert/WRF-H/test_cpld/WRF-4.0.1/
And here are the modules I have loaded:

ncarenv/23.06

craype/2.7.20

intel-classic/2023.0.0

cray-mpich/8.1.25

ncarcompilers/1.0.0

hdf5-mpi/1.12.2

netcdf-mpi/4.9.2

Thanks!
 
Hi,
If you are loading the modules you have listed, you shouldn't need to build each library, as they are already installed on Derecho. If you aren't making any adjustments to the code, you can just use the precompiled version of WRF that's available on Derecho. See

/glade/work/wrfhelp/derecho_pre_compiled_code/wrfv4.0.1

If you are wanting to make modifications, you can do so, and then use the configure.wrf file from that precompiled build, which compiled using option 50.
 
Thank you! i needed to make adjustments to the code in order to run WRF coupled with WRF-Hydro.

I was able to compile WRF by using compile option #50. Thanks!
 
Hi,
I am not able to compile WRF successfully with option 50.I got such an error statement:
None of WRF_EM_CORE, WRF_NMM_CORE,


specified in shell environment....


copying Registry/Registry.EM to Registry/Registry
I used to adopt option 24 before, it works well. but today I can't make it anymore. I appreciate your help on it.
 
Hi,
I am not able to compile WRF successfully with option 50.I got such an error statement:
Since your problem is likely different than the original post, please start a new thread with your issue. Make sure to attach your compile log and configure.wrf file when you do.
 
Top