Struggling to install qmllib with MACOS #19
-
Hi, happy new year! I've been trying to install qmllib in my MacBook Air with M2, but I have been encountering the following error:
I reinstalled gcc using brew and also followed the recommendations on the QML website to install it on MacOS, but I still get this same error. Do you have any idea how to fix it? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @rafaelbicudo , There are some issues with OpenMP on Mac. For now, you can clone down the repository and remove Will find a general fix and push a new version to pip, ASAP. |
Beta Was this translation helpful? Give feedback.
Hi @charnley,
Thanks for the reply. Removing the
-lgomp
flag fixed it and I managed to compile it successfully. However, I had some issues when trying to use thermsd
package combined withqmllib
in parallel. Specifically, it failed to import thegenerate_fchl19()
function inside thecalculate_rmsd.py
script.To make it work, I installed
libomp
viabrew
and changed the_compile.py
file to add a few flags and paths. I'm sending the file attached (as a .txt) in case you want to check it.Thanks for the support!
Best,
Rafael.
_compile.py.txt