On Tue, Mar 11, 2008 at 03:36:24PM +0100, Anders Logg wrote: > On Tue, Mar 11, 2008 at 03:32:19PM +0100, Ilmar Wilbers wrote: > > The atlas3-sse2-dev package does things differently from the normal > > expected atlas. In umfpack.py we expect the atlas libraries to reside in > > /usr/lib/atlas. This is the case with altas3-base-dev, but not with the > > package you tried. > > > > Setting ATLAS_DIR does the trick. Alternatively, using atlas3-base-dev, > > the library files are located at the expected location. > > ok, I fixed this by setting the symlink manually. > > I now have a similar problem with PETSc: > > `pkg-config --variable=compiler dolfin` -o demo main.o `pkg-config > --cflags dolfin` `pkg-config --libs dolfin` > /usr/bin/ld: warning: libpetscsnes.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /usr/bin/ld: warning: libpetscmat.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /usr/bin/ld: warning: libpetscvec.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /usr/bin/ld: warning: libpetscts.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /usr/bin/ld: warning: libpetsc.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /usr/bin/ld: warning: libpetscdm.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /usr/bin/ld: warning: libpetscksp.so, needed by > /home/logg/local/lib/libdolfin.so, not found (try using -rpath or > -rpath-link) > /home/logg/local/lib/libdolfin.so: undefined reference to > `VecGetArray_Private(_p_Vec*, double**)' > /home/logg/local/lib/libdolfin.so: undefined reference to > `MatView(_p_Mat*, _p_PetscViewer*)' > /home/logg/local/lib/libdolfin.so: undefined reference to > `KSPView(_p_KSP*, _p_PetscViewer*)' > ... > > > pkg-config --libs dolfin returns > > -L/home/logg/local/lib -ldolfin -lxml2 > > Did I miss something?
Adding /usr/local/lib/petsc/lib/linux-gnu-cxx-debug/ to LD_LIBRARY_PATH fixes this, but shouldn't this be handled automatically? -- Anders _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
