[CIG-MC] Compiling CitcomS (SVN) with pyre support, python bombs

Thorsten Becker thorstinski at gmail.com
Mon Jan 10 11:29:52 PST 2011


hi,

i'm trying to compile CitcomS with pyre enabled and, after compile,
get the error messages below when trying to start up the python
wrapped citcoms. A web search suggested that this python problem could
be fixed by using linker flags '-Xlinker -export-dynamic', this does,
however, not improve the situation.

python version is 2.6.1
compiling with gnu or intel gives same results
cluster runs linux 2.6.18-194.17.4.el5 kernel

 thanks much for any help and suggestions in advance!

cheers

t

>>> Error message <<<

> ~/progs/src/cig/CitcomS/bin/citcoms ba_test.cfg
Traceback (most recent call last):
  File "/home/rcf-106/twb/progs/src/cig/CitcomS/bin/citcoms", line 64,
in <module>
    from CitcomS.SimpleApp import SimpleApp as App
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/CitcomS/SimpleApp.py",
line 30, in <module>
    from BaseApplication import BaseApplication
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/CitcomS/BaseApplication.py",
line 30, in <module>
    from mpi.Application import Application
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/python/pythia-0.8.1.11-py2.6.egg/mpi/__init__.py",
line 15, in <module>
    from Application import Application
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/python/pythia-0.8.1.11-py2.6.egg/mpi/Application.py",
line 14, in <module>
    from pyre.applications.Script import Script
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/python/pythia-0.8.1.11-py2.6.egg/pyre/applications/__init__.py",
line 19, in <module>
    from Shell import Shell
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/python/pythia-0.8.1.11-py2.6.egg/pyre/applications/Shell.py",
line 25, in <module>
    class Shell(Configurable):
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/python/pythia-0.8.1.11-py2.6.egg/pyre/applications/Shell.py",
line 39, in Shell
    from Preprocessor import Preprocessor
  File "/auto/rcf-proj/twb/progs/src/cig/CitcomS/python/pythia-0.8.1.11-py2.6.egg/pyre/applications/Preprocessor.py",
line 17, in <module>
    import os, getpass, socket
  File "/usr/usc/python/2.6.1/lib/python2.6/socket.py", line 46, in <module>
    import _socket
ImportError: /usr/usc/python/2.6.1/lib/python2.6/lib-dynload/_socket.so:
undefined symbol: PyExc_ValueError


Thorsten Becker - http://geodynamics.usc.edu/~becker


More information about the CIG-MC mailing list