[petsc-users] hypre on gpus

Karthikeyan Chockalingam - STFC UKRI karthikeyan.chockalingam at stfc.ac.uk
Fri Oct 8 05:59:05 CDT 2021


Hello,

I am trying to run ex45 (in KSP tutorial) using hypre on gpus. I have attached the python configuration file and -log_view output from running the below command options

mpirun -n 2 ./ex45 -log_view -da_grid_x 169 -da_grid_y 169 -da_grid_z 169  -dm_mat_type mpiaijcusparse -dm_vec_type mpicuda -ksp_type gmres -pc_type hypre -pc_hypre_type  boomeramg -ksp_gmres_restart 31 -pc_hypre_boomeramg_strong_threshold 0.7  -ksp_monitor

The problem was solved and converged but from the output file I suspect hypre is not running on gpus as PCApply and DMCreate does not record any gpu Mflop/s. However, some events such KSPSolve, MatMult etc are running on gpus.

Can you please let me know if I need to add any extra flag to the attached arch-ci-linux-cuda11-double-xx.py script file to get hypre working on gpus?

Thanks,
Karthik.



This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211008/bc53dfac/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arch-ci-linux-cuda11-double-xx.py
Type: text/x-python-script
Size: 779 bytes
Desc: arch-ci-linux-cuda11-double-xx.py
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211008/bc53dfac/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ksp_gmres_pc_hypre_ex45_N169_gpu_2.txt
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211008/bc53dfac/attachment-0001.txt>


More information about the petsc-users mailing list