-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WRF-Python Install - Mac M3 #235
Comments
Hi, thanks very much for reaching out! Currently, WRF-Python shouldn't have support for Apple's ARM-based chips (M1-3), but we'd like to look into this as soon as we can. I am assigning this to myself and will keep you updated. |
you can install via source code. I have successfully installed it. |
Did you happen to create a workflow when you did that? I'm guessing not but if you did, I'd love to see it to help me install it. |
Sorry, I didn't. I just followed the steps showed in the online document using gfortran/gcc. Only one issue should be aware. Although I successfully installed the wrf-python with openmpi option on my M3 macbook pro and most functions works fine , but it fails when I tried to use mpi functions. I'm not familiar with the options/compilers, but it maybe related to the M series chips (arm64) only allow mcmodel=small. |
@wreed1989 , please see this from our team to get a working source-code build for yourself. If you encounter issues, we are here for help! FYI: We will be looking into creating a conda release for this soon so that you can install the package from conda-forge, too, in the future. |
@erogluorhan Appreciate you sending that over. I'm a little unfamiliar with installing via source code so I'll likely have to wait until the conda-forge option is available - or until I can track down additional instructions on how to install via source code. I'm looking forward to the conda-forge release! |
Thanks @wreed1989 ! We are currently working on the conda release and hoping to get it soon! |
Please let me know when it's ready to roll out! I appreciate it! |
@erogluorhan any suggestion? |
This looks like an issue with either conda or netCDF4, but comparing Destroying and re-creating the environment used to run this might also allow the script to run (or just creating an environment for this script). There's no obvious reason the netCDF4 import would fail, so this kind of solution is one of the more likely to fix whatever the problem is and rules out a class of problems if it doesn't. As a tip for future reports, surrounding your code or logs with triple backticks will preserve indentation better: ```
Traceback:
from netCDF4 import Dataset
ModuleNotFoundError
``` |
I have gotten it to work on Conda with a specific yaml file, I can share this. Also @erogluorhan is WRF-python going to be updated anytime soon? |
Hi @wreed1989 , as per |
Hello!
I'm wanting to set-up and run WRF on my M3 (if possible) and reading through the documentation it sounds like the easiest way to do this is via 'conda forge'. However, I'm running into an issue when I attempt to install the program (see below).
Is the platform not quite suitable with an M3 chip or are there additional instructions that need to be done to ensure the package and its dependencies are installed appropriately?
I appreciate the assistance!
###############################################################################################
(WRF-Python) Billiam@Williams-MacBook-Pro ~ % conda install -c conda-forge wrf-python
Channels:
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
looking for, navigate to
and use the search bar at the top of the page.
###############################################################################################
The text was updated successfully, but these errors were encountered: