wrf-python icon indicating copy to clipboard operation
wrf-python copied to clipboard

WRF-Python and Apple Silicon M1

Open ccalvosa opened this issue 4 years ago • 9 comments

Hi everyone,

I tried to install WRF-Python Library through Conda in a Apple Silicon M1 laptop and it is impossible. Is not yet a compatible version to ARM chips?

Thank you very much.

ccalvosa avatar Jul 10 '21 08:07 ccalvosa

Hi @ccalvosa, Thanks for your question! As of current, I don't believe we have tested or set up M1 compatibility. This is mostly due to our internal System Admin's doing research into if our organization should/will be migrating into using M1 chips, or continuing with Intel chips. That isn't to say we won't be able to roll out a compatible version in the future, but more of an explanation why it hasn't happened quite yet!

I'm not sure if you may have seen this Stack Overflow question pertaining to the M1 chips and using Conda, but it may be of some use while we work towards getting a fully compatible version. In the mean time, @erogluorhan, do you have any additional insight into this type of compatibility?

michaelavs avatar Jul 12 '21 13:07 michaelavs

Hi @ccalvosa and @michaelavs,

This is most likely due to the Fortran and C compilers we use underneath our distributions, and we would need to check if reliable compilers are ready for M1 platforms (I haven't checked yet), and if so, we could create releases for M1 platforms, too. However, this process would need testing our builds with those M1 compilers thoroughly on our end, so releasing a M1 version might not be very quick.

As of today, we have releases only for Linux, OSX (Intel), and Windows platforms as you can see in our files list at Anaconda:

image

With that being said, @ccalvosa , did you have a chance to check if an alternative way (such as using "emulations" as suggested in some blogs to) could work for you to use, for example, OSX version in your M1 platform?

Thanks!

erogluorhan avatar Jul 12 '21 15:07 erogluorhan

Hi WRF-python is released for Mac-M1 ? if not what is the alternative to install this on M1 ?

ihaseeburrehman avatar Dec 21 '22 11:12 ihaseeburrehman

Hi @ihaseeburrehman , not yet as we didn't start working on it. You can follow the Installing WRF-Python via Source Code instructions to install it on M1 and even share you experience back with us (if it was straightforward or you needed to make some changes). It could be helpful when time comes for us to support it.

erogluorhan avatar Feb 14 '23 15:02 erogluorhan

Hi @erogluorhan

I recently found out about this post. Any updates on WRF Python? I'm using Apple M2 and facing issues with it. I have posted my question here. Thanks a lot for your time. https://github.com/NCAR/wrf-python/issues/221

Yeshus-U avatar Jan 13 '24 13:01 Yeshus-U