dealii dmg for MacOS Monterey 12.7.4, clang version 14.0.0

142 views
Skip to first unread message

Shangxin Liu

unread,
May 25, 2024, 4:42:46 PM5/25/24
to deal.II User Group
Hi all,

I'm trying to install dealii dmg file after the upgrading of my macOS to Monterey 12.7.4, clang version 14.0.0. My Mac is using intel compiler. I'd like to get dealii-9.5.0+ version. However, it seems that in the deal public release website (https://github.com/dealii/dealii/releases), there is no dmg application of the deallii 9.5.0+ compatible with my macOS. Other dmg files for other macOS did not work on my mac. I'd like to avoid compiling everything from source in my Mac.

Any solution on this issue? Does anyone have a dealii-9.5.0+ dmg that is compatible to my macOS? 

Best,
Shangxin

Luca Heltai

unread,
Aug 10, 2024, 11:52:45 AM8/10/24
to Deal. II Users
Hi,

your best solution would be to download the latest working dmg for your configuration, and then perform the following:

spack install dealii@master

This should only compile deal.II, as you already have all the dependencies installed.

L.
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/16647b19-f30f-4770-8e5d-e129f6dfedc2n%40googlegroups.com.

Mahdi

unread,
Aug 15, 2024, 3:31:30 PM8/15/24
to deal.II User Group
I had a similar issue for almost 10 months (I was using remote station or VM to run dealii as an alternative, but they have their own restrictions). Finally, I was able to resolve it just yesterday.

After Talking with Timo and Luca, I realized that Mac OS keeps different versions of updated packages and apps, so when running dealii from a dmg file dealii has difficulty to run (not a very technical explanation). There is a command (a group of commands) that you can use to "kill" the redundant packages/apps and then re-install dealii from a dmg file. This worked for me, so I hope it works for everyone else with the same issue.

The worse part is that if you have an issue like this, no other installation is going to work (e.g. spack and others), even if you clean your mac and re-install your Mac OS. Well, you can always buy a new Mac! It seems that it resolves the issue too, but until the next update in one of your packages(?).

Anyways, here is the link for the command that I used to clean my OS, and re-installing dealii from a dmg file. You can start from the top one (simplest one) and see if you can install dealii or not, or like me, jump to the very last one and kill them all at once.


Good luck all,
Mahdi
Reply all
Reply to author
Forward
0 new messages