diff options
author | Denis Davydov <davydden@gmail.com> | 2016-08-23 22:15:38 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-08-23 22:15:38 +0200 |
commit | 459b6eae1105aaeefa2f86f925caa8ccb3fcdc16 (patch) | |
tree | 55eef5f05c1c1966faba2cbc8af71d715e59e77f /var | |
parent | 6500ac80e4016d540414e131a634e96ac66977e7 (diff) | |
download | spack-459b6eae1105aaeefa2f86f925caa8ccb3fcdc16.tar.gz spack-459b6eae1105aaeefa2f86f925caa8ccb3fcdc16.tar.bz2 spack-459b6eae1105aaeefa2f86f925caa8ccb3fcdc16.tar.xz spack-459b6eae1105aaeefa2f86f925caa8ccb3fcdc16.zip |
nwchem: add another patch
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/nwchem/Util_getppn.patch | 15 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/nwchem/package.py | 2 |
2 files changed, 16 insertions, 1 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; diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py index 3e5d37145d..06816429f5 100644 --- a/var/spack/repos/builtin/packages/nwchem/package.py +++ b/var/spack/repos/builtin/packages/nwchem/package.py @@ -59,7 +59,7 @@ class Nwchem(Package): patch('tddft_mxvec20.patch', when='@6.6', level=0) patch('tools_lib64.patch', when='@6.6', level=0) patch('txs_gcc6.patch', when='@6.6', level=0) - # patch('util_getppn.patch', when='@6.6', level=0) # FAILS + patch('Util_getppn.patch', when='@6.6', level=0) patch('xccvs98.patch', when='@6.6', level=0) patch('zgesdv.patch', when='@6.6', level=0) |