nwchem: add another patch

This commit is contained in:
Denis Davydov 2016-08-23 22:15:38 +02:00
parent 6500ac80e4
commit 459b6eae11
2 changed files with 16 additions and 1 deletions

View File

@ -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;

View File

@ -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)