Docker and Eclipse

43 views
Skip to first unread message

andrew jack urombo

unread,
Oct 2, 2021, 7:01:32 AM10/2/21
to dea...@googlegroups.com

I am running dealii on Docker, and now would like to debug my projects using Eclipse.

1. How do you that so that Eclipse recognise the dealii that is in a container and work in sync?

Why I am not running a compiled dealii is because I am getting this error with log ending:

/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/step_3_simplex.debug.dir/doxygen/step_3_simplex.cc.o:(.data.rel.ro._ZTVN6dealii13FiniteElementILi2ELi2EE16InternalDataBaseE[_ZTVN6dealii13FiniteElementILi2ELi2EE16InternalDataBaseE]+0x20): undefined reference to `dealii::FiniteElement<2, 2>::InternalDataBase::memory_consumption() const'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/step_3_simplex.debug.dir/build.make:110: bin/step_3_simplex.debug] Error 1
make[1]: *** [CMakeFiles/Makefile2:3814: examples/CMakeFiles/step_3_simplex.debug.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
MathW15Lnx:/home/jurombo/Downloads/dealii-9.3.0/build #

2. How do I fix this compile error?

-- 
mathematical sciences
harare institute of technology
15015 ganges road
p.o box be277
belvedere
harare
zimbabwe

business  : +263.24.274.1423-36
facsimile : +263.24.274.1408
mobile zw1: +263.77.283.8167
mobile zw2: +263.77.412.0815
mobile ind: +91.844.867.9322
home      : +263.68.215.3910

The information in this message is confidential and legally privileged. It is intended solely for the addressee(s). Access to this message by anyone else is unauthorized. If received in error, please accept our apologies and notify the sender immediately. You must also delete the original message from your machine. If you are not the intended recipient, any use, disclosure, copying, distribution or action taken in reliance of it, is prohibited and may be unlawful. The information, attachments, opinions or advice contained in this email are not the views or opinions of Harare Institute of Technology, its subsidiaries or affiliates. Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by Harare Institute of Technology and/or its subsidiaries for any loss or damage arising in any way from the receipt or use thereof.

Wolfgang Bangerth

unread,
Oct 5, 2021, 8:00:41 PM10/5/21
to dea...@googlegroups.com

Andrew,

> I am running dealii on Docker, and now would like to debug my projects using
> Eclipse.
>
> 1. How do you that so that Eclipse recognise the dealii that is in a container
> and work in sync?

I don't actually know how to do that, but you could presumably just run
Eclipse in the container as well.


> Why I am not running a compiled dealii is because I am getting//this error
> with log ending:
>
> //usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld:
> CMakeFiles/step_3_simplex.debug.dir/doxygen/step_3_simplex.cc.o:(.data.rel.ro._ZTVN6dealii13FiniteElementILi2ELi2EE16InternalDataBaseE[_ZTVN6dealii13FiniteElementILi2ELi2EE16InternalDataBaseE]+0x20):
> undefined reference to `dealii::FiniteElement<2,
> 2>::InternalDataBase::memory_consumption() const'//

This looks like a bug to me. Can you try whether this patch help?
https://github.com/dealii/dealii/pull/12793

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

jack urombo

unread,
Oct 11, 2021, 10:31:46 AM10/11/21
to deal.II User Group
Managed to install from  the latest git repo and it went perfectly well:

MathW15Lnx:/home/jurombo/Downloads/dealii/build # make test
Running quicktests...
Test project /home/jurombo/Downloads/dealii/build/tests/quick_tests
     Start  1: step.debug
     Start  2: step.release
     Start  3: affinity.debug
     Start  4: tbb.debug
1/10 Test  #4: tbb.debug ........................   Passed   22.25 sec
     Start  5: taskflow.debug
2/10 Test  #3: affinity.debug ...................   Passed   22.71 sec
     Start  6: lapack.debug
3/10 Test  #2: step.release .....................   Passed   24.02 sec
     Start  7: umfpack.debug
4/10 Test  #1: step.debug .......................   Passed   28.17 sec
     Start  8: arpack.debug
5/10 Test  #5: taskflow.debug ...................   Passed    7.62 sec
     Start  9: boost_zlib.debug
6/10 Test  #6: lapack.debug .....................   Passed    8.39 sec
     Start 10: gmsh.debug
7/10 Test  #7: umfpack.debug ....................   Passed   14.48 sec
8/10 Test  #9: boost_zlib.debug .................   Passed    8.85 sec
9/10 Test #10: gmsh.debug .......................   Passed    9.46 sec
10/10 Test  #8: arpack.debug .....................   Passed   13.42 sec

100% tests passed, 0 tests failed out of 10

Total Test time (real) =  41.59 sec
Built target test


Reply all
Reply to author
Forward
0 new messages