Tangelo install for Mac users (including Dockerfile) #190
Replies: 2 comments
-
Update:
|
Beta Was this translation helpful? Give feedback.
-
Maybe a pyproject.toml (PEP 518, PEP 517, PEP 621 and PEP 660) file would be handy in our situation. It is supposed to isolate the build environment, therefore it might fix the errors we have been experiencing while building I did some experiments with the tangelo package and it works remarkably, EXCEPT:
tl;dr: On MacOS 11.6.7 (intel) and Ubuntu 20.04.5 LTS, installing from a pyproject.toml file works. On GColab, it doesn't work. |
Beta Was this translation helpful? Give feedback.
-
Installation of the package on Mac is really frustrating because a number of dependencies are not easily building with Apple C/C++ compiler clang (who's masquerading as gcc/g++). I don't want people working on MacOS to feel excluded, and in general I don't want any poor soul to waste their time on installation, when more interesting science could be done instead.
I think we should:
Update / fix the Dockerfile, which hasn't been touched in a while. Maybe refactor setup.py and Dockerfile to make sure they always have similar install instructions. This should let Docker-savvy users deploy an ubuntu environment that "just works" from whatever OS they are using. We should probably link some resources to then help people use the docker image.
Try to make a guide for people who want to set up everything in their MacOS environment.
Like, installing GNU gcc/g++ with brew, creating aliases for the compilers, linking openblas and lapack, building pyscf and its dependencies in any way that works and is compatible with Tangelo setup...
I wonder what would resonate most with our Mac users here (and how many there are), in particular. Any comments, or suggestion ?
Beta Was this translation helpful? Give feedback.
All reactions