-
Notifications
You must be signed in to change notification settings - Fork 122
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
OPM FLOW - GPU ACELERATION #5452
Comments
It is possible both for Nvidia and AMD cards, but note that only parts of the simulator is currently gpu-accelerated. In addition to this, there is no guarantee that running a simulation on your GPU will be faster. As of now you typically need a quite large simulation for GPUs to be faster, and hard simulation cases are usually also better on CPU because more fancy numerical algorithms have been implemented. The main part of OPM currently supported by GPUs is the linear solver. So to make sure I run my simulation with a GPU I provide a json file that describes the linear solver using the
Here the important part is to set the solver to "gpubicgstab", which is a conjugate gradient method. I know there are other ways to run OPM with GPUs, for instance through the BDA bridge, but I am not very familiar with how to do that. Note that for the preconditioners to be found OPM must be built with CUDA available if you want to run on an Nvidia GPU, and built with HIP available + Feel free to ask more questions if this is still unclear:) Edit: if your version of opm is older than september 2024 then the solver should be called |
I am a user of OPM Flow and am interested in optimizing its performance by utilizing the GPU in my system. Could you please confirm if it's possible to activate GPU acceleration for calculations in OPM Flow, and how I can do so? Are there specific settings within the software that I need to adjust?
I appreciate any guidance or additional documentation you can provide on this matter.
Best regards,
Enrique Ramon
The text was updated successfully, but these errors were encountered: