mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
[svn-r5913] Purpose:
Bug Fix Description: We were getting the wrong MPIRUN program when you used the full pathname. The "case" statement was checking the "F9X" macro, but it really only needed the basename of the F9X macro. Solution: Put wildcard matching in so that it would find the appropriate basename. Platforms tested: Modi4
This commit is contained in:
parent
0b99dd414c
commit
85ebef607f
4
fortran/configure
vendored
4
fortran/configure
vendored
@ -8081,7 +8081,7 @@ cross_compiling=$ac_cv_prog_f9x_cross
|
||||
|
||||
|
||||
case "$F9X" in
|
||||
mpif90)
|
||||
*mpif90*)
|
||||
PARALLEL=mpif90
|
||||
echo "$as_me:$LINENO: checking for mpirun" >&5
|
||||
echo $ECHO_N "checking for mpirun... $ECHO_C" >&6
|
||||
@ -8111,7 +8111,7 @@ echo "${ECHO_T}none" >&6
|
||||
fi
|
||||
;;
|
||||
|
||||
mpxlf | mpxlf_r | mpxlf90 | mpxlf90_r | mpxlf95 | mpxlf95_r)
|
||||
*mpxlf* | *mpxlf_r* | *mpxlf90* | *mpxlf90_r* | *mpxlf95* | *mpxlf95_r*)
|
||||
PARALLEL="$F9X"
|
||||
;;
|
||||
|
||||
|
@ -457,7 +457,7 @@ dnl executable. For `mpif90' the executable should be run with `mpirun'
|
||||
dnl from the same directory as mpif90 if it exists.
|
||||
dnl
|
||||
case "$F9X" in
|
||||
mpif90)
|
||||
*mpif90*)
|
||||
dnl The mpich compiler. Use mpirun from the same directory if it
|
||||
dnl exists.
|
||||
PARALLEL=mpif90
|
||||
@ -488,7 +488,7 @@ case "$F9X" in
|
||||
fi
|
||||
;;
|
||||
|
||||
mpxlf | mpxlf_r | mpxlf90 | mpxlf90_r | mpxlf95 | mpxlf95_r)
|
||||
*mpxlf* | *mpxlf_r* | *mpxlf90* | *mpxlf90_r* | *mpxlf95* | *mpxlf95_r*)
|
||||
dnl The IBM compiler
|
||||
PARALLEL="$F9X"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user