In some of our work (using the Intel Fortran compiler), we are linking the intel blacs against the intel mpi library and seem to be having some 4/8 byte interface issues. The documentation is not very clear to us about what is happening.
On Windows, when we link the ILP64 scalapack/blacs against the ILP64 version of the intel mpi library, everything works great. This seems to indicate to us that IPL64 scalapck/blacs are assuming 8-byte integer interfaces to the intel mpi library.
On linux, when we link the ILP64 scalapack/blacs against the ILP64 version of the intel mpi library weird things happen in calls to blacs routines, but when the link the ILP64 scalapack/blacs against the LP64 version of the intel mpi library, things seem to work well. If we link against an openmpi 8-byte library using the ILP64 scalapck/mkl_blacks_openmpi_ilp64 then everything works fine.
It seems to us that on linux, the mkl_blacs_intelmpi_ilp64 is still assuming that the mpi library is using 4-byte integers, while on Windows, the blacs_intelmpi_ilp64 is assuming 8-byte integer mpi library function interfaces.
The MKL manual does not specify (that we can find) whether the ILP64 blacs assumes a 4- or 8-byte integer mpi interface. Is there more information about what mpi library interface the blacs libraries are assuming they are to be linked against?