Dear FeNiCS team,

I have trying to install and use FeNiCS for quite some time now, but seem
to get into trouble loading all the libraries.

First of all, I have not made the whole installation myself, since I am not
a root on my machine. As far as I know, the installation has been done
locally on a KDE machine as root.
When I try to run one of my (colleagues) scripts that I know works, it
seems like Dolfin cannot be loaded:
Traceback (most recent call last):
  File "test_diff_avg_v.py", line 3, in <module>
    from SPDE              import FEniCSModels
  File
"/home/bouchot/Desktop/dev/CSPG/Master/SPDE/FEniCSModels/__init__.py", line
23, in <module>
    from Average import *
  File
"/home/bouchot/Desktop/dev/CSPG/Master/SPDE/FEniCSModels/Average.py", line
1, in <module>
    from dolfin import *
ImportError: No module named dolfin

I have tried to run other (non-locally made) scripts, such as the one I
could found in the Dolfin folder:
~/dolfin-1.5.0/test/regression/test.py and got the following error:
Traceback (most recent call last):
  File "test.py", line 29, in <module>
    import instant
ImportError: No module named instant

and similarly for the following script:
bouchot@nabla ~ $ python
dolfin-1.5.0/demo/documented/poisson/python/demo_poisson.py
Traceback (most recent call last):
  File "dolfin-1.5.0/demo/documented/poisson/python/demo_poisson.py", line
37, in <module>
    from dolfin import *
ImportError: No module named dolfin

I have also tried to make sure that the dolfin / fenics packages would load
correctly within python, but it seems like the installation (or god knows
what) interfered with the following commands:
python
help()
modules

No handlers could be found for logger "OpenGL.Tk"
/usr/lib64/python2.7/site-packages/gobject/constants.py:24: Warning:
g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0'
failed
  import gobject._gobject
AccessInit: hash collision: 3 for both 1 and 1

Neither fenics nor dolfin nor instant seem to be within the site-packages
directory anyway.

Finally, if this is any useful, checking in the .hashdist folder then bld
subfolder, dolfin. instant, and any relevant dependencies seems to be here.
A further check tells me that the libdolfin.so file is indeed within some
subfolder of the /bld/dolfin/ folder.

After quite a few hours of random online googling, I think I'm about to
just through this computer out of the window and am seriously thinking
about a career as a cook somewhere in South America - I might have more
luck there!

So any help you might provide would be greatly appreciated,
Best,
Jean-Luc
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to