<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Joe,</div><div><br></div>I am glad the problem is solved.<div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Wei-keng</div></div></div></span> </div><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="4" style="font: 13.0px Helvetica">Joe Buck &lt;<a href="mailto:jbbuck@gmail.com">jbbuck@gmail.com</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="4" style="font: 13.0px Helvetica">December 9, 2009 4:53:46 PM CST</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="4" style="font: 13.0px Helvetica">Wei-keng Liao &lt;<a href="mailto:wkliao@ece.northwestern.edu">wkliao@ece.northwestern.edu</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="4" style="font: 13.0px Helvetica"><b>Re: Having a compile issue</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div>Lining up MPI with gfortran (and not what it was using, f77 which pointed to fort77 which uses f2c) worked like a charm.<br>That was a great catch from the configure and make output. I really, really appreciate your help on this. <br> If you're ever out in CA near Santa Cruz, let me know and I'll buy you a drink or lunch or something :)<br>-Joe Buck<br><br><div class="gmail_quote">On Wed, Dec 9, 2009 at 1:39 PM, Wei-keng Liao <span dir="ltr">&lt;<a href="mailto:wkliao@ece.northwestern.edu">wkliao@ece.northwestern.edu</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">By the way, the command that shows how an MPICH was built is:<br> &nbsp;mpich2version<br> <br> Please try both mpich2version and /install/mpich2-121/bin/mpich2version<br> <br> Wei-keng<br> <br> Begin forwarded message:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"> From: Wei-keng Liao &lt;<a href="mailto:wkliao@ece.northwestern.edu" target="_blank">wkliao@ece.northwestern.edu</a>&gt;<br></div> Date: December 9, 2009 3:35:40 PM CST<br> To: Joe Buck &lt;<a href="mailto:jbbuck@gmail.com" target="_blank">jbbuck@gmail.com</a>&gt;<div class="im"><br> Subject: Re: Having a compile issue<br> <br></div><div><div></div><div class="h5"> Joe,<br> <br> Your mpif77 is built with /usr/bin/f77.<br> <br> In your environment setup, you used /usr/bin/gfortran<br> for F77, F90, and FC. But the MPIF77 and MPIF90 variables<br> point to the compilers which are not built with gfortran.<br> I suspect your /usr/bin/f77 may be different from<br> /usr/bin/gfortran.<br> <br> Can you also run "/install/mpich2-121/bin/mpif77 -v"?<br> You will see what Fortran compiler was used to build<br> this mpif77.<br> <br> Can you check if you have an MPICH that is built with<br> gfortran? If yes, please try that.<br> <br> Or you can try by changing F77 and F90 to the actual<br> fortran compilers used by your mpif77 and mpif90.<br> Basically, match the compilers in MPI and F77/F90.<br> <br> Wei-keng<br> <br> On Dec 9, 2009, at 2:56 PM, Joe Buck wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Wei-keng,<br> The &nbsp;mpif77 vs/install/mpich2-121/bin/mpif77 was an oversight. I have corrected it to be /install/mpich2-121/bin/mpif77 to match up with the mpicc (and other variables) naming convention.<br> <br> Here's the mpif77-v output:<br> buck@bender:/git/parallel-netcdf$ mpif77 -v<br> mpif77 for MPICH2 version 1.2.1<br> /usr/bin/f77: fort77 Version 1.15<br> /usr/bin/f77: No input files specified<br> <br> and I'm attaching the pertinent environment variables.<br> <br> Best Regards,<br> -Joe Buck<br> &lt;env.txt&gt;<br> </blockquote> <br> </div></div></blockquote> <br> </blockquote></div><br></blockquote></div><br></div></body></html>