<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17114" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi Junchao,</DIV>
<DIV> </DIV>
<DIV>Many thanks! </DIV>
<DIV>The compile is now successful.</DIV>
<DIV>I still have to test with WRF now.</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV>Mogesh.</DIV>
<DIV><BR><BR>>>> Junchao Zhang <jczhang@mcs.anl.gov> 06/11/2013 17:26 >>><BR></DIV>
<DIV dir=ltr>It seems the compilation was stuck at hwloc. Try export these two env variables and compile again.
<DIV><BR>
<DIV>
<DIV>
<DIV>HWLOC_LIBXML2_CFLAGS = -I<path to your xml2 headers, such as /usr/include/libxml2></DIV>
<DIV>HWLOC_LIBXML2_LIBS = -L<path to your xml2 library> -lxml2</DIV></DIV>
<DIV><BR></DIV>
<DIV>If it does not work, could you paste your $<SPAN style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma">LD_LIBRARY_PATH?</SPAN></DIV>
<DIV><BR>
<DIV class=gmail_extra>
<DIV>
<DIV dir=ltr>--Junchao Zhang</DIV></DIV><BR>
<DIV class=gmail_quote>On Tue, Nov 5, 2013 at 6:52 AM, Mogesh Naidoo <SPAN dir=ltr><<A href="mailto:MNaidoo4@csir.co.za" target=_blank>MNaidoo4@csir.co.za</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>I'm having trouble compiling MPICH-3.0.4.</DIV>
<DIV>I'm using GNU 4.7.2 compilers.</DIV>
<DIV>My configure = </DIV>
<DIV>./configure --prefix=/export/home/mnaidoo/software/mpich/mpich3_GNU --with-gnu-ld 2>&1 | tee c.txt</DIV>
<DIV>Configure is successful with no errors.</DIV>
<DIV></DIV>
<DIV>The make fails with </DIV>
<DIV>"libtool: link: `/usr/lib64/<A href="http://libxml2.la" target=_blank>libxml2.la</A>' is not a valid libtool archive"</DIV>
<DIV>This occurs when trying:</DIV>
<DIV>"CCLD <A href="http://libhwloc_embedded.la" target=_blank>libhwloc_embedded.la</A>"</DIV>
<DIV></DIV>
<DIV>So there's a <A href="http://libxml2.la" target=_blank>libxml2.la</A> in /usr/lib64, but there's also one in another directory.</DIV>
<DIV>I add this directory to LD_LIBRARY_PATH and I still get the same error.</DIV>
<DIV>How do I tell <EM>make</EM> to use the <A href="http://libxml2.la" target=_blank>libxml2.la</A> in the other directory?</DIV>
<DIV></DIV>
<DIV>regards,</DIV>
<DIV>Mogesh.</DIV><SPAN><FONT color=#888888>
<DIV></DIV><FONT face="Verdana,Arial,Helvetica,Trebuchet MS" size=1><BR>-- <BR>This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. <BR>The full disclaimer details can be found at <A href="http://www.csir.co.za/disclaimer.html" target=_blank>http://www.csir.co.za/disclaimer.html</A>.
<P><BR>This message has been scanned for viruses and dangerous content by <A href="http://www.mailscanner.info/" target=_blank><B>MailScanner</B></A>, <BR>and is believed to be clean. </P>
<P><BR>Please consider the environment before printing this email. </P>
<P></P></FONT></FONT></SPAN></DIV><BR>_______________________________________________<BR>discuss mailing list <A href="mailto:discuss@mpich.org" target=_blank>discuss@mpich.org</A><BR>To manage subscription options or unsubscribe:<BR><A href="https://lists.mpich.org/mailman/listinfo/discuss" target=_blank>https://lists.mpich.org/mailman/listinfo/discuss</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV></DIV><font face="Verdana,Arial,Helvetica,Trebuchet MS" size="1">
<br />--
<br />This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
<br />The full disclaimer details can be found at <a href="http://www.csir.co.za/disclaimer.html">http://www.csir.co.za/disclaimer.html</a>.
<p>
<br />This message has been scanned for viruses and dangerous content by <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
<br />and is believed to be clean.
<p>
<br />Please consider the environment before printing this email.
</font>
</BODY></HTML>