# VAPOR on Apple M1 Macs

**URL:** <https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172>\
**Category:** Uncategorized\
**Created:** [February 2, 2022, 11:28pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172 "2022-02-02T23:28:00Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustafson](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/gustafson/32/35_2.png) [@gustafson](https://vapor.discourse.group/u/gustafson)\
**Post date:** [February 2, 2022, 11:28pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/1 "2022-02-02T23:28:00Z")

</div>

Hi,

Has anybody tried running VAPOR on one of the new M1 Mac computers? If so, how does it do compared to prior Intel-based Macs? Also, what should I expect if I get an M1 Pro vs. M1 Max chip? Would I notice much of a difference? And, can VAPOR use the GPUs on the M1 machines?

It’s time to replace a dying Mac and I’m trying to decide some configuration options. 3-D visualization with VAPOR and similar tools is one of my more taxing workflows.

Thanks,  
Bill

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [February 3, 2022, 10:51pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/2 "2022-02-03T22:51:51Z")

</div>

Good question.

Our team had plans to purchase an M1 computer for testing but I don’t know if we’ve acquired it yet.

@clyne or @stasj - Do you guys know if we have access to an M1 OSX machine?

---

<div class="post-metadata">

**Author:** ![clyne](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@clyne](https://vapor.discourse.group/u/clyne)\
**Post date:** [February 3, 2022, 11:10pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/3 "2022-02-03T23:10:53Z")

</div>

Yes, we now have an M1 system, but we’ve not yet attempted to port VAPOR to it. Something for 2022!

---

<div class="post-metadata">

**Author:** ![gustafson](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/gustafson/32/35_2.png) [@gustafson](https://vapor.discourse.group/u/gustafson)\
**Post date:** [February 3, 2022, 11:22pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/4 "2022-02-03T23:22:48Z")

</div>

Thanks. I look forward to hearing how it goes, and hopefully, that it works really well. 🙂

---

<div class="post-metadata">

**Author:** ![kazami2003](https://avatars.discourse-cdn.com/v4/letter/k/85f322/32.png) [@kazami2003](https://vapor.discourse.group/u/kazami2003)\
**Post date:** [February 17, 2022, 3:35am UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/5 "2022-02-17T03:35:44Z")

</div>

Hi, I try the new MacBook pro with an M1 pro chip.  
Currently, the v3.5 VAPOR (intel) works fine on it.  
But if you want better performance, it may need to be compiled for the native architecture.

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [October 13, 2022, 9:53pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/6 "2022-10-13T21:53:17Z")

</div>

@gustafson and @kazami2003 - ~~I believe I have a fix. If you have a moment, could you try [this installer](https://github.com/NCAR/VAPOR/releases/download/3.7.0/VAPOR3-3.7.0-DarwinM1.dmg) on your M1 machines?~~

Scratch that - still working on a fix ☹

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [October 17, 2022, 4:01pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/7 "2022-10-17T16:01:14Z")

</div>

@gustafson and @kasami2003, we seem to have a working installer [here](https://github.com/NCAR/VAPOR/releases/download/3.7.0/VAPOR3-3.7.0-Darwin-M1.dmg). Please let us know if it’s still giving you problems.

---

<div class="post-metadata">

**Author:** ![gustafson](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/gustafson/32/35_2.png) [@gustafson](https://vapor.discourse.group/u/gustafson)\
**Post date:** [October 17, 2022, 6:08pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/8 "2022-10-17T18:08:40Z")

</div>

Hi, thanks for trying to get this working for the M1s.

I just tried the new installer package on a MacbookPro with an M1 Max chip running macOS Monterey 12.6. Vapor installed and sort of works. Tinkering with an 865x750x149 grid cell WRF domain, I was able to make a “slice” cross section. And, I could sometimes get an isosurface for the 10 m/s wind speed to show for a little bit. However, vapor crashed either while plotting that isosurface or shortly thereafter when rotating the view every time I tried the isosurface. This does not appear to be for lack of memory–the computer has 64 GB.

Also, should this build use the native M1 mode? Activity Monitor indicates that vapor is running through the Intel interpreter.

-Bill

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [October 18, 2022, 4:47pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/9 "2022-10-18T16:47:33Z")

</div>

@gustafson - That’s interesting that Vapor is crashing. I cannot reproduce this with WRF on our test machine, but our test file’s grid is a bit smaller, and I don’t have access to large files because NCAR’s systems are currently down for maintenance. Would you be able to share a sample file that I can test, via email to pearse@ucar.edu? Also, does Vapor provide diagnostics that you can share when it does crash?

> Also, should this build use the native M1 mode? Activity Monitor indicates that vapor is running through the Intel interpreter.

Yes - Vapor is currently built on intel hardware and requires the interpreter/Rosetta.

---

<div class="post-metadata">

**Author:** ![gustafson](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/gustafson/32/35_2.png) [@gustafson](https://vapor.discourse.group/u/gustafson)\
**Post date:** [October 18, 2022, 6:23pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/10 "2022-10-18T18:23:22Z")

</div>

@pearse - I just sent you my WRF file via my lab’s file transfer service. You should get an email with a download link. Let me know if you have issues due to the file size. You should also get a separate email with two example crash reports. Thanks!

---

<div class="post-metadata">

**Author:** ![Fernando\_M\_Insertis](https://avatars.discourse-cdn.com/v4/letter/f/bcef8e/32.png) [@Fernando\_M\_Insertis](https://vapor.discourse.group/u/Fernando_M_Insertis)\
**Post date:** [October 21, 2022, 4:25pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/11 "2022-10-21T16:25:46Z")

</div>

in case it helps: I have now downloaded the VAPOR3-3.7.0-Darwin-M1.dmg file and installed it both on a Mac Studio desktop (with M1 ultra chip) and a MacBook laptop with chip M1 Max. Both machines are now running on the latest Monterey (12.6). The installation seems to be working in both! I have tried a few things (isosurfaces, slices, flows) and they work all right. I have not yet tried the python API.

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [October 27, 2022, 5:08pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/12 "2022-10-27T17:08:08Z")

</div>

@Fernando_M_Insertis - Thank you for confirming that we have somewhat of a fix. There’s still an issue it seems with isosurfaces on M1. If you encounter a crash, could you please add it to [this ticket thread](https://github.com/NCAR/VAPOR/issues/3268)?

---

<div class="post-metadata">

**Author:** ![Fernando\_M\_Insertis](https://avatars.discourse-cdn.com/v4/letter/f/bcef8e/32.png) [@Fernando\_M\_Insertis](https://vapor.discourse.group/u/Fernando_M_Insertis)\
**Post date:** [November 2, 2022, 3:33pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/13 "2022-11-02T15:33:41Z")

</div>

Hello,  
I am afraid it is no longer working for my Mac M1 machine. I have upgraded to the latest Monterey OS — and now it crashes again upon start. It shows the visualizer and the control buttons+panels on the left, but it disappears straightaway with an error message. ☹

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [November 2, 2022, 5:05pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/14 "2022-11-02T17:05:22Z")

</div>

> [@Fernando\_M\_Insertis](#):
>
> It shows the visualizer and the control buttons+panels on the left, but it disappears straightaway with an error message.

Hmm could you share what the error message is?

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [November 9, 2022, 7:25pm UTC](https://vapor.discourse.group/t/vapor-on-apple-m1-macs/172/15 "2022-11-09T19:25:27Z")

</div>

@Fernando_M_Insertis Hi Fernando, is there any chance you could copy/paste, or take a screenshot of the error you’re seeing?
