Dear PETSc Team,
 
I am encountering an issue when running PETSc with CUDA support on a cluster. 
When I set the vector type to VECCUDA, PETSc reports that my MPI is not 
GPU-aware. However, the MPI library (OpenMPI 4.1.5) I used to configure PETSc 
was built with the --with-cuda option enabled.


Here are some details:
PETSc version: 3.20.6
MPI: OpenMPI 4.1.5, configured with --with-cuda
GPU: RTX3090
CUDA version: 12.1 
I have attached both my PETSc configure command and OpenMPI configure command 
for reference.

My questions are:

 
 
 
Even though I enabled --with-cuda in OpenMPI, why does PETSc still report that 
MPI is not GPU-aware?
 
 
 
Are there additional steps or specific configuration flags required (either in 
OpenMPI or PETSc) to ensure GPU-aware MPI is correctly detected?


Any guidance or suggestions would be greatly appreciated.

 

Best regards,

Xinhai Yue



 







岳新海



南方科技大学/学生/研究生/2023级研究生



广东省深圳市南山区学苑大道1088号




 

Attachment: openmpi_conf.sh
Description: Binary data

Attachment: petsc_conf.sh
Description: Binary data

Reply via email to