On Tue, March 25, 2008 Kristian Oelgaard wrote: > Quoting Ola Skavhaug <[EMAIL PROTECTED]>: > >> Kristian Oelgaard skrev den 25/03-2008 følgende: >> > >> > >> > I'm running local installations of PETSc and SLEPc which are both >> picked >> up >> > during configuration of DOLFIN. But, when running >> > demo/pde/poisson/python/demo.py I get the following error: >> > >> > >> > [EMAIL PROTECTED]:~/fenics/dolfin/demo/pde/poisson/python$ python >> demo.py >> > Traceback (most recent call last): >> > File "demo.py", line 20, in <module> >> > from dolfin import * >> > File >> > >> > "/home/oelgaard/fenics/dolfin/local/lib/python2.5/site-packages/dolfin/__init__.py", >> > line 4, in <module> >> > from assemble import * >> > File >> > >> > "/home/oelgaard/fenics/dolfin/local/lib/python2.5/site-packages/dolfin/assemble.py", >> > line 17, in <module> >> > from dolfin import * >> > File >> > >> "/home/oelgaard/fenics/dolfin/local/lib/python2.5/site-packages/dolfin/dolfin.py", >> > line 7, in <module> >> > import _dolfin >> > ImportError: libslepc.so: cannot open shared object file: No such file >> or >> directory >> > >> > What is going wrong? >> >> The dynamic library libslepc.so is not found at run time. A solution is >> to >> add >> the correct path to your LD_LIBRARY_PATH: >> >> export >> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SLEPC_DIR/lib/linux-gnu-cxx-debug > > Works. > ^^^^^^^^^^^^^^^^^^^*) >> >> *) might differ if you build with a different compiler or on a different >> system etc. >> >> Eventually, the build system should figure this out the same way as with >> PETSc, since they are very similar put together. > > Good.
Fixed. Johannes _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
