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

error compile WRF

zauliyaa

New member
Excuse me, let me ask, recently I was installing WRF on my computer. I don't know all versions of WRF, I installed an error when compiling. Can anyone help answer where the error is and the solution?
I had previously installed WRF and was successful in getting it to run. I don't know why it keeps failing lately, disclaimer, the installation and compilation method is the same as before. I attached the error and compile.log. Thank You
by the way I've tried installing WRF versions 3.9, 4.0 and 4.1 and all the errors are like that. the libraries are all there. I use centos 7 and centos 8 and the results are the same.
Screenshot (819).png
 

Attachments

  • compile.log
    641.9 KB · Views: 7
It looks like you are missing the ZLib library. When you are doing your installation method, do you know if there is a step involving the installation of the ZLib library?

The MMM WRF compilation tutorial has ZLib built from source but if you are installing from a package repositoryfor CentOS it will be named something like "zlib-devel". Both methods should produce a "libz.so" (or "libz.a") on your system somewhere that should fix the link issue. If this doesn't make sense or isn't working, we can go into more detail about the installation method you're using.
 
It looks like you are missing the ZLib library. When you are doing your installation method, do you know if there is a step involving the installation of the ZLib library?

The MMM WRF compilation tutorial has ZLib built from source but if you are installing from a package repositoryfor CentOS it will be named something like "zlib-devel". Both methods should produce a "libz.so" (or "libz.a") on your system somewhere that should fix the link issue. If this doesn't make sense or isn't working, we can go into more detail about the installation method you're using.
Bash:
dnf install zlib-devel

or if using an older version of centos that doesn't have dnf

Bash:
yum install zlib-devel
 
@zauliyaa
Can you first try to follow the instructions on this page? Please follow every step to make sure your environment is set up correctly. Then please try to install the latest version of the code (V4.5.2), with a more-recent version of GNU. It looks like you're using GNU V4.8.5, which is quite outdated. If it still fails, please attach the new compile log, and your configure.wrf file. Thanks.
 
Top