File: detect_mpi.patch

package info (click to toggle)
nwchem 7.2.3-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,329,324 kB
  • sloc: fortran: 4,956,507; ansic: 301,061; f90: 30,773; sh: 21,933; python: 19,841; cpp: 18,647; java: 12,311; perl: 6,710; makefile: 4,418; csh: 4,153; asm: 395; sed: 246; awk: 115; exp: 111; pascal: 76
file content (17 lines) | stat: -rw-r--r-- 809 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: nwchem/src/tools/guess-mpidefs
===================================================================
--- nwchem.orig/src/tools/guess-mpidefs	2023-09-19 17:42:01.817425514 +0200
+++ nwchem/src/tools/guess-mpidefs	2023-09-19 17:42:41.721830264 +0200
@@ -1,10 +1,10 @@
 #!/usr/bin/env bash
 # 
 declare -a LIST_MPIFWRAP
-LIST_MPIFWRAP=( 'mpif90' 'mpiifort' 'mpifc' 'mpixlf_r' 'mpixlf' 'mpif77' 'mpifrt' 'mpifrtpx')
+LIST_MPIFWRAP=( ${MPIFC} ${MPIF90} ${MPIF77} 'mpif90' 'mpiifort' 'mpifc' 'mpixlf_r' 'mpixlf' 'mpif77' 'mpifrt' 'mpifrtpx')
 export LIST_MPIFWRAP
 declare -a LIST_MPICWRAP
-LIST_MPICWRAP=( 'mpicc' 'mpixlc_r' 'mpixlc' 'mpigcc' 'mpiicc' 'mpifcc' 'mpifccpx')
+LIST_MPICWRAP=( ${MPICC} 'mpicc' 'mpixlc_r' 'mpixlc' 'mpigcc' 'mpiicc' 'mpifcc' 'mpifccpx')
 export LIST_MPICWRAP
 function usage()
 {