Created attachment 177335 [details] This program cam be used to raise the error. The same program woks with openmpi2 When calling MPI_Barrier(MPI_COMM_WORLD); the process receive a [ota@nostromo ~/Desktop]$ mpicc -o check_status check_status.c [ota@nostromo ~/Desktop]$ mpirun -np 2 ./check_status 0 sent 33 numbers to 1 1 received 33 numbers from 0. Message source = 0, tag = 0 Prepare MPI_Barrier Prepare MPI_Barrier =================================================================================== = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = PID 63320 RUNNING AT nostromo = EXIT CODE: 138 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES =================================================================================== YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Bus error (signal 10) This typically refers to a problem with your application. Please see the FAQ page for debugging suggestions This same program works fine with openmpi2 The attached program cam be used to raise the error. FreeBSD 11 clang 3.8.0
A commit references this bug: Author: tijl Date: Wed Nov 23 18:16:56 UTC 2016 New revision: 426949 URL: https://svnweb.freebsd.org/changeset/ports/426949 Log: Add patch to apply alignment attribute to a struct instead of a typedef. This rounds the size of the struct to a multiple of the alignment such that malloc and friends allocate memory with the correct alignment. PR: 214784 MFH: 2016Q4 Changes: head/net/mpich/Makefile head/net/mpich/files/patch-src-include-mpiimpl.h
A commit references this bug: Author: tijl Date: Wed Nov 23 22:29:55 UTC 2016 New revision: 426981 URL: https://svnweb.freebsd.org/changeset/ports/426981 Log: MFH: r426949 Add patch to apply alignment attribute to a struct instead of a typedef. This rounds the size of the struct to a multiple of the alignment such that malloc and friends allocate memory with the correct alignment. PR: 214784 Approved by: ports-secteam (feld) Changes: _U branches/2016Q4/ branches/2016Q4/net/mpich/Makefile branches/2016Q4/net/mpich/files/patch-src-include-mpiimpl.h