From c4d5b83a5a4211ac4265bce89d2a6bd55fcaa5f8 Mon Sep 17 00:00:00 2001 From: edoapra Date: Tue, 23 Dec 2025 14:39:23 -0800 Subject: [PATCH] fixes race condition for a nwdft grid nodisk task executed after a regular grid task fixes https://github.com/nwchemgit/nwchem/issues/1228 --- src/nwdft/dftgrad/dftg_getxc.F | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nwdft/dftgrad/dftg_getxc.F b/src/nwdft/dftgrad/dftg_getxc.F index 6d71eb892b..b806ca4be6 100644 --- a/src/nwdft/dftgrad/dftg_getxc.F +++ b/src/nwdft/dftgrad/dftg_getxc.F @@ -95,7 +95,7 @@ c endif c c Compute via direct numerical quadrature. - if(.not.grid_written) then + if(.not.grid_written.and.(.not.largenode)) then c c check if we can get the grid from a file c