A problem with the LSMGenGeo library

Asked by Son Tung Dang on 2020-05-11

Hello!
I try to run the genCylLSM.py which uses the gengeo module to create particles. However, when I run the code it shown an error "

File "genCylLSM.py", line 21, in <module>
    from gengeo import *
ModuleNotFoundError: No module named 'gengeo'"

I have already installed the python-demgengeo.
Could you please figure out what is wrong? Thank you!

Question information

Language:
English Edit question
Status:
Open
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2020-05-18
Last reply:
2020-05-11
Jan Stránský (honzik) said : #1

Hello,

please read [1] and provide more info:
- OS version
- Yade version
- if you use Python2 or Python3 for yade
- ...

cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask

Son Tung Dang (sontd1090) said : #2

Hello,

I used the yadedaily for compiling and runing the code. I fixed the error by using Yade 2018.02b.
But it has a problem with "Segmentation fault (core dumped)".

In the code there is comment " FIXME: caling generatePacking causes SIGSEGV/SIGABRT stack trace points to an error inside function http://esys.geocomp.uq.edu.au/gengeo_doxygen_doc/snapshot/html/classfit__3d__sphere__fn.html maybe some data for this function call is badly prepared?". I think this is reason why the code didn't work.

My OS is Ubuntu 18.04.
The python version is 2.7.

Can you help with this problem?

Provide an answer of your own, or ask Son Tung Dang for more information if necessary.

To post a message you must log in.