nwchem: add another patch
This commit is contained in:
		
							
								
								
									
										15
									
								
								var/spack/repos/builtin/packages/nwchem/Util_getppn.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								var/spack/repos/builtin/packages/nwchem/Util_getppn.patch
									
									
									
									
									
										Normal 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; | ||||||
| @@ -59,7 +59,7 @@ class Nwchem(Package): | |||||||
|     patch('tddft_mxvec20.patch', when='@6.6', level=0) |     patch('tddft_mxvec20.patch', when='@6.6', level=0) | ||||||
|     patch('tools_lib64.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('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('xccvs98.patch', when='@6.6', level=0) | ||||||
|     patch('zgesdv.patch', when='@6.6', level=0) |     patch('zgesdv.patch', when='@6.6', level=0) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Denis Davydov
					Denis Davydov