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

Problems building executables, look for errors in the build log ----WRF4.6.1

Lvyihang

New member
Hello, I encountered this error ‘Problems building executables, look for errors in the build log’ when compiling version 4.6.1 of wrf.
I have changed my Ubuntu version from 20 to 24, and I have upgraded my netcdf-c, netcdf-fortran, mpich, libpng, jasper, hdf5, zlib. But it didn't work, so I think it's not the problem of libraries.
I have got the SUCCESS tests.
1743684506620.png
Here are what I have done and the details I got from the ubuntu22.
1.configure.txt
2.compile emreal &> compile.log

How can I fix this problem?
 

Attachments

  • configure.txt
    9.6 KB · Views: 2
  • compile.log
    1.2 MB · Views: 3
Hello, I encountered this error ‘Problems building executables, look for errors in the build log’ when compiling version 4.6.1 of wrf.
I have changed my Ubuntu version from 20 to 24, and I have upgraded my netcdf-c, netcdf-fortran, mpich, libpng, jasper, hdf5, zlib. But it didn't work, so I think it's not the problem of libraries.
I have got the SUCCESS tests.
View attachment 17684
Here are what I have done and the details I got from the ubuntu22.
1.configure.txt
2.compile emreal &> compile.log

How can I fix this problem?
Looks like it might be an enivronment problem or memory issue, based on my experience I have seen this before.

Few things to try

allow full access to the memory
Code:
ulimit -s unlimited

Another thing is to check and make sure all the exports compiling the model are in your environment in the terminal.
You can check this using
Code:
env | sort
then see if all the exports from the tutorial are present.

The error shows that some of the modules were killed which makes me think it's the memory issue first, but still good to check.
 
Top