dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05094
Re: libdolfin.so.0
> You can't load the library try using ldd (or on a Mac otool -l) to see
> if it finds the library
>
> ~/dolfin/src/demo/pde/poisson$ ldd demo
>
> Make sure your library install path (such as /usr/local/lib) is in the
> LD_LIBRARY_PATH environment variable. Check out ~/dolfin/dolfin.conf to
> see what it should be set to, I usually just put:
>
> source ${HOME}/dolfin/dolfin.conf
>
> in my .bash_profile file.
>
> Andy
I'm almost there...
Now when I run poisson's demo I get
...
| Applying Dirichlet boundary conditions |
|=================================================================| 100.0%
Using direct solver.
Solving linear system of size 1089 x 1089 (PETSc LU solver).
Ordering mesh entities...
Plotting Function, press q to continue...
Traceback (most recent call last):
File "/tmp/fileLnrngL.py", line 7, in ?
exit(1)
TypeError: 'str' object is not callable
Unable to plot (PyDOLFIN or Viper plotter not available).
Saved function u (discrete function) to file poisson.pvd in VTK format.
I tried to use gmv to visualize the VTK file but the answer was
This is not a GMV input file...
Now, what's the next step to visualize the solution? Should be Paraview?
Paulo
>
> pcorreia@xxxxxxxxx wrote:
>> I successfully built dolfin but when I run poisson's demo I get:
>>
>> ./demo: error while loading shared libraries: libdolfin.so.0: cannot
>> open
>> shared object file: No such file or directory
>>
>> Where should libdolfin.so.0 appear?
>>
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@xxxxxxxxxx
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>
>
>
> --
>
> ====================
> Andy Terrel
> Computer Science Dept
> University of Chicago
> aterrel@xxxxxxxxxxxx
> ---------------------
>
> Men are equal;
> it is not birth but virtue that makes the difference.
> -Voltaire
>
Follow ups
References