Re: [mpich-discuss] Compilation: MPICH3 and libxml2
Hi Junchao, Many thanks! The compile is now successful. I still have to test with WRF now. regards, Mogesh.
Junchao Zhang <[email protected]> 06/11/2013 17:26 >>> It seems the compilation was stuck at hwloc. Try export these two env variables and compile again.
HWLOC_LIBXML2_CFLAGS = -I<path to your xml2 headers, such as /usr/include/libxml2> HWLOC_LIBXML2_LIBS = -L<path to your xml2 library> -lxml2 If it does not work, could you paste your $LD_LIBRARY_PATH? --Junchao Zhang On Tue, Nov 5, 2013 at 6:52 AM, Mogesh Naidoo <[email protected]> wrote: Hi, I'm having trouble compiling MPICH-3.0.4. I'm using GNU 4.7.2 compilers. My configure = ./configure --prefix=/export/home/mnaidoo/software/mpich/mpich3_GNU --with-gnu-ld 2>&1 | tee c.txt Configure is successful with no errors. The make fails with "libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive" This occurs when trying: "CCLD libhwloc_embedded.la" So there's a libxml2.la in /usr/lib64, but there's also one in another directory. I add this directory to LD_LIBRARY_PATH and I still get the same error. How do I tell make to use the libxml2.la in the other directory? regards, Mogesh. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner ( http://www.mailscanner.info/) , and is believed to be clean. Please consider the environment before printing this email. _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email.
participants (1)
-
Mogesh Naidoo