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
error: command 'cmake' failed with exit status 2 #9
Comments
Where are you running this on? |
This looks like an issue you should ask the HAL cluster maintainers. According to my experience, try btw, you can use |
Ok. Thanks |
Hello, |
out of memory on CPU side most likely. What kind of data are you running on? |
The data is huge, a distance matrix, size of ~66K x ~66K Any thoughts for that? |
might want to sparsify the matrix: https://ripser.scikit-tda.org/en/latest/notebooks/Approximate%20Sparse%20Filtrations.html ; after forming the coo matrix, should probably try the --sparse option. |
Thanks. I'm now running it with ripser alone and will see. |
Please see the following gist that shows how to use the distance matrix sparsification algorithm with ripserplusplus: This shouldn't be that hard to do yourself ;) |
Thanks, That did not work with me, getting the sparse matrix alone returns this message I reduced the data to a very small amount (which works fine with ripser) but still the processing fails and is killed with ripserplusplus. Here, |
Please look at the gist, and notice the line: |
Yes, I followed the gist collab steps, my processing stops at here: |
What does that have to do with ripserplusplus? It appears like you are having systems trouble with your cluster which I am not responsible for. Why not just work in colab? You are welcome to ask questions. |
I'll need to have collab pro, the RAM resource is being fully occupied. |
Go to the menu bar and click Runtime-> Change runtime type -> set Runtime shape to Standard. You shouldn't really need Colab Pro unless you need to train for longer times or train multiple instances. |
Thanks, I really appreciate your help and wish I get it working. Now, when I opened google colab and try to follow your code, if runtime is standard I receive this error Any recommendations? This is the full output:
|
When I change it to GPU, the installation succeeds, but the RAM gets fully occupied and the processing fails |
After enough sparsification (large enough epsilon) there should rarely be memory issues. Usually you would run out of RAM after hours of computation. Do not forget to use the --sparse option. |
Thanks @simonzhang00 , |
I used this command:
!pip3 install ripserplusplus
, and I received this error:error: command 'cmake' failed with exit status 2
CUDA = 7.6.5_10.2
GCC = 4.8.5
The text was updated successfully, but these errors were encountered: