Skip to content

Commit d4c4c3a

Browse files
committed
Apply mpich bug patch on Linux too
Based on the discussion at http://lists.mpich.org/pipermail/discuss/2016-May/004764.html it appears that this bug should effect Linux
1 parent f486148 commit d4c4c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prerequisites/build-functions/build_and_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ build_and_install()
2020

2121
if [[ "${package_to_build}" != "gcc" ]]; then
2222

23-
if [[ "${package_to_build}" == "mpich" && "${version_to_build}" == "3.2" && "${OSTYPE}" == "darwin"* ]]; then
23+
if [[ "${package_to_build}" == "mpich" && "${version_to_build}" == "3.2" ]]; then
2424
info "Patching MPICH 3.2 on Mac OS due to segfault bug (see http://lists.mpich.org/pipermail/discuss/2016-May/004764.html)."
2525
sed -i '' 's/} MPID_Request ATTRIBUTE((__aligned__(32)));/} ATTRIBUTE((__aligned__(32))) MPID_Request;/g' \
2626
"${download_path}/${package_source_directory}/src/include/mpiimpl.h"

0 commit comments

Comments
 (0)