From: Szilárd Páll Date: Mon, 3 May 2021 08:42:36 +0000 (+0000) Subject: Allow using CPU PME with DD and GPU update X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=fcd9feb7d100ace9d379852595a6a1c28773869a;p=alexxy%2Fgromacs.git Allow using CPU PME with DD and GPU update --- diff --git a/docs/release-notes/2021/2021.2.rst b/docs/release-notes/2021/2021.2.rst index fbcdafdde0..00f1b31d4e 100644 --- a/docs/release-notes/2021/2021.2.rst +++ b/docs/release-notes/2021/2021.2.rst @@ -82,3 +82,14 @@ Fix bond type in GROMOS force fields The bond type for C and +N in [ACE] was incorrect. :issue:`3995` + + +Allow PME on CPU in runs with domain decomposition and GPU update +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +Relaxed a limitation which prevented running parallel runs with domain +decomposition and GPU update to use the CPU for PME (as long as combined +PP-PME ranks are used). This allows parallel runs to scale when the CPU +resources are sufficient for PME. + +:issue:`4035` diff --git a/src/gromacs/taskassignment/decidegpuusage.cpp b/src/gromacs/taskassignment/decidegpuusage.cpp index 53ff94c346..72d8e2a71a 100644 --- a/src/gromacs/taskassignment/decidegpuusage.cpp +++ b/src/gromacs/taskassignment/decidegpuusage.cpp @@ -573,11 +573,6 @@ bool decideWhetherToUseGpuForUpdate(const bool isDomainDecom "small molecules, and box sizes close to half the pair-list cutoff are not " "supported.\n "; } - - if (pmeUsesCpu) - { - errorMessage += "With domain decomposition, PME must run fully on the GPU.\n"; - } } if (havePmeOnlyRank)