diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/nwchem/Util_getppn.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/nwchem/Util_getppn.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nwchem/Util_getppn.patch b/var/spack/repos/builtin/packages/nwchem/Util_getppn.patch new file mode 100644 index 0000000000..5bc7607050 --- /dev/null +++ b/var/spack/repos/builtin/packages/nwchem/Util_getppn.patch @@ -0,0 +1,15 @@ +Index: src/util/util_getppn.c +=================================================================== +--- src/util/util_getppn.c (revision 27443) ++++ src/util/util_getppn.c (working copy) +@@ -32,7 +33,9 @@ + void FATR util_getppn_(Integer *ppn_out){ + + #if defined(__bgq__) +- *ppn_out = Kernel_ProcessCount(); ++ *ppn_out = (Integer) Kernel_ProcessCount(); ++ return; ++ if(0) { + #elif MPI_VERSION >= 3 + + int err; |