CfdOF with Appimage
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
CfdOF with Appimage
Hello,
on the Xubuntu 20.04 there is an qt5.15 incompatibility. Therefore I have to use the Appimage, which is working fine.
But how does one install the dependencies of the cfdOF workbench?
thanks
on the Xubuntu 20.04 there is an qt5.15 incompatibility. Therefore I have to use the Appimage, which is working fine.
But how does one install the dependencies of the cfdOF workbench?
thanks
Re: CfdOF with Appimage
There are instructions on installing dependencies on Linux in the README here: https://github.com/jaheyns/CfdOF/blob/m ... md#linux-1. You may need to go to the CfdOF preferences page to input the dependency install directory if it doesn't register on its own.
Re: CfdOF with Appimage
still using the appimage:
cfdOf dependency check seems fine, even if gmsh folder is not defined.
And installing cfMesh from locally zip file takes hours: Busy - please wait...
my guess is, that installing appimage cfdOf workbench is not the same as with the repository version.
After a while, I ran the dep check again and got confirmed that all deps were installed.
Clicking the okay button triggered segmentation fault:
Can someone check, if appimage version of cfdOf is working as supposed, please?
cfdOf dependency check seems fine, even if gmsh folder is not defined.
And installing cfMesh from locally zip file takes hours: Busy - please wait...
my guess is, that installing appimage cfdOf workbench is not the same as with the repository version.
After a while, I ran the dep check again and got confirmed that all deps were installed.
Clicking the okay button triggered segmentation fault:
Code: Select all
\*---------------------------------------------------------------------------*/
Build : 8-1c9b5879390b
Exec : cartesianMesh -version
Date : Feb 11 2022
Time : 12:06:34
Host : "user"
PID : 7979
I/O : uncollated
Case : /home/user/Software/freecad
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cfMesh-CfdOF (cfMesh 1.1.2) 1.11
Running hisa -version
Raw command: ['bash', '-c', 'source "/opt/openfoam8/etc/bashrc" && hisa -version']
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 8-1c9b5879390b
Exec : hisa -version
Date : Feb 11 2022
Time : 12:06:38
Host : "user"
PID : 8190
I/O : uncollated
Case : /home/user/Software/freecad
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
hisa 1.4.8
Checking for paraview:
Checking for Plot module:
Checking for gmsh:
Running '/home/user/.local/bin/gmsh' -version
Raw command: ['bash', '-c', 'source "/opt/openfoam8/etc/bashrc" && \'/home/user/.local/bin/gmsh\' -version']
4.9.3
Completed CFD dependency check
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f7894c85210]
#1 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libpython3.9.so.1.0(PyObject_GC_Del+0x1b) [0x7f78965ab24b]
#2 /tmp/.mount_FreeCAEiFlCk/usr/lib/python3.9/site-packages/PySide2/QtCore.cpython-39-x86_64-linux-gnu.so(+0xa74ba) [0x7f78846194ba]
#3 /tmp/.mount_FreeCAEiFlCk/usr/lib/python3.9/site-packages/PySide2/QtCore.cpython-39-x86_64-linux-gnu.so(+0xa2c86) [0x7f7884614c86]
#4 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5(+0xa2f99) [0x7f78950d3f99]
#5 /lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7f789424f609]
#6 /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f7894d61293]
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f7894c85210]
#1 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5(+0x1a8c0f) [0x7f78951d9c0f]
#2 0x7f78951d9a1a in QAbstractEventDispatcher::registerTimer(int, Qt::TimerType, QObject*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x1e
#3 0x7f78951f3df0 in QObject::startTimer(int, Qt::TimerType) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x106
#4 0x7f78951fbab0 in QTimer::start() from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x3a
#5 0x7f789709a663 in Gui::MainWindow::showStatus(int, QString const&) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libFreeCADGui.so+0x93
#6 0x7f789709cda1 in Gui::MainWindow::customEvent(QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libFreeCADGui.so+0xb1
#7 0x7f78951f3677 in QObject::event(QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x19f
#8 0x7f7895a3207f in QWidget::event(QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Widgets.so.5+0xcc5
#9 0x7f7895adc34f in QMainWindow::event(QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Widgets.so.5+0xdd
#10 0x7f78970a36fc in Gui::MainWindow::event(QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libFreeCADGui.so+0x7c
#11 0x7f7895a067f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Widgets.so.5+0xdc
#12 0x7f7895a0c31d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
#13 0x7f7896cc9b09 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libFreeCADGui.so+0x89
#14 0x7f78951de606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x86
#15 0x7f78951de83e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x1da
#16 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5(+0x1dc54c) [0x7f789520d54c]
#17 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7f789181b76d]
#18 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/./libglib-2.0.so.0(+0x56a01) [0x7f789181ba01]
#19 /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7f789181baa1]
#20 0x7f789520d0e8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x5e
#21 0x7f78951db019 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0x187
#22 0x7f78951dee8f in QCoreApplication::exec() from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libQt5Core.so.5+0xfd
#23 0x7f7896c53816 in Gui::Application::runApplication() from /tmp/.mount_FreeCAEiFlCk/usr/bin/../lib/libFreeCADGui.so+0x15f6
#24 /tmp/.mount_FreeCAEiFlCk/usr/bin/freecad(+0x44af) [0x55bd24c1b4af]
#25 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f7894c660b3]
#26 /tmp/.mount_FreeCAEiFlCk/usr/bin/freecad(+0x47c9) [0x55bd24c1b7c9]
Can someone check, if appimage version of cfdOf is working as supposed, please?
-
- Posts: 27
- Joined: Fri Oct 08, 2021 9:21 pm
Re: CfdOF with Appimage
Works on my machine using FreeCAD_0.19.3-Linux-Conda_glibc2.12-x86_64.AppImage on Ubuntu 20.04.
Just paraview cannot be started directly from FreeCAD.
So there is hope
Just paraview cannot be started directly from FreeCAD.
So there is hope
Re: CfdOF with Appimage
Hi,
I use also the FC AppImage and CfdOF WB works.
It's a bit "tricky" to get all dependencies, for that here my workflow for it :
I use also the FC AppImage and CfdOF WB works.
It's a bit "tricky" to get all dependencies, for that here my workflow for it :
Of course you have to adapt the pathes to the location where openmpi is installed...Needed steps to get CfdOF WB working (OpenSuse Tumbleweed)
This pakages have to be installed ( status 10.01.2022 ) :
Gmsh
zlib-devel
openfoam2106
openmpi1 ( only openmpi1 contends one needed pakage )
python3-vtk-openmpi1 ( i install it, but i’m not sure if realy needed )
With OpenFoam and OpenMPI OpenSuse installs a Selector which needs to be configured.
For the type this comands at a terminal ( no root permission needed )
cnf openfoam2106
mpi-selector --set openmpi1
At /etc/profile.d a file named custom.sh with the contend
PATH=$PATH:/usr/lib64/mpi/gcc/openmpi/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/mpi/gcc/openmpi1/lib64/
must be put in. ( root permission needed )
Restart the computer !
If this is done, it’s possible to install cfMesh and Hisa
Both need a few minutes.
And don’t mind about the errors shown during installatin. It seams that it don’t matter...
Gruß Herbert
Re: CfdOF with Appimage
Thank you HerbK,
I recently found out the settings of openmpi and openfoam, but the custom.sh was new for me. It helps
thanks
LHF
I recently found out the settings of openmpi and openfoam, but the custom.sh was new for me. It helps
thanks
LHF
- oliveroxtoby
- Posts: 840
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: CfdOF with Appimage
There shouldn't be a problem starting Paraview form the Appimage any more. Could you let me know which version of Paraview you are using?justwanttoknow wrote: ↑Fri Feb 11, 2022 11:27 am Just paraview cannot be started directly from FreeCAD.
- oliveroxtoby
- Posts: 840
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: CfdOF with Appimage
I'm not sure what's going on here, but there shouldn't be any issue running from the Appimage. Are these issues reliably repeatable? Please provide your FreeCAD version information.sulf wrote: ↑Fri Feb 11, 2022 10:51 am still using the appimage:
cfdOf dependency check seems fine, even if gmsh folder is not defined.
And installing cfMesh from locally zip file takes hours: Busy - please wait...
my guess is, that installing appimage cfdOf workbench is not the same as with the repository version.
After a while, I ran the dep check again and got confirmed that all deps were installed.
Clicking the okay button triggered segmentation fault:
Re: CfdOF with Appimage
well, version 0.19.3 appimage works, while weekly build 0.20 is missing matplotlib and therefore may cannot import Plot wb.
Its fine for me to use appimage version 0.19.3 now.
Official repo version is not working on my *buntu system because of qt5.15 requierment.
Its fine for me to use appimage version 0.19.3 now.
Official repo version is not working on my *buntu system because of qt5.15 requierment.
-
- Posts: 27
- Joined: Fri Oct 08, 2021 9:21 pm
Re: CfdOF with Appimage
Sorry Oliver, I've completely missed this notification!oliveroxtoby wrote: ↑Mon Feb 21, 2022 6:07 amThere shouldn't be a problem starting Paraview form the Appimage any more. Could you let me know which version of Paraview you are using?justwanttoknow wrote: ↑Fri Feb 11, 2022 11:27 am Just paraview cannot be started directly from FreeCAD.
Paraview 5.7.0
error message is "ModuleNotFoundError: No module named 'paraview'"
no ParaView executable path given in CfdOF-preferences (where can this be found in Ubuntu?)
Possibly it is a messup with various OpenFOAM installations. I also had a segfault, when starting paraview from terminal, So don't spend work on it unless you have a solution right away.
Current Appimage:
Code: Select all
OS: Ubuntu 20.04.4 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28445 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 8e285ad)
Hash: 8e285ada7b74a3bf1af5254c53de8abfd3dcd627
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods:
* CurvedShapes 1.0.1
* CfdOF 1.13.3
* Plot
* AirPlaneDesign 0.4.0