Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29250 Discussions

IPO COMMON padding breaks legacy MPI_Bcast usage

TimP
Honored Contributor III
347 Views
MPI_Bcast sometimes is used in legacy code with the buffer set up in labeled COMMON. It relies on no padding ever being added in the COMMON, contrary to Fortran standard. With ifort 11.0 and 11.1 for Intel64, /Qipo inserts padding even when the legacy rule is followed about always setting the COMMON in order of decreasing data object size. Adding /Qansi-alias- along with /Qipo, where MPI_Bcast is called, will prevent the error. It appears preferable to set up the Bcast buffer in an explicit array or SEQUENCE type.
0 Kudos
0 Replies
Reply