This makes sense although I think I have installed teh wrong MPICH2, as when I compile it now it still says:
ipo: error #11018: Cannot open C:\opentelemac\mpi\lib\fmpich2.lib
xilink: executing 'link'
LINK : fatal error LNK1181: cannot open input file 'C:\opentelemac\mpi\lib\fmpic
h2.lib'
Which one is the correct one to install from the link below:
www.mpich.org/downloads/
I downloaded version 1.4.1p1 [x 86 64] for windows from Author Jayesh Krishna in the Unofficial Binary Packages: section, but this does not seem to give me a .lib file as suggested in the error message. I have a .msi file, its full name is mpich2-1.4.1p1-win-x86-64.msi.