← Back to team overview

yade-users team mailing list archive

Re: [Question #674057]: Compilation from source crash at flowEngine

 

Question #674057 on Yade changed:
https://answers.launchpad.net/yade/+question/674057

    Status: Answered => Open

Raphaël Maurin is still having a problem:
Hi Robert,

Thank you for your answer. Here is the output of the cmake command:

raphael@raphaelPerso:~/work/software/Yade/build$ cmake -DCMAKE_INSTALL_PREFIX=../compiled ../trunk
-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
-- Found OpenMP: TRUE   
qmake: could not find a Qt installation of ''
-- Found unsuitable Qt version "" from NOTFOUND
-- Version is set to 2018-09-13.git-2c71b2a
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0
-- GCC Version >= 4.8. Adding -save-temps
-- GCC Version >= 4.9. Adding -fstack-protector-strong
-- 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, 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 OpenMP_CXX: -fopenmp  
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GTS
-- USE QT5
-- Found GUI-Qt5-LIBS
-- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found CGAL
-- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY) 
-- Could NOT find Metis (missing: METIS_INCLUDE_DIR METIS_LIBRARY) 
-- Missing dependency for LINSOLV, disabled
-- Found GL2PS
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /home/raphael/work/software/Yade/compiled
-- Suffix is set to -2018-09-13.git-2c71b2a
-- LIBRARY_OUTPUT_PATH is set to lib/x86_64-linux-gnu
-- runtimePREFIX is set to /home/raphael/work/software/Yade/compiled
-- Could NOT find gts (missing: PY_gts) 
-- Use embedded version of gts. Please, consider installing the corresponding package
-- VTK version >5 is found
-- ===========================================================
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW TWOPHASEFLOW GL2PS LBMFLOW
-- Disabled features: LINSOLV SPH DEFORM LIQMIGRATION MASK_ARBITRARY PROFILING PotentialParticles PotentialBlocks
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/raphael/work/software/Yade/build

It is indeed not using LINSOLV as you guessed. I didn't do that on purpose, I just followed the step of the installation from source written on Yade website. 
I installed libsuiteparse and libmetis as you said and everything is compiling. But when I launch yade, I obtain an error:

raphael@raphaelPerso:~/work/software/Yade/compiled/bin$ ./yade-2018-09-13.git-2c71b2a
Welcome to Yade 2018-09-13.git-2c71b2a 
Traceback (most recent call last):
  File "./yade-2018-09-13.git-2c71b2a", line 129, in <module>
    import yade
  File "/home/raphael/work/software/Yade/compiled/lib/x86_64-linux-gnu/yade-2018-09-13.git-2c71b2a/py/yade/__init__.py", line 65, in <module>
    import boot
ImportError: /home/raphael/work/software/Yade/compiled/lib/x86_64-linux-gnu/yade-2018-09-13.git-2c71b2a/libyade.so: undefined symbol: openblas_set_num_threads

I do not understand the error message, could you help me ?

Cheers,

Raphael

You received this question notification because your team yade-users is
an answer contact for Yade.