Allow using update flag
authorArtem Zhmurov <zhmurov@gmail.com>
Fri, 18 Oct 2019 13:26:36 +0000 (15:26 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Mon, 28 Oct 2019 14:34:48 +0000 (15:34 +0100)
When update flag was re-enabled, the assertion was not removed.

Change-Id: Idd1b3e0d9ff60209918281aea23588f90806b898

src/gromacs/mdrun/runner.cpp

index 3b7a417d642cb25cc3ffa90b4fac4b3397ddb4cf..5b7788ee67e5270e677f2d3bbab2017286969fb3 100644 (file)
@@ -1545,15 +1545,6 @@ int Mdrunner::mdrunner()
                             fr->cginfo_mb);
         }
 
-        if (updateTarget == TaskTarget::Gpu)
-        {
-            if (SIMMASTER(cr))
-            {
-                gmx_fatal(FARGS, "It is currently not possible to redirect the calculation "
-                          "of update and constraints to the GPU!");
-            }
-        }
-
         // Before we start the actual simulator, try if we can run the update task on the GPU.
         useGpuForUpdate = decideWhetherToUseGpuForUpdate(devFlags.forceGpuUpdateDefaultOn,
                                                          DOMAINDECOMP(cr),