@@ -27,7 +27,7 @@ case "${with_intelmpi}" in
2727 __INSTALL__)
2828 echo " ==================== Installing Intel MPI ===================="
2929 echo ' __INSTALL__ is not supported; please manually install Intel MPI'
30- if [ " ${pack_run } " != " __TRUE__" ]; then
30+ if [ " ${PACK_RUN } " != " __TRUE__" ]; then
3131 exit 1
3232 fi
3333 ;;
@@ -36,17 +36,17 @@ case "${with_intelmpi}" in
3636 check_command mpiexec " intelmpi" && MPIRUN=" $( realpath $( command -v mpiexec) ) "
3737 if [ " ${intel_classic} " = " yes" ]; then
3838 # if intel compiler used as classic, so as intelmpi
39- export intelmpi_classic =" yes"
39+ export INTELMPI_CLASSIC =" yes"
4040 fi
4141 if [ " ${with_intel} " != " __DONTUSE__" ]; then
42- if [ " ${intelmpi_classic } " = " yes" ]; then
42+ if [ " ${INTELMPI_CLASSIC } " = " yes" ]; then
4343 check_command mpiicc " intelmpi" && MPICC=" $( realpath $( command -v mpiicc) ) " || exit 1
4444 check_command mpiicpc " intelmpi" && MPICXX=" $( realpath $( command -v mpiicpc) ) " || exit 1
4545 check_command mpiifort " intelmpi" && MPIFC=" $( realpath $( command -v mpiifort) ) " || exit 1
4646 else
4747 check_command mpiicx " intelmpi" && MPICC=" $( realpath $( command -v mpiicx) ) " || exit 1
4848 check_command mpiicpx " intelmpi" && MPICXX=" $( realpath $( command -v mpiicpx) ) " || exit 1
49- if [ " ${with_ifx } " == " yes" ]; then
49+ if [ " ${WITH_IFX } " == " yes" ]; then
5050 check_command mpiifx " intelmpi" && MPIFC=" $( realpath $( command -v mpiifx) ) " || exit 1
5151 else
5252 check_command mpiifort " intelmpi" && MPIFC=" $( realpath $( command -v mpiifort) ) " || exit 1
@@ -75,14 +75,14 @@ case "${with_intelmpi}" in
7575 check_dir " ${pkg_install_dir} /include"
7676 check_command ${pkg_install_dir} /bin/mpiexec " intel" && MPIRUN=" ${pkg_install_dir} /bin/mpiexec" || exit 1
7777 if [ " ${with_intel} " != " __DONTUSE__" ]; then
78- if [ " ${intelmpi_classic } " = " yes" ]; then
78+ if [ " ${INTELMPI_CLASSIC } " = " yes" ]; then
7979 check_command ${pkg_install_dir} /bin/mpiicc " intel" && MPICC=" ${pkg_install_dir} /bin/mpiicc" || exit 1
8080 check_command ${pkg_install_dir} /bin/mpiicpc " intel" && MPICXX=" ${pkg_install_dir} /bin/mpiicpc" || exit 1
8181 check_command ${pkg_install_dir} /bin/mpiifort " intel" && MPIFC=" ${pkg_install_dir} /bin/mpiifort" || exit 1
8282 else
8383 check_command ${pkg_install_dir} /bin/mpiicx " intel" && MPICC=" ${pkg_install_dir} /bin/mpiicx" || exit 1
8484 check_command ${pkg_install_dir} /bin/mpiicpx " intel" && MPICXX=" ${pkg_install_dir} /bin/mpiicpx" || exit 1
85- if [ " ${with_ifx } " = " yes" ]; then
85+ if [ " ${WITH_IFX } " = " yes" ]; then
8686 check_command ${pkg_install_dir} /bin/mpiifx " intel" && MPIFC=" ${pkg_install_dir} /bin/mpiifx" || exit 1
8787 else
8888 check_command ${pkg_install_dir} /bin/mpiifort " intel" && MPIFC=" ${pkg_install_dir} /bin/mpiifort" || exit 1
@@ -107,7 +107,7 @@ if [ "${with_intelmpi}" != "__DONTUSE__" ]; then
107107 else
108108 I_MPI_CXX=" icpx"
109109 I_MPI_CC=" icx"
110- if [ " ${with_ifx } " = " yes" ]; then
110+ if [ " ${WITH_IFX } " = " yes" ]; then
111111 I_MPI_FC=" ifx"
112112 else
113113 I_MPI_FC=" ifort"
0 commit comments