File tree Expand file tree Collapse file tree 5 files changed +109
-106
lines changed Expand file tree Collapse file tree 5 files changed +109
-106
lines changed Original file line number Diff line number Diff line change 1+ # shellcheck disable=SC2154
12build_opencoarrays ()
23{
34 print_header
45 info " find_or_install mpich"
56 find_or_install mpich
67 info " find_or_install cmake"
78 find_or_install cmake
8- mkdir -p $build_path
9- pushd $build_path
9+ mkdir -p " $build_path "
10+ pushd " $build_path "
1011 if [[ -z " $MPICC " || -z " $MPIFC " || -z " $CMAKE " ]]; then
1112 emergency " Empty MPICC=$MPICC or MPIFC=$MPIFC or CMAKE=$CMAKE [exit 90]"
1213 else
1314 info " Configuring OpenCoarrays in ${PWD} with the command:"
1415 info " CC=\" ${MPICC} \" FC=\" ${MPIFC} \" $CMAKE \" ${opencoarrays_src_dir} \" -DCMAKE_INSTALL_PREFIX=\" ${install_path} \" "
1516 CC=" ${MPICC} " FC=" ${MPIFC} " $CMAKE " ${opencoarrays_src_dir} " -DCMAKE_INSTALL_PREFIX=" ${install_path} "
1617 info " Building OpenCoarrays in ${PWD} with the command make -j${num_threads} "
17- make -j${num_threads}
18+ make " -j${num_threads} "
1819 if [[ ! -z ${SUDO:- } ]]; then
1920 printf " \nThe chosen installation path requires sudo privileges. Please enter password if prompted.\n"
2021 fi
You can’t perform that action at this time.
0 commit comments