Hi,

I am new to deal.II. I just installed it and tried the examples first to get
a feel of the software so that I may use the library in my own code. I found
several problems with it. First of all, the trilinos library does not work
with deal.II out of the box. Some extra links are needed. For example, on
linking step-1 we get the following:

/usr/bin/ld: warning: libtrilinos_stratimikosamesos.so.1, needed by
/usr/lib/libdeal_II_2d.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libtrilinos_stratimikosaztecoo.so.1, needed by
/usr/lib/libdeal_II_2d.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libtrilinos_stratimikosifpack.so.1, needed by
/usr/lib/libdeal_II_2d.so, not found (try using -rpath or -rpath-link)
... (for many other libraries in the libtrilinos package)

So I wrote a simple shell script to fix this:
$ ll /usr/lib/libtrilinos_*.so | awk '//{print "ln -s " $10 " " $8 ".1"}' |
sudo sh

After this I tried linking and I encounter the following error:
/usr/lib/liblac.so: undefined reference to
`Epetra_CrsMatrix::ReplaceGlobalValues(int, int, double*, int*)'
/usr/lib/libdeal_II_2d.so: undefined reference to
`Teuchos::PrintActiveRCPNodes::PrintActiveRCPNodes()'
/usr/lib/liblac.so: undefined reference to
`Epetra_CrsMatrix::ReplaceMyValues(int, int, double*, int*)'
/usr/lib/liblac.so: undefined reference to
`Epetra_CrsMatrix::SumIntoMyValues(int, int, double*, int*)'
/usr/lib/libdeal_II_2d.so: undefined reference to
`Teuchos::PrintActiveRCPNodes::~PrintActiveRCPNodes()'
/usr/lib/liblac.so: undefined reference to
`Epetra_CrsMatrix::SumIntoGlobalValues(int, int, double*, int*)'
collect2: ld returned 1 exit status

I am not sure which version of liblac deal.II needs and I also don't know
what should be the package that contains this library. Can you help me with
this please?

Thanks,
Balaji
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to