Re: [Yade-users] [Question #432848]: yade compiled installation in a redhat cluster

2017-01-17 Thread hanzj
Question #432848 on Yade changed:
https://answers.launchpad.net/yade/+question/432848

Status: Answered => Open

hanzj is still having a problem:
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-0.5.3.tar.gz from 
http://eudoxos.github.io/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=['boost_python-py3%d'%sys.version_info[1] if py3k else 
'boost_python']
 ^
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-conversion/*.cc -o
minieigen.so -shared -fPIC `pkg-config python --cflags` -lboost_python
-I/usr/include/eigen3

and the whole README.txt as follows:
This is miniEigen, small wrapper for the http://eigen.tuxfamily.org library.
Home of this project is at http://www.launchpad.net/minieigen/. The code is
licensed under the LGPLv3. The author is Václav Šmilauer .

Documentation is uploaded to http://eudoxos.github.io/minieigen.

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/eigen3, or
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-conversion/*.cc -o
minieigen.so -shared -fPIC `pkg-config python --cflags` -lboost_python
-I/usr/include/eigen3

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"  
wrote:
>Your question #432848 on Yade changed:
>https://answers.launchpad.net/yade/+question/432848
>
>Status: Open => Answered
>
>Klaus Thoeni proposed the following answer:
>Hi,
>
>we have yade running on our RH cluster. The installation/compilation is
>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://yade-dem.org/doc/installation.html#prerequisites
>[2] https://yade-dem.org/doc/installation.html#compilation
>
>-- 
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/yade/+question/432848/+confirm?answer_id=2
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/yade/+question/432848
>
>You received this question notification because you asked the question.

-- 
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


Re: [Yade-users] [Question #439162]: KeyError: "Unknown energy name 'kineticParticle'

2017-01-17 Thread Bruno Chareyre
Question #439162 on Yade changed:
https://answers.launchpad.net/yade/+question/439162

Bruno Chareyre posted a new comment:
If I understand the above correctly you are copy/pasting lines selectively from 
one version to another. Then you end-up with a version that only you have.
Good for you if it works this time, but in the long run it will be impossible 
to manage.
If you are writing your own pieces of code I would suggest to keep using the 
latest version  (i.e. including frequent updates)  of the sources to avoid 
trouble.
Bruno

-- 
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


[Yade-users] [Question #442485]: http://sagcounty.com/hdq-1080px-rogue-one-a-star-wars-story-movie-watch-online-hd-free-2016/

2017-01-17 Thread wimihen
New question #442485 on Yade:
https://answers.launchpad.net/yade/+question/442485

http://sagcounty.com/hdq-1080px-rogue-one-a-star-wars-story-movie-watch-online-hd-free-2016/

-- 
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


Re: [Yade-users] [Question #441859]: force chain width (interaction between polyhedras)

2017-01-17 Thread Jan Stránský
Question #441859 on Yade changed:
https://answers.launchpad.net/yade/+question/441859

Status: Open => Answered

Jan Stránský proposed the following answer:
You need a scalar value for this. If you have saved a full vector, use a
Calculator filter with "mag(forceN)" between CellDataToPointData and Tube
filters.
cheers
Jan

-- 
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


Re: [Yade-users] [Question #441859]: force chain width (interaction between polyhedras)

2017-01-17 Thread Weimin Song
Question #441859 on Yade changed:
https://answers.launchpad.net/yade/+question/441859

Status: Answered => Open

Weimin Song is still having a problem:
Hi Jan,
Thanks for your reply.
Yes, I always used the procedure in [1].  However, I can notSet “Vary 
Radius” to “By Scalar”.  
I suspect some problem of the vtk file or paraview...Could you please try 
using the vtk file I shared?

This is one picture got from paraview
https://www.dropbox.com/s/27gppuw15dsrhoh/6.jpg?dl=0

[1] https://yade-dem.org/doc/user.html#rendering-interactions-as-force-
chain


Weimin

-- 
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


Re: [Yade-users] [Question #439162]: KeyError: "Unknown energy name 'kineticParticle'

2017-01-17 Thread Yor1
Question #439162 on Yade changed:
https://answers.launchpad.net/yade/+question/439162

Status: Answered => Solved

Yor1 confirmed that the question is solved:
Hi Jan,

I identified the problem of YADE compiling. In fact, i change some source code 
of yade-2017-01-04.git-8801250 with source code of yade-2015-04-08.git-f3818b4. 
With the changement done in April (isnan ---> sted::isnan), i insert the lines 
in the code source of yade-2017-01-04.git-8801250 from the code source (which i 
developed) in yade-2015-04-08.git-f3818b4 and the problem is resolved.

Best regards.
Jabrane.

-- 
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


Re: [Yade-users] [Question #441859]: force chain width (interaction between polyhedras)

2017-01-17 Thread Jan Stránský
Question #441859 on Yade changed:
https://answers.launchpad.net/yade/+question/441859

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Weimin,
see [1]
cheers
Jan

[1] https://yade-dem.org/doc/user.html#rendering-interactions-as-force-
chain

-- 
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