yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #19294
[Question #679419]: Potential Particles
New question #679419 on Yade:
https://answers.launchpad.net/yade/+question/679419
Dear all,
I would like to play with particle shape modelling and saw that potential particles are implemented in yade. Since I try to use them, I’m having troubles to make yade compile/run. Dou you know if this part of the code is frequently used/well tested or rather experimental?
Before, I had yade-2018.02b installed on kubuntu 18.04. My old and working version of yade was compiled with the following flags (potential particles were automatically disabled):
cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DCMAKE_CXX_FLAGS="-frounding-math" -DUSE_QT5=1 -DENABLE_TWOPHASEFLOW=0 -DENABLE_PFVFLOW=0 -DENABLE_LBMFLOW=0 -DENABLE_LINSOLV=0
Just adding -DENABLE_POTENTIAL_PARTICLES=1 led to an error during compilation:
In file included from /home/bettinasuhr/TestYade2018/trunk/pkg/common/Gl1_PotentialParticle.cpp:37:0:
/home/bettinasuhr/TestYade2018/trunk/lib/opengl/OpenGLWrapper.hpp:12:2: error: #error "This build doesn't support openGL. Therefore, this header must not be used."
#error "This build doesn't support openGL. Therefore, this header must not be used."
Reading my cmake output, I tried to run cmake with:
cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DCMAKE_CXX_FLAGS="-frounding-math" -DUSE_QT5=1 -DENABLE_TWOPHASEFLOW=0 -DENABLE_PFVFLOW=0 -DENABLE_LBMFLOW=0 -DENABLE_LINSOLV=0 -DENABLE_POTENTIAL_PARTICLES=1 -DOpenGL_GL_PREFERENCE="GLVND"
This time cmake, make and make install finished without errors. But when I run yade, it crashes:
bettinasuhr@innb01534-kub:~/TestYade2018/build$ ../install/bin/yade-2018.02b
Welcome to Yade 2018.02b
Traceback (most recent call last):
File "../install/bin/yade-2018.02b", line 129, in <module>
import yade
File "/home/bettinasuhr/TestYade2018/install/lib/x86_64-linux-gnu/yade-2018.02b/py/yade/__init__.py", line 65, in <module>
import boot
ImportError: /home/bettinasuhr/TestYade2018/install/lib/x86_64-linux-gnu/yade-2018.02b/libyade.so: undefined symbol: dgesv_
I have no idea, what the problem could be. Any help will be appreciated.
Thanks,
Bettina
--
You received this question notification because your team yade-users is
an answer contact for Yade.