MacOS Installation - Monterey - M1 - spack

28 views
Skip to first unread message

Francesco Costanzo

unread,
Oct 31, 2022, 9:34:44 AM10/31/22
to dea...@googlegroups.com
I have been trying to install deal.II via spack on an M1Max MacBook with macOS Monterey (12.6.1).

I run the command
spack install dealii%clang

Things were going well but the installation stopped with a request to install OpenGL, which I believe is deprecated under Monterey. It turns out that the OpenGL libraries are still available but they are packaged as .tbd files instead of .dylib.

Any suggestions on how to proceed?

Cheers, Francesco.
--
Francesco Costanzo, Associate Department Head
Engineering Science and Mechanics Department
Professor of Engineering Science and Mechanics,
Mathematics, Mechanical Engineering,
and Biomedical Engineering

Address:
Center for Neural Engineering
The Pennsylvania State University
W-315 Millennium Science Complex
University Park, PA 16802
USA
Phone: (814) 863-2030
Fax: (814) 865-9974
mailto:fx...@psu.edu
http://www.esm.psu.edu/Faculty/Costanzo/


Bruno Turcksin

unread,
Oct 31, 2022, 9:47:25 AM10/31/22
to deal.II User Group
Francesco,

You can do

spack spec dealii%clang

to see what spack will install. You can then check which package requires OpenGL (it is not deal.II) and then remove support for this package if you don't need it. For instance, let's say that it's trilinos that's pulling OpenGL and you don't need it, you can do

spack install dealii%clang~trilinos

Best,

Bruno

Francesco Costanzo

unread,
Oct 31, 2022, 12:06:37 PM10/31/22
to dea...@googlegroups.com
Thank you Bruno!

The package that requested the OpenGL was gmsh. I excluded it and this time ran

spack install dealii~gmsh

and various things got installed but I also got other errors, the first of which is

openblas required by trilinos
oce
hdf5
symengine


I’ll start investigating what can be done to resolve some of these issues, especially the trilinos one.

Thanks again, Francesco.
> --
> 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/43fb4901-6aaa-4dea-a397-b96be16327d7n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages