I didnt run ctest after compile and i have deleted the build folder. I can re-build if you think there is some missing settings.
Also the example folder already has all the modifications done to the boundaries and the elmergrid files already generated so if i use those then there is no issue in running it. But following the http://www.nic.funet.fi/pub/sci/physics ... orials.pdf it says we have to re-mesh the geometry and when i tried following the steps it gave a meshing error.
My question is do i need to build additional modules like tetgen or libng to be able to re-mesh from inside ElmerGui and if so how to do that. The link on ubuntu compilation of elmer does not mention anything on additional builds and what settings to use.
$ ElmerGUI
$ Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/egini.xml... done
Load tetgen plugin... not found
Tetgen functionality unavailable
Constructing ElmergridAPI... done
QObject::connect: No such signal MeshingThread::terminated()
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/edf.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/electrostatics.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/helmholtz.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/heatequation.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/navier-stokes.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/resultoutput.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/linearelasticity.xml... done
Load /usr/local/Elmer-devel/bin/../share/ElmerGUI/edf/meshdeform.xml... done
QObject::connect: No such signal MeshingThread::terminated()
Initialize GL
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Unable to open file: file type unknown
Unable to (re)mesh: no input data or mesh generator (please make sure that your input file suffix is in lower case)
Unable to (re)mesh: no input data or mesh generator (please make sure that your input file suffix is in lower case)
/home/elmer/ElmerGUI/Application/src/glwidget.cpp: In member function 'virtual void GLWidget::wheelEvent(QWheelEvent*)':
/home/elmer/ElmerGUI/Application/src/glwidget.cpp:700:39: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations]
700 | double s = exp((double)(event->delta())*0.001);
| ~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextlayout.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qabstracttextdocumentlayout.h:45,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:5,
from /home/elmer/ElmerGUI/Application/src/glwidget.cpp:41:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here
219 | inline int delta() const { return qt4D; }
| ^~~~~
/home/elmer/ElmerGUI/Application/src/glwidget.cpp:707:23: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations]
707 | lastPos = event->pos();
| ~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextlayout.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qabstracttextdocumentlayout.h:45,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:5,
from /home/elmer/ElmerGUI/Application/src/glwidget.cpp:41:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint pos() const { return p.toPoint(); }
| ^~~
-- ------------------------------------------------
-- Qt5 non-Windows packaging
-- [ElmerGUI] Qt5: 1
-- [ElmerGUI] Qt5 Libraries: Qt5::OpenGL Qt5::Xml Qt5::Script Qt5::Gui Qt5::Core
-- ------------------------------------------------
-- [ElmerGUI] Qwt: TRUE
-- [ElmerGUI] QWT_LIBRARY: /usr/lib/libqwt-qt5.so.6
-- [ElmerGUI] QWT_INCLUDE_DIR: /usr/include/qwt
-- ------------------------------------------------
-- [ElmerGUI] Compiling in matc
-- ------------------------------------------------
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
qt5_use_modules is not part of the official API, and might be removed in Qt
6.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:431 (_qt5_warn_deprecated)
ElmerGUI/Application/CMakeLists.txt:223 (QT5_USE_MODULES)
This warning is for project developers. Use -Wno-dev to suppress it.
As a check, using the 01 Sept 2023 windows Elmer installer, I ran the TemperatureGeneric tutorial. It remeshed properly, and the tutorial ran as expected.
Hi,
I thought the recommendation was to compile from source according to this post. So i thought no harm in compiling and ensure all the optional libraries are included like Hypre, Mumps etc. I was not sure which packages are included in the PPA. Anyways sorry to bother the developers I will try with the PPA.
I ran the following commands in a ubuntu 22.04 virtual box to check if PPA made a difference before I install it in my system. I installed the PPA using the following commands (I am installing both elmer and freecad):
After installing the above without any errors i could see, i downloaded the GUI files. Running the ElmerGUI from the command line i see the same messages about unable to (re)mesh.