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 compiling WRF

Geordie

New member
Hello,

I am trying to get WRF to compile on my mac (Ventura) using these instructions:
Compiling WRF

Everything is fine - all tests pass and the netcdf library is created - until I try to execute this command in the netcdf-fortran-4.5.2 directory:

./configure --prefix=$DIR/netcdf --disable-dap
--disable-netcdf-4 --disable-shared

Then I get the error that the C compiler cannot create executables.
I also tried the same instructions on linux (Ubuntu 18.04, using Parallels on my mac) but I get exactly the same error.
Do you know what could be wrong?

Thanks much,
Geordie
 
Hi Geordie,

Typically when you run into problems installing libraries, it is related to an issue with your specific environment, so unfortunately we aren't able to offer much support. However, one of the following FAQs may be helpful for you, depending on which compiler you're using.

Full WRF and WPS Installation Example (Intel)
Full WRF and WPS Installation Example (GNU)

If you are still experiencing issues, I suggest contacting a systems administrator at your institution for guidance.
 
Hello,

I am trying to get WRF to compile on my mac (Ventura) using these instructions:
Compiling WRF

Everything is fine - all tests pass and the netcdf library is created - until I try to execute this command in the netcdf-fortran-4.5.2 directory:

./configure --prefix=$DIR/netcdf --disable-dap
--disable-netcdf-4 --disable-shared

Then I get the error that the C compiler cannot create executables.
I also tried the same instructions on linux (Ubuntu 18.04, using Parallels on my mac) but I get exactly the same error.
Do you know what could be wrong?

Thanks much,
Geordie
@Geordie

I have found that using homebrew GCC library works well on macs. Something about the mac clang has always given me issues when installing WRF
 
Top