Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TUTORIAL: Adapting MS-MPI for MinGW64 #85
MS-MPI with the MinGW64 gfortran
Tested on 64-bit MS Windows 8.0; MinGW-W64 project 4.9.0.
Note that you have to link the above generated libmsmpi64.a library. If you would link against the ms-mpi provided dynamical library, msmpi64.dll , you would get the error message of Fatal protocol error: check version between Mpiexec.exe, Msmpi.dll, and Smpd.exe.
Likewise I stress that linking against the delivered lib-file msmpi64.lib does not work, you must have your own prepared libmsmpi64.a library, as explained above:
Attachement 1 - (mpi.f90 -> mpi.F90), modified lines
Attachement 2 - mpif.h, modified lines
Attachement 3 - example.F90