Skip to content
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

Failure to install on macOS Catalina #219

Open
marcpaterno opened this issue Nov 16, 2021 · 2 comments
Open

Failure to install on macOS Catalina #219

marcpaterno opened this issue Nov 16, 2021 · 2 comments

Comments

@marcpaterno
Copy link

I am encountering an installation failure on macOS Catalina. I have the most recent version of Apple’s compiler suite, as well as OpenMPI 4.1.1_2 (installed through Homebrew). I have Python 3.9.8 (also installed through Homebrew). I did the pip installation in a newly-created virtual environment, into which I had already install numpy (1.21.4), cython (0.29.24), greenlet (1.1.2) and wheel (0.37.0).

The complaint at the end of the installation (full log is appended to this submission) says “Cannot link C++ programs with mlicxx”. I have verified that mpicxx can, in fact, compile and link a simple MPI program.
charm4py-install.log

@ZwFink
Copy link
Contributor

ZwFink commented Nov 19, 2021

Hi Marc,
As a debug step, can you attempt to install Charm4Py without the MPI backend enabled? It would help confirm a suspicion I have regarding the build system.

@marcpaterno
Copy link
Author

I have tried again, on the same machine with the same setup. This time my installation command was:

python3 -m pip install charm4py --no-binary charm4py

The installation now makes it further, but still fails while compiling charm4py/charmlib/charmlib_cython.c. I have attached the complete log to this messag
charm4py-install.log
e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants