yade compiled installation in a redhat cluster
Hello,all:
I want to compiled the yade trunk version( yade-2016.
now my problem is :
1)how can i install the prerequisites with "yum" command not with apt-get command( because the school's system can not use apt-get command)? or i can just compile to install one by one? is there any reference for me to refer to ?
2)Supposed that i have installed the prerequisites, how can i install the yade version?i have ever compiled it with cmake, make, make install to install it in ubuntu system successfully, but i am wondering if there exists difference to install in redhat cluster.
anyone has ever experienced kind of thing? sincerely appreciate your help.Thank you.
Best regards,
han zhijian
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
you just need to find the same RPM-packages. Their name
can differ from DEB-names. After that you should follow
instructions from "install" section of documentation.
If I remember correctly, somebody used Yade on similar
platform. You can search in questions.
Best regards
Anton
Revision history for this message
|
#2 |
Dear Anton Gladky:
Thank you for your help. I will try that later.
发自我的 iPhone
> 在 2017年1月10日,
>
> Your question #432848 on Yade changed:
> https:/
>
> Status: Open => Answered
>
> Anton Gladky proposed the following answer:
> Hi,
>
> you just need to find the same RPM-packages. Their name
> can differ from DEB-names. After that you should follow
> instructions from "install" section of documentation.
>
> If I remember correctly, somebody used Yade on similar
> platform. You can search in questions.
>
> Best regards
>
> Anton
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#3 |
Hi,
we have yade running on our RH cluster. The installation/
I cannot remember all steps but I strongly recommend you to only install the packages you really need and compile yade with the corresponding options. For example, I did not bother installing optional packages (e.g., required for fluid coupling) and the graphical mode (e.g., use cmake option -DENABLE_GUI=0). This should make things much easier.
HTH
Klaus
[1] https:/
[2] https:/
Revision history for this message
|
#4 |
Hello,all,
hello,Anton and Klaus Thoeni,
Sorry for reply so late. I have tried to install the pre-required libraries as your recommendation, I am now facing the problem is
the installation of minieigen. I have download the minieigen-
and I tried to install it using the comand python setup.py install
but
(1) I came across the error:
File "setup.py", line 23
libraries=
SyntaxError: invalid syntax
(2)also ,I can not understand the command in the README.txt as follows:
To compile by hand under Linux, run something like
g++ -ansi src/miniEigen.cpp src/double-
and the whole README.txt as follows:
This is miniEigen, small wrapper for the http://
Home of this project is at http://
licensed under the LGPLv3. The author is Václav Šmilauer <email address hidden>.
Documentation is uploaded to http://
Run `python setup.py install` to build & install this module. You will need the
boost_python library to be installed, and Eigen (in /usr/include/
somewhere where the compiler finds it).
Windows is experimentally supported, but paths must be tweaked in setup.py
to match your system. Suggestions for a better way are welcome.
To compile by hand under Linux, run something like
g++ -ansi src/miniEigen.cpp src/double-
Enjoy.
(3)If I am not going to install the minieigen, could I comply yade to install? must I install it? I have tried without it, but complied failed.
Any suggestions?
Thanks a lot.
Han Zhijian
At 2017-01-11 05:44:24, "Klaus Thoeni" <email address hidden> wrote:
>Your question #432848 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>Klaus Thoeni proposed the following answer:
>Hi,
>
>we have yade running on our RH cluster. The installation/
>not as straight forward as for debian/ubuntu. As Anton mentioned you
>need to find the RPM-packages for all pre-required libraries [1]. The
>important thing here is that you have to check if the minimal required
>version is available with yum. Sometimes it will not be the case hence
>you cannot install it with yum but you need to download the sources and
>compile the package/library yourself. And yes, the make process is
>exactly the same using cmake [2]. Again, make sure you have at least
>cmake version 2.8.11 installed.
>
>I cannot remember all steps but I strongly recommend you to only install
>the packages you really need and compile yade with the corresponding
>options. For example, I did not bother installing optional packages
>(e.g., required for fluid coupling) and the graphical mode (e.g., use
>cmake option -DENABLE_GUI=0). This should make things much easier.
>
>HTH
>Klaus
>
>[1] https:/
>[2] https:/
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https:/
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https:/
>
>You received this question notification because you asked the question.
Revision history for this message
|
#5 |
dear all:
at the make stage, It came across the error as follows: can you help me?
[ 98%] Built target _packSpheres
In file included from /apps/lib/
/apps/lib/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
make[2]: *** [py/CMakeFiles/
make[1]: *** [py/CMakeFiles/
make[1]: *** Waiting for unfinished jobs....
[ 99%] Linking CXX shared library lib64/_
[ 99%] Built target _customConverters
[ 99%] Linking CXX shared library lib64/_utils.so
[ 99%] Built target _utils
make: *** [all] Error 2
[luxy@ln1 build]$ make install
[ 89%] Built target yade
[ 90%] Built target boot
[ 91%] Built target WeightedAverage2d
[ 92%] Built target _customConverters
[ 93%] Built target _packObb
[ 94%] Built target _packPredicates
[ 96%] Built target _packSpheres
[ 97%] Built target _polyhedra_utils
[ 98%] Built target _utils
[ 99%] Building CXX object py/CMakeFiles/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
/home/luxy/
make[2]: *** [py/CMakeFiles/
make[1]: *** [py/CMakeFiles/
make: *** [all] Error 2
Revision history for this message
|
#6 |
Hi Hanzj,
I had a similar issue on archlinux.
Try to had
#include <csignal>
at the beginning of /home/luxy/
Revision history for this message
|
#7 |
hello,flomine and all,
thank you for your reply,It works,it can make install and finished well , but after install I can not use yade
the error as follows:
[luxy@ln1 bin]$ ./yade
Welcome to Yade 2016.06a
Traceback (most recent call last):
File "./yade", line 129, in <module>
import yade
File "/home/
import boot
ImportError: /usr/lib64/
have you come across that?
At 2017-01-19 18:57:52, "flomine" <email address hidden> wrote:
>Question #432848 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>flomine proposed the following answer:
>Hi Hanzj,
>I had a similar issue on archlinux.
>Try to had
> #include <csignal>
>at the beginning of /home/luxy/
>
>--
>You received this question notification because your team yade-users is
>an answer contact for Yade.
>
>______
>Mailing list: https:/
>Post to : <email address hidden>
>Unsubscribe : https:/
>More help : https:/
Revision history for this message
|
#8 |
Hi,
missing header was added. Thanks. It would be good to get
a feedback from people, using different OSs and (better)
pull request.
It looks like the you have some path problems. There are some
info here [1].
[1] http://
Regards
Anton
2017-01-19 13:57 GMT+01:00 hanzj <email address hidden>:
> Question #432848 on Yade changed:
> https:/
>
> Status: Answered => Open
>
> hanzj is still having a problem:
> hello,flomine and all,
>
> thank you for your reply,It works,it can make install and finished well , but after install I can not use yade
> the error as follows:
> [luxy@ln1 bin]$ ./yade
> Welcome to Yade 2016.06a
> Traceback (most recent call last):
> File "./yade", line 129, in <module>
> import yade
> File "/home/
> import boot
> ImportError: /usr/lib64/
>
> have you come across that?
>
>
>
> At 2017-01-19 18:57:52, "flomine" <email address hidden> wrote:
>>Question #432848 on Yade changed:
>>https:/
>>
>> Status: Open => Answered
>>
>>flomine proposed the following answer:
>>Hi Hanzj,
>>I had a similar issue on archlinux.
>>Try to had
>> #include <csignal>
>>at the beginning of /home/luxy/
>>
>>--
>>You received this question notification because your team yade-users is
>>an answer contact for Yade.
>>
>>_____
>>Mailing list: https:/
>>Post to : <email address hidden>
>>Unsubscribe : https:/
>>More help : https:/
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
Revision history for this message
|
#9 |
Hello,Anton and all,
I adjust my LD_LIBRARY_PATH by "export LD_LIBRARY_
and then I run ./yade, error occurred:
Welcome to Yade 2016.06a
Segmentation fault
How to debug?
any ideas?
best regards
Han Zhijian
At 2017-01-20 02:22:53, "Anton Gladky" <email address hidden> wrote:
>Question #432848 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>Anton Gladky proposed the following answer:
>Hi,
>
>missing header was added. Thanks. It would be good to get
>a feedback from people, using different OSs and (better)
>pull request.
>
>It looks like the you have some path problems. There are some
>info here [1].
>
>[1] http://
>-version-
>
>Regards
>
>Anton
>
>
>2017-01-19 13:57 GMT+01:00 hanzj <email address hidden>:
>> Question #432848 on Yade changed:
>> https:/
>>
>> Status: Answered => Open
>>
>> hanzj is still having a problem:
>> hello,flomine and all,
>>
>> thank you for your reply,It works,it can make install and finished well , but after install I can not use yade
>> the error as follows:
>> [luxy@ln1 bin]$ ./yade
>> Welcome to Yade 2016.06a
>> Traceback (most recent call last):
>> File "./yade", line 129, in <module>
>> import yade
>> File "/home/
>> import boot
>> ImportError: /usr/lib64/
>>
>> have you come across that?
>>
>>
>>
>> At 2017-01-19 18:57:52, "flomine" <email address hidden> wrote:
>>>Question #432848 on Yade changed:
>>>https:/
>>>
>>> Status: Open => Answered
>>>
>>>flomine proposed the following answer:
>>>Hi Hanzj,
>>>I had a similar issue on archlinux.
>>>Try to had
>>> #include <csignal>
>>>at the beginning of /home/luxy/
>>>
>>>--
>>>You received this question notification because your team yade-users is
>>>an answer contact for Yade.
>>>
>>>____
>>>Mailing list: https:/
>>>Post to : <email address hidden>
>>>Unsubscribe : https:/
>>>More help : https:/
>>
>> --
>> You received this question notification because your team yade-users is
>> an answer contact for Yade.
>>
>> _______
>> Mailing list: https:/
>> Post to : <email address hidden>
>> Unsubscribe : https:/
>> More help : https:/
>
>--
>You received this question notification because your team yade-users is
>an answer contact for Yade.
>
>______
>Mailing list: https:/
>Post to : <email address hidden>
>Unsubscribe : https:/
>More help : https:/
Revision history for this message
|
#10 |
Have you tried to compile with cmake option -DDEBUG=1?
HTH
Klaus
Revision history for this message
|
#11 |
hello ,Thoeni and all:
Yeah,
I try that.
1)here is my cmake
cmake -DCMAKE_
is the -DDEBUG=1, right?
2)Another information is that I comment the cmakelist.txt minieigen and tkinter to make the compilation succeed. can I do that ?
3)and the make stage as follows:
-- Version is set to 2016.06a
-- GSL using pkgconfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- PKGCONFIG() indicates that gts is not installed (install the package which contains gts.pc if you want to support this feature)
FindGTS.cmake: gts-config/
-- ERROR: GTS was not found.
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- CGAL not found.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- Boost_VERSION: 105400
-- Boost_LIB_VERSION: 1_54
-- Boost_INCLUDE_DIRS: /apps/lib/
-- Boost_LIBRARIES: /apps/lib/
-- Found Eigen3, version: 3.2.3
-- Disable vectorization
-- Found OpenMP
-- PFVFLOW depends on CGAL, attempting to turn ENABLE_CGAL ON
-- GMP libs: /usr/lib64/
-- CGAL not found.
-- GMP libs: /usr/lib64/
-- CGAL NOT found
-- CGAL NOT found: PFVFLOW disabled
-- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY)
-- Could NOT find OpenBlas (missing: OPENBLAS_LIBRARY)
-- Could NOT find Metis (missing: METIS_INCLUDE_DIR METIS_LIBRARY)
-- Missing dependency for LINSOLV, disabled
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /home/luxy/
-- Suffix is set to
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /home/luxy/
-- =======
-- Yade configured with following features: Odeint OpenMP LBMFLOW
-- Disabled features: VTK GTS GUI CGAL PFVFLOW LINSOLV SPH LIQMIGRATION GL2PS MASK_ARBITRARY PROFILING PotentialParticles
-- Debug build
-- =======
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luxy/
is the build stage, ok?
4)after build and installation I try ./yade -h I can not find how to use debug mode.
like:
--no-gdb Do not show backtrace when yade crashes (only effec-
tive with –debug)
and try ./yade it occurred :segmentation fault.
[luxy@ln1 bin]$ ./yade -h
usage: yade [options] [ simulation.
Yade: open-source platform for dynamic compuations. It is an extensible open-
source framework for discrete numerical models, focused on Discrete Element
Method. The computation parts are written in c++ using flexible object model,
allowing independent implementation of new algorithms and interfaces. Python
is used for rapid and concise scene construction, simulation control,
postprocessing and debugging. Available features: ['Odeint', 'OpenMP',
'LBMFLOW']. Homepage http://
http://
optional arguments:
-h, --help show this help message and exit
-v, --version Print version and exit.
-j THREADS, --threads THREADS
--cores CORES Set number of OpenMP threads (as \-\-threads) and in
--update UPDATESCRIPTS [UPDATESCRIPTS ...]
--nice NICE Increase nice level (i.e. decrease priority) by given
-x Exit when the script finishes
-n Run without graphical interface (equivalent to
--test Run regression test suite and exit; the exists status
--checks Run a series of user-defined check tests as described
--performance Starts a test to measure the productivity
-l IMPLIBRARIES import libraries at startup before importing yade
I find somebody else come across kind of thing ,like:
[1]https:/
I do not have the total administrator privilege so I have to set the path. It is a bit tough for me.
So if bother you, I feel sorry.
Thank you very much.
Han Zhijian
At 2017-01-20 10:03:49, "Klaus Thoeni" <email address hidden> wrote:
>Your question #432848 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>Klaus Thoeni proposed the following answer:
>Have you tried to compile with cmake option -DDEBUG=1?
>
>HTH
>Klaus
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https:/
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https:/
>
>You received this question notification because you asked the question.
Revision history for this message
|
#12 |
Debug mode just means that the debug-symbols will not
be stripped. So, before the crash you should get some
stacktrace in the console. There is no special command
line option for debugging.
Anton
Revision history for this message
|
#13 |
hello,Anton,
I can not see anything but directly segmentation fault and Yade crashed soon,it is weird.is there something like error.log for me to refer to after it crashed?
> 在 2017年1月21日,
>
> Question #432848 on Yade changed:
> https:/
>
> Status: Open => Answered
>
> Anton Gladky proposed the following answer:
> Debug mode just means that the debug-symbols will not
> be stripped. So, before the crash you should get some
> stacktrace in the console. There is no special command
> line option for debugging.
>
> Anton
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
Revision history for this message
|
#14 |
Hi,
You are probably not running the debug build if you don't see more output.
Bruno
Can you help with this problem?
Provide an answer of your own, or ask hanzj for more information if necessary.