<div dir="ltr"><div>Just a guess:<br></div><div>Maybe your MITgcm "optfile", which is read by genmake to know where to find MPI and netCDF libraries, <br></div><div>etc,  is not pointing to the correct MPI lib and include directories?</div><div>If you have more than one MPI installed, say MPICH and Open MPI, make sure <br></div><div>you point to one of them only.</div><div><br></div><div>I hope it helps,</div><div>Gus Correa<br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 26, 2020 at 3:46 PM Vincent Le Fouest <<a href="mailto:vincent.lefouest@gmail.com">vincent.lefouest@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear users,</div><div><br></div><div>I experience some difficulties in getting MITgcm compiled under Cygwin.</div><div>I got openmpi and librairies installed, but I got the error message when executing the make command:</div><div><br></div><div>"diagstats_ascii_out.for:995: Error: Can't open included file 'mpif-config.h'<br>make[1]: *** [Makefile:1808 : diagstats_ascii_out.o] Erreur 1</div><div><br></div><div>That 
mpif-config.h is located in /usr/include.<br></div><div><br></div><div>I guess my opt file set in my genmake2 command is not right.</div><div><br></div><div>Any tip would be very helpful,</div><div><br></div><div>Kind regards,</div><div><br></div><div>Vincent<br></div></div>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
</blockquote></div>