I'm newbie to parallel computing and trying to use mpif.h for my first program.
This is what I've done.
1.Properties of project -> Configuration Properties -> Fortran -> Additional Include Directories : "C:\Program Files\Microsoft HPC Pack 2008 R2\Inc"
2. Linker -> General -> Additional Library Directories : "C:\Program Files\Microsoft HPC Pack 2008 R2\Lib\[i386|amd64]"
3. Linker -> Input : Additional Dependencies : msmpi.lib
(one of the files msmpifec.lib msmpifmc.lib msmpifes.lib msmpifmc.lib msmpifms.lib which were in the i386 and amd64 folders)
By doing this I get 2 errors.
error #11018: Cannot open msmpi.lib
fatal error LNk1181: cannot open input file 'msmpi.lib'
How do I fix this? Does anybody know how to fix this?
By the way, I did the same procedure for c/c++ compiler and it worked well.