Question #691645 on Yade changed: https://answers.launchpad.net/yade/+question/691645
Status: Needs information => Open Hien N.G. NGUYEN gave more information on the question: Just to clarify, the flag I turned on for the compilation is CHOLMOD_GPU, which is not related to this issue, my bad. Below is the cmake command and the cmake command output of YADE-2019.01a on my PC cmake -DCMAKE_INSTALL_PREFIX=/home/AD/nguyen39/Programmes/YADE2019/install /home/AD/nguyen39/Programmes/YADE2019/trunk -DCHOLMOD_GPU=ON -DSUITESPARSEPATH=/usr/local/SuiteSparse-5.7.2 -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/bin/python (found version "2.7.17") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory -- Found unsuitable Qt version "" from NOTFOUND -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Version is set to 2019.01a -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Found GL2PS: /usr/lib/x86_64-linux-gnu/libgl2ps.so -- Found CGAL: /usr/include, /usr/lib/x86_64-linux-gnu/libCGAL.so -- Found NumPy: version "1.13.3" /usr/lib/python2.7/dist-packages/numpy/core/include -- Found Loki: /usr/include -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 -- GCC Version >= 4.8. Adding -save-temps -- GCC Version >= 4.9. Adding -fstack-protector-strong -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.65.1 -- Found the following Boost libraries: -- python -- thread -- filesystem -- iostreams -- regex -- serialization -- system -- date_time -- chrono -- atomic -- Boost_VERSION: 106501 -- Boost_LIB_VERSION: 1_65_1 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so/usr/lib/x86_64-linux-gnu/libboost_thread.so/usr/lib/x86_64-linux-gnu/libboost_filesystem.so/usr/lib/x86_64-linux-gnu/libboost_iostreams.so/usr/lib/x86_64-linux-gnu/libboost_regex.so/usr/lib/x86_64-linux-gnu/libboost_serialization.so/usr/lib/x86_64-linux-gnu/libboost_system.so/usr/lib/x86_64-linux-gnu/libboost_date_time.so/usr/lib/x86_64-linux-gnu/libboost_chrono.so/usr/lib/x86_64-linux-gnu/libboost_atomic.so/usr/lib/x86_64-linux-gnu/libpthread.so -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.17") -- Found Eigen3, version: 3.3.4 -- Disable vectorization -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- Found VTK -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Checking for one of the modules 'glib-2.0' -- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include -- Looking for include file glib/gregex.h -- Looking for include file glib/gregex.h - not found -- Found GTS -- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so -- USE QT5 -- Found QGLVIEWER-qt5: /usr/include/QGLViewer -- Found GUI-Qt5-LIBS -- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so -- Found GMP: /usr/include/x86_64-linux-gnu -- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so -- Found CGAL -- SuiteSparse version 5.1.2 found, CHOLMOD direct solver for CPU activated. -- Found Cholmod: /usr/lib/x86_64-linux-gnu/libcholmod.so -- Found OpenBlas: /usr/lib/x86_64-linux-gnu/libopenblas.so -- Found Metis: /usr/include -- Found Cholmod in /usr/lib/x86_64-linux-gnu/libcholmod.so -- Found OpenBlas in /usr/lib/x86_64-linux-gnu/libopenblas.so -- Found Metis in /usr/lib/x86_64-linux-gnu/libmetis.so -- Found CuBlas: /usr/lib/x86_64-linux-gnu/libcublas.so -- Found Lapack: /usr/lib/x86_64-linux-gnu/liblapack.so -- Found CuBlas in /usr/lib/x86_64-linux-gnu/libcublas.so -- Found Lapack in /usr/lib/x86_64-linux-gnu/liblapack.so -- Found GL2PS LBMFLOW is still experimental, building and running LBM engine are at your own risk! Yade will be installed to /home/AD/nguyen39/Programmes/YADE2019/install -- Suffix is set to -2019.01a -- LIBRARY_OUTPUT_PATH is set to lib/x86_64-linux-gnu -- runtimePREFIX is set to /home/AD/nguyen39/Programmes/YADE2019/install -- Found gts: /usr/lib/python2.7/dist-packages/gts -- Use system gts version -- Found minieigen: /usr/lib/python2.7/dist-packages/minieigen.so -- Found Tkinter: /usr/lib/python2.7/lib-tk/Tkinter.pyc -- VTK version >5 and <8 is found -- =========================================================== -- Yade configured with following features: Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW LINSOLV CHOLMOD_GPU TWOPHASEFLOW GL2PS LBMFLOW -- Disabled features: SPH DEFORM LIQMIGRATION MASK_ARBITRARY THERMAL PROFILING PotentialParticles PotentialBlocks -- Optimized build -- =========================================================== -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: SUITESPARSEPATH -- Build files have been written to: /home/AD/nguyen39/Programmes/YADE2019/bin We have tried with earlier Yade versions (compiled from source) including v1.20, v2018.02b, v2019.01a and the stress output was correct. However, both Yadedaily binary install from `sudo apt install yadedaily` and compiled from source (version Yade -2020.01a) provided incorrect stress values. Anyway, currently the script works fine with Yade-2019.01a, so I will stick with this version. This question is considered solved. About what changes have been exactly made, I might make another query when I get a hand on `git diff` as Jerome suggested. Thank you. You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp