summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/nwchem/Util_getppn.patch
blob: 5bc7607050c0c229ef57519256262a6fe037c525 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;