-
Notifications
You must be signed in to change notification settings - Fork 19
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
Setting up autocmake to compile gimic #295
Comments
The autocmake part is not distributed via PyPI and it should not be needed to list it in |
I first tried cloning the gimic repo and loading the python and the cmake modules but there was an error that autocmake is missing. This happened for the first time to me. The CSC computers got an update to RHEL 8.
I then tried setting up a python environment with autocmake but it was not working with variations of the yaml script above. |
I will look and test ... |
I think I understand. You need to invoke the setup script from the top-level folder. You seem to call it from the build directory. In other words:
but not:
|
Thank you very much, indeed, that was the problem. I should have replied earlier but I came across another issue that I only now started looking into. What is the correct way of specifying the path to the python libraries? Below is the output of the setup script.
I tried specifying the path to the site-packages directory, but it seems not to work.
Do you have any hints about that? |
I am looking at it ... |
Actually, a person at CSC noted this morning that the paths related to the containerized python are not visible outside of the container, so that is causing the problem. I will have to try an alternative python. |
OK. But please know that I am now working on removing dust from the autocmake code so there will be some improvements soon. |
Assigning @bast hope this is OK for you. While reading through the conversation I realized that you might want to close this issue when the "dust" from autocmake has been removed. |
Thanks! Yes. Also thanks for the issue cleanup across the repository. That is helpful to increase focus. |
@bast I'm not sure if the gimic repo is the right place to ask about autocmake, but I ran into trouble recompiling gimic on the CSC computers. We no longer have a full Anaconda but containerized Miniconda. Apparently, autocmake is missing. I downloaded the tar with the latest release of autocmake, but I couldn't figure out how to get it running to compile gimic.
I tried making a custom environment from a yml file but it fails to install autocmake. One of my attempts was:
The text was updated successfully, but these errors were encountered: