I am using Visual Fortran and I'm trying to implement a very simple code using MPI.
program hello_world
include 'C:\Program Files (x86)\Microsoft SDKs\MPI\Include\mpif.h'
integer ierr
call MPI_INIT ( ierr )
write(*,*) 'Hello world'
call MPI_FINALIZE ( ierr )
pause
end program hello_world
After I have defined the library and have done lots of steps that I found in many blogs I have this error:
"Error 1 error LNK2019: unresolved external symbol MPI_INIT referenced in function MAIN__ hello_world.obj"
What is the reason for that and how to come over it?