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. MPI_Bcast

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.