From 964844a63646abb4b9e2f378593857598a9aa14e Mon Sep 17 00:00:00 2001 From: Tobias Meyer Andersen Date: Wed, 30 Oct 2024 11:02:29 +0100 Subject: [PATCH] document amd gpu/cpu issue --- opm/simulators/linalg/gpuistl/device_management.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/opm/simulators/linalg/gpuistl/device_management.cpp b/opm/simulators/linalg/gpuistl/device_management.cpp index 5547cc7cf..84f313209 100644 --- a/opm/simulators/linalg/gpuistl/device_management.cpp +++ b/opm/simulators/linalg/gpuistl/device_management.cpp @@ -32,6 +32,13 @@ namespace Opm::gpuistl { /* * Print the device name and compute capability on every rank + + If you have an AMD GPU and you have an AMD CPU you might run + into problems with this code when using multiple MPI ranks. + The simulation might hang because the integrated GPU in the CPU + is detected has Radeon compute units, but it does not support ROCM. + This is fixable my making only the GPUS on your system visible with + ROCR_VISIBLE_DEVICES environment variable. */ void printDevice() {