MPI linking error (unresolved external symbol)

Could you please check if there aren’t any bugs in PGI Fortran compiler with the following three MPI subroutines?

MPI_BCAST
MPI_RECV
MPI_SEND

Linking error only happens when these subroutines take character variables as their argument.

For other types, they just work fine.

Hi CNJ,

Can you clarify what you mean by “character variables as their argument” any maybe provide an example?

These routines expect a buffer as the first argument with integers as the other arguments. http://www.mpich.org/static/docs/v3.2/www3/MPI_Bcast.html

Thanks,
Mat

It seems that this issue occurs at 32-bit environment only.

After I changed my Windows to 64-bit, this linking error doesn’t happen anymore.