hill2d compile and run

Topics related to running an idealized case
Post Reply
ehsantaghizadeh
Posts: 18
Joined: Sun Oct 21, 2018 8:42 am

hill2d compile and run

Post by ehsantaghizadeh » Fri Dec 25, 2020 12:52 pm

Hi everybody,
I hope you are doing great.
I want to change the hill height and also the width of it to see the behavior of flow over that. What I have done till now is just get the source and compile it. However, wrf.exe and ideal.exe were not been created. It seems the error is related to netcdf path. After passing this step I need some help to change the hill height and width. But for now, could somebody help me to compile hill2d_x? The configure.wrf and compile.log have been attached. All I have done are as below:

$ git clone https://github.com/wrf-model/WRF
WRF Model Version 4.2.1
$ ./configure
(33: smpar GUN)
(0=no nesting)
$ ./compile em_hill2d_x >& compilehill2d.log

I'll be thankful if I hear from you.
sincerely,
Ehsan
Attachments
configure.wrf
(20.18 KiB) Downloaded 8 times
compilehill2d.log
(839.38 KiB) Downloaded 11 times

Ming Chen
Posts: 1456
Joined: Mon Apr 23, 2018 9:42 pm

Re: hill2d compile and run

Post by Ming Chen » Tue Dec 29, 2020 7:00 pm

Most of the error messages in your compilehill2d.log are related to netCDF, which indicates that your netCDF library may not be netCDF4. In addition, the GNU compiler is also too old. Can you update to newer version?
Wee provide a webpage to demonstrate how to compile WRF and required libraries. Please take a look:
https://www2.mmm.ucar.edu/wrf/OnLineTut ... torial.php
WRF Help Desk

ehsantaghizadeh
Posts: 18
Joined: Sun Oct 21, 2018 8:42 am

Re: hill2d compile and run

Post by ehsantaghizadeh » Tue Dec 29, 2020 7:21 pm

Dear Ming Chen
Thank you so much for your helpful reply. I'll check that link and hope to solve my problem.

Sincerely
Ehsan

Post Reply

Return to “Idealized Cases”