-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issues building librascal on Mac M1 #383
Comments
The compiler error comes from the interaction between The question is where does I confirmed with @rosecers that the Python she's using ( Alternatively, we might have to set some flags to request native ARM compilation, and by default we get a x86_64 compiler. I would be surprised by this, since with clang/LLVM cross-compilers are built in the same binary (in opposition to GCC where the cross-compilers are separate binaries) |
This should be fixed by #403 |
This is not, in fact, fixed by #403 for me:
FWIW I recently migrated my old system to a new M1 laptop, so there might have been some libraries copied over that shouldn't have been. I'll try reinstalling some Python packages and see if that does anything. |
This is a different error. #403 solved
I would assume that you have an arm64 boost-test |
Fixed now, seems the issue was that it was linking to Intel libraries that were basically just copied over during the migration. The best remedy for this situation is either to reinstall Conda/Miniconda or create a new environment for the new architecture like this. I think it would be worth adding a note to the installation instructions warning about this possible issue and how to resolve it. |
Hi! I'm still having issues compiling on M1 architecture -- installation seems fine, but then I get this upon import:
|
What's the exact command you used to install librascal? |
8405cbd fixed some of the errors when cross-compiling on CI. You should be able to git pull and install again, but make sure to wipe your |
Hey all,
Just trying to get librascal compiled on my new laptop, ran into some issues.
Output from
mkdir build && cd build && cmake .. && make VERBOSE=1
:@Luthaf gave me a short-term patch, but this should be fixed long-term. Have fun :)!
The text was updated successfully, but these errors were encountered: