[CIG-SHORT] Error Installing Pylith on Cluster

Matthew Knepley knepley at mcs.anl.gov
Fri Dec 12 05:19:22 PST 2014


On Fri, Dec 12, 2014 at 12:12 AM, Xiao Ma <maxiaodage at hotmail.com> wrote:
>
> Hi,
> I follow the instruction of the "pylith-installer" till the "make"
> However after several steps, it gives the following error:
> ************************
> /usr/bin/ld: cannot find -lxml2
>

For some reason, OpenMPI seems to depend on xml2 and you do not have it. I
assume you are on a Linux machine (since Apple has it). Can you install xml2
with your package manager?

Brad, should this be included as a PyLith dependency?

  Thanks,

    Matt


> collect2: ld returned 1 exit status
> make[7]: *** [mca_plm_tm.la] Error 1
> make[7]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0/openmpi-build/orte/mca/plm/tm'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0/openmpi-build/orte'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0/openmpi-build'
> make[4]: *** [openmpi] Error 2
> make[4]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0'
> make[3]: *** [installed_mpi] Error 2
> make[3]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0'
> make[2]: *** [installed_hdf5] Error 2
> make[2]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0'
> make[1]: *** [installed_netcdf] Error 2
> make[1]: Leaving directory
> `/home/xiaoma5/src/pylith/pylith-installer-2.0.3-0'
> make: *** [installed_pylith] Error 2
>
> ***************************
> Xiao
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141212/149ae863/attachment.html>


More information about the CIG-SHORT mailing list