[CIG-SHORT] install problem

Brad Aagaard baagaard at usgs.gov
Thu Dec 22 14:28:59 PST 2011


As Matt mentioned the GLIBC error shows up when the Linux distribution 
you are using is several years old. You can use the CentOS binary 
instead which should work with CentOS 5 and RHEL 5 Linux distributions. 
Note that the PyLith binary will not work on more than a single compute 
node on a cluster. If you want to run PyLith on more than one compute 
node of a cluster, you need to build from source (we strongly recommend 
using the PyLith installer utility to do this). You should use the MPI 
version installed by the system administrator; this insures that MPI is 
setup to work with any special cluster hardware.

Brad


On 12/22/11 4:00 AM, 翁辉辉 wrote:
>
>
>
> hello!
>
>   I have some problem when I install the pylith-1.6.2-linux-x86_64.tgz on the cluster. The path is/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64 . When I run pylith,there are some error as follow :
>   Traceback (most recent call last):
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/bin/pylith", line 37, in<module>
>      from pylith.apps.PyLithApp import PyLithApp
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/apps/PyLithApp.py", line 23, in<module>
>      from PetscApplication import PetscApplication
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/apps/PetscApplication.py", line 27, in<module>
>      class PetscApplication(Application):
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/apps/PetscApplication.py", line 41, in PetscApplication
>      from pylith.utils.PetscManager import PetscManager
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/utils/PetscManager.py", line 29, in<module>
>      import pylith.utils.petsc as petsc
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/utils/petsc.py", line 25, in<module>
>      _petsc = swig_import_helper()
>    File "/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/utils/petsc.py", line 21, in swig_import_helper
>      _mod = imp.load_module('_petsc', fp, pathname, description)
> ImportError: /lib64/tls/libc.so.6: version `GLIBC_2.7' not found (required by /home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/libhdf5.so.6)
>
>    I set the .bashrc as follow :
> export PATH=/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/bin:$PATH
> export LD_LIBRARY_PATH=/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib:/home/hjs/wenghh/pylith/pylith-1.6.2-linux-i686/opt/petsc-dev/linux-gnu-cxx-opt/lib:${LD_LIBRARY_PATH}
> export PYTHONPATH=/home/hjs/wenghh/pylith/pylith-1.6.2-linux-x86_64/lib/python2.5/site-packages:$PYTHONPATH
>
>    Wish you have a good time
>    regards.
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list