missing: PY_minieigen (already installed minieigen)

Asked by Lei Zhang

Dear all,

I am new to Yade and trying to install Yade on my workstation with CentOS 6.7. I have checked out the questions in this forum, it seems the reason is that I did not install minieigen. However, I have tried "pip install minieigen" in the command line, and also downloaded the package from
https://pypi.python.org/pypi/minieigen, and installed minieigen by "python setup.py install", both installation seems to succeed, but cmake still reports missing minieigen. I would great appreciate if someone here can provide me an answer.

Many thanks!
Lei

Here is the output for cmake,
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.6.2")
-- Version is set to 1.20.0
-- GTS using gts-config /usr/local/bin/gts-config
-- Using GTS from /usr/local
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- Boost_VERSION: 104601
-- Boost_LIB_VERSION: 1_46_1
-- Boost_INCLUDE_DIRS: /usr/local/include
-- Boost_LIBRARIES: /usr/local/lib/libboost_python.so/usr/local/lib/libboost_thread.so/usr/local/lib/libboost_filesystem.so/usr/local/lib/libboost_iostreams.so/usr/local/lib/libboost_regex.so/usr/local/lib/libboost_serialization.so/usr/local/lib/libboost_system.so/usr/local/lib/libboost_date_time.so
-- Found Eigen3, version: 3.3.0
-- Disable vectorization
-- Boost Odeint can be enabled, only if Boost>=1.53 is used
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/local/bin/gts-config
-- Using GTS from /usr/local
-- Found GTS
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.6.2")
-- Found GUI-LIBS
-- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so
-- GMP libs: /usr/lib64/libgmp.so /usr/lib64/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/lzhang/Downloads/myYade/install
-- Suffix is set to -1.20.0
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /home/lzhang/Downloads/myYade/install
-- Could NOT find gts (missing: PY_gts)
-- Use embedded version of gts. Please, consider installing the corresponding package
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find minieigen (missing: PY_minieigen)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cMake/FindPythonModule.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:465 (find_python_module)

-- Configuring incomplete, errors occurred!

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Lei Zhang
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi,

just a workaround. Check, whether python -c"import minieigen" does
not return an error. If it is so, you can comment the line 465 to enable
compilation.

Anton

2016-12-05 10:33 GMT+01:00 Lei Zhang <email address hidden>:
> New question #404651 on Yade:
> https://answers.launchpad.net/yade/+question/404651
>
> Dear all,
>
> I am new to Yade and trying to install Yade on my workstation with CentOS 6.7. I have checked out the questions in this forum, it seems the reason is that I did not install minieigen. However, I have tried "pip install minieigen" in the command line, and also downloaded the package from
> https://pypi.python.org/pypi/minieigen, and installed minieigen by "python setup.py install", both installation seems to succeed, but cmake still reports missing minieigen. I would great appreciate if someone here can provide me an answer.
>
> Many thanks!
> Lei
>
> Here is the output for cmake,
> -- Found Qt4: /usr/bin/qmake-qt4 (found version "4.6.2")
> -- Version is set to 1.20.0
> -- GTS using gts-config /usr/local/bin/gts-config
> -- Using GTS from /usr/local
> -- Boost version: 1.46.1
> -- Found the following Boost libraries:
> -- python
> -- thread
> -- filesystem
> -- iostreams
> -- regex
> -- serialization
> -- system
> -- date_time
> -- Boost_VERSION: 104601
> -- Boost_LIB_VERSION: 1_46_1
> -- Boost_INCLUDE_DIRS: /usr/local/include
> -- Boost_LIBRARIES: /usr/local/lib/libboost_python.so/usr/local/lib/libboost_thread.so/usr/local/lib/libboost_filesystem.so/usr/local/lib/libboost_iostreams.so/usr/local/lib/libboost_regex.so/usr/local/lib/libboost_serialization.so/usr/local/lib/libboost_system.so/usr/local/lib/libboost_date_time.so
> -- Found Eigen3, version: 3.3.0
> -- Disable vectorization
> -- Boost Odeint can be enabled, only if Boost>=1.53 is used
> -- Found VTK
> -- Found OpenMP
> -- GTS using gts-config /usr/local/bin/gts-config
> -- Using GTS from /usr/local
> -- Found GTS
> -- Found Qt4: /usr/bin/qmake-qt4 (found version "4.6.2")
> -- Found GUI-LIBS
> -- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so
> -- GMP libs: /usr/lib64/libgmp.so /usr/lib64/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/lzhang/Downloads/myYade/install
> -- Suffix is set to -1.20.0
> -- LIBRARY_OUTPUT_PATH is set to lib64
> -- runtimePREFIX is set to /home/lzhang/Downloads/myYade/install
> -- Could NOT find gts (missing: PY_gts)
> -- Use embedded version of gts. Please, consider installing the corresponding package
> CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
> Could NOT find minieigen (missing: PY_minieigen)
> Call Stack (most recent call first):
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
> cMake/FindPythonModule.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
> CMakeLists.txt:465 (find_python_module)
>
> -- Configuring incomplete, errors occurred!
>
>
>
>
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Lei Zhang (acmuser) said :
#2

Dear Anton,

Thanks a lot for your suggestion. python -c "import minieigen"gives me an error,

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libboost_python.so.1.46.1: cannot open shared object file: No such file or directory

Shall I install boost_python? I have not figured out how to do it.

Best regards,
Lei

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

2016-12-08 16:13 GMT+01:00 Lei Zhang <email address hidden>:
> Thanks a lot for your suggestion. python -c "import minieigen"gives me
> an error,
>
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: libboost_python.so.1.46.1: cannot open shared object file: No such file or directory
>
> Shall I install boost_python? I have not figured out how to do it.

That just means that you did not install minieigen. See log messages during
minieigen install and do not ignore them. Ask your system administrator
to install libboost_python.

Regards

Anton

Revision history for this message
Lei Zhang (acmuser) said :
#4

Thanks a lot for your suggestion. I installed boost_python on my CentOS system, and cmake passed. But there were still a lot errors when I did "make", so I decided to remove CentOS and convert to Ubuntu, that is probably the simplest way to install Yade.

Best regards,
Lei