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()
{
|