Thanks Wolfgang,
I think you are correct! I just tried to use petsc_full_matrix instead and
it linked no problem!
On Monday, November 9, 2020 at 5:25:30 PM UTC-6 Wolfgang Bangerth wrote:
> On 11/9/20 2:49 PM, Daniel Arndt wrote:
> >
> > Undefined symbols for architecture x86_64:
> >
On 11/9/20 2:49 PM, Daniel Arndt wrote:
Undefined symbols for architecture x86_64:
"dealii::PETScWrappers::SparseMatrix::SparseMatrix(int const&, bool)",
referenced from:
There is no such function -- the linker tells you that, but it's unclear to me
how it is referenced in
Ah sorry, yes I have done that already. Sorry for forgetting that
detail...
If it should work assuming I have added my new directory in
source/CMakeLists.txt, maybe my implementation is the problem. Though, I
wouldn't know why since it fails at linking.
On Monday, November 9, 2020 at
Zachary,
You also need to make sure that CMake actually sees that your new source
directory. In particular, you should add a line saying
ADD_SUBDIRECTORY(Test)
to source/CMakeLists.txt.
Best,
Daniel
Am Mo., 9. Nov. 2020 um 11:35 Uhr schrieb Zachary 42! <
zacharyloui...@gmail.com>:
> Hi
Hi folks,
I am trying to add another include/source directory and subsequent obj to
dealii for potential future contributions to dealii. Though I am having
linking errors because my new obj needs to link agains the lac_obj (need
Trilinos and other interfaces). I thought the ADD_DEPENDICIES