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

Compiling on a Mac

neilley

New member
Hi, I see many have posted threads on compiling WRF on a Mac, but I haven't found one for my particular issue, nor have a found a solution to it on the general internet. I am trying to install the necessary packages (netcdf, zlib, etc) and have had success with all but jasper. It appears that the "configure" utility in the jasper build (particularly the helper script acaux/config.sub) is recognizing my mac as "apple-darwin23.5.0", but then the main jasper config utility doesn't recognize and/or support that configuration. While I could try to install jasper using HomeBrew, I see various posts that using HomeBrew causes problems because of mismatches in the compilers used between WRF builds and what HomeBrew uses. Has anyone come across this this issue and resolved it? I'm wondering if I can "hard code" into the jasper configure utility a different configuration name, but not sure what to pick for that.

I am using a MacBook Pro with M3 chip running Sonoma 14.5. I'm using the build utilities from the latest version of Xcode.

Thanks for any help. I know that WRF support generally doesn't support these required utilities, but I'm at a loss otherwise, so trying here nonetheless.

Thanks,

Peter Neilley
---------------------------------
>> cd jasper-1.900.1
>> ./configure
checking build system type... configure: error: /bin/sh acaux/config.sub -apple-darwin23.5.0 failed
 
Top