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

WRF compile fails

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

Hachi-ait

New member
Dear WRF users,
I'm compiling the WRF V4.2 into my computer, selected option is dmpar, 1-basic nesting, ./compile em_real.
But the compilation failed
The log file is very long, and I found this seems reporting about the errorScreenshot from 2020-06-08 17-12-32.png

I exactly follow the steps in https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php
I did success with WRFV4.2 compiling to another computer which has the same OS system (centOS 7) with the computer I am compiling on.

I attached here the log file.
Could you please help me to find the exact errors and how to solve them?

Thanks a lot!
Ha Chi
 

Attachments

  • log.compile
    691.4 KB · Views: 68
Looking at your log, it seems that you might have some incompatible libraries/compilers (or don't have the correct compilers loaded).

Is it possible that the installation of netcdf was done with a different compiler?

I'm new to working a unix environment and WRF, but I think the errors are being thrown because your WRF compile is looking for files associated with PGI and mpich compilers.

I hope this helps!

Alex
 
Your log file indicates that you try to build WRF with fortran, but some of your code is precompiled using PGI.
Please make sure your netCDF is installed using the same version of gfortran. Then type ./clean -a, and recompile the code.
 
Top