<div>Hi Dave,</div>
<div> </div>
<div> Thanks for your suggestion.</div>
<div> I tried compiling following your suggestion and I still see the same errors.</div>
<div> </div>
<div>Steps I followed: </div>
<div>============</div>
<div> </div>
<div>1> Removed everything from previous tmp build directory (i.e., /tmp/petara1/mpich2-1.2.1) and freshly created it again.</div>
<div> </div>
<div>2> Configured as below :-</div>
<div> /petara1/mpich2/mpich2-1.2.1/configure -prefix=/mpich2-install --with-devicech3:sock 2>&1 | tee c.txt</div>
<div> </div>
<div>3> As ususal I saw the below error in c.txt file.</div>
<div> /petara1/mpich2/mpich2-1.2.1/src/mpid/ch3/configure: MY_EXPORTED_LIBS= -lpthread: is not an identifier </div>
<div> </div>
<div>4> Modified file ( /tmp/petara1/mpich2-1.2.1/src/mpid/ch3/configure.lineno, line 7259 ) as suggested by you as:</div>
<div> MY_EXPORTED_LIBS="$LIBS"</div>
<div> export MY_EXPORTED_LIBS</div>
<div> </div>
<div>5> Tried compiling again as:</div>
<div> make 2>&1 | tee m.txt</div>
<div> </div>
<div>6> Fails with same reason</div>
<div> </div>
<div>Attaching new c.txt, m.txt and configure.log files.</div>
<div> </div>
<div>Cheers,</div>
<div> </div>
<div>-Arvind<br><br></div>
<div class="gmail_quote">On Thu, Jan 21, 2010 at 6:06 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">It looks like the CH3 configure step didn't entirely complete, so a bunch of configure-generated files are missing. Line 454 of your previously attached c.txt is particularly suspect:<br>
<br>--------8<--------<br>/petara1/mpich2/mpich2-1.2.1/src/mpid/ch3/configure: MY_EXPORTED_LIBS= -lpthread: is not an identifier<br>--------8<--------<br><br>Aha! As I'm writing this I think I see the problem. There's a bash/zsh-ism in src/mpid/ch3/<a href="http://configure.in/" target="_blank">configure.in</a>, line 311:<br>
<br>--------8<--------<br>export MY_EXPORTED_LIBS="$LIBS"<br>--------8<--------<br><br>I don't have the time to do it today, but I can try to build you a release tarball with a fixed version tomorrow. The fix should be to separate out the assignment from the export:<br>
<br>--------8<--------<br>MY_EXPORTED_LIBS="$LIBS"<br>export MY_EXPORTED_LIBS<br>--------8<--------<br><br>You are welcome to make that change yourself, but you'll need to regenerate the configure from the <a href="http://configure.in/" target="_blank">configure.in</a> by running "./maint/updatefiles" in the source tree, which itself requires particular versions of the autotools and some other utilities. Alternatively, you can edit "src/mpid/ch3/configure" in the build tree directly, but I can't tell you exactly which line to change. You'll just have to search for MY_EXPORTED_LIBS and make the change wherever it is.<br>
<font color="#888888"><br>-Dave</font>
<div>
<div></div>
<div class="h5"><br><br>On Jan 21, 2010, at 3:34 PM, Arvind Petaru wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">same errors...<br><br>On Thu, Jan 21, 2010 at 4:34 PM, Rajeev Thakur <<a href="mailto:thakur@mcs.anl.gov" target="_blank">thakur@mcs.anl.gov</a>> wrote:<br>
Does it give the same error or a different error?<br><br>Rajeev<br><br>From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a> [mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a>] On Behalf Of Arvind Petaru<br>
Sent: Thursday, January 21, 2010 3:32 PM<br><br>To: <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>Subject: Re: [mpich-discuss] Compilation of MPCH2-1.2.1 is failing onSunSolaris 10 (Sparc)<br>
<br>Forgot to mention earlier....I tried that too(--with-device=ch3:sock) and it fails........<br><br>-Arvind<br><br>On Thu, Jan 21, 2010 at 4:27 PM, Rajeev Thakur <<a href="mailto:thakur@mcs.anl.gov" target="_blank">thakur@mcs.anl.gov</a>> wrote:<br>
Can you try configuring with --with-device=ch3:sock (followed by make and make install) and see if that works?<br><br>Rajeev<br><br>From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a> [mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a>] On Behalf Of Arvind Petaru<br>
Sent: Thursday, January 21, 2010 2:19 PM<br>To: <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>Subject: [mpich-discuss] Compilation of MPCH2-1.2.1 is failing on SunSolaris 10 (Sparc)<br>
<br><br>Hi,<br><br> I'm new to MPI programming.<br> I installed MPICH2 on my Sun Solaris 10, SPARC version and tried to configure & compile it on this machine.<br> I was not able to compile it successfully and it throws lot of errors. Not sure what could be the problem (or) if I am missing something.<br>
I'd appreciate if someone can help me in this regards.<br><br> Attaching c.txt, m.txt, config.log, config.system and config.status files for your reference.<br><br> Let me know if you need any other info.<br><br>
-- <br>Cheers,<br><br>-Arvind<br><br><br><br>-- <br>Cheers,<br><br>-Arvind<br><br>_______________________________________________<br>mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br><br><br><br><br>-- <br>Cheers,<br><br>-Arvind<br><br>_______________________________________________<br>
mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br><br><br><br>-- <br>Cheers,<br><br>-Arvind<br>_______________________________________________<br>mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></blockquote><br>_______________________________________________<br>mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br><br>-Arvind<br>