Hi Parsa,
are you using Microsoft Compute Cluster Server (v1) or the Windows HPC Server (v2)?
if you are using MSMPI sdk (v2), you need to link with msmpi.lib plus one of the fortran libraries.
The msmpifec.lib supports compiling where the fortran compiler puts string length at the end of the parameter stack (most common case).
The msmpifms.lib supports compiling where the Fortran compilers puts the string length right after the string pointer on the parameter stack (mixed).
I assume that you are building for x64 target.
Thanks,
.Erez