Difficulties with compiling with CUDA: SofaCUDA Dockerfile/Docker Image? #3773
-
Hi team, I am working with SOFA (thanks for all your efforts thus far!) but my simulations would really benefit from speedup (and thus SOFACUDA). I have tried several times (over a few weeks) to compile from source with the plugin locally, but have not succeeded. I was wondering if it would be possible to provide a Docker Image or Dockerfile for a build with SOFACUDA? It seems there are a few comments/discussions about difficulties with this particular build - this might be a welcome addition to the community. If I'm missing something about the current docker images, I would gladly appreciate pointers there! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Hi, I don't think anyone worked with SofaCUDA in a Docker environment (@hugtalbot ?). I know that for example CUDA 12 is not yet supported, but CUDA 11 works. I also would like to mention this page since you are interested in performances. Alex |
Beta Was this translation helpful? Give feedback.
-
Thanks for your prompt reply. At the minute, I am trying to compile locally a version of 22.06 (pulled from the repo), with CUDA 11.7 (deprecated from 12 which as you had mentioned was not possible), but compilation fails at the last step with the following error:
Find error log attached. Any obvious pointers? |
Beta Was this translation helpful? Give feedback.
-
It will be hard to fix your compilation problem as I don't have it. But I tried in this branch: https://github.com/alxbilger/sofa/tree/cudaforcefield. Could you try to compile this branch and see if it works? |
Beta Was this translation helpful? Give feedback.
It will be hard to fix your compilation problem as I don't have it. But I tried in this branch: https://github.com/alxbilger/sofa/tree/cudaforcefield. Could you try to compile this branch and see if it works?