A problem with the LSMGenGeo library

Asked by Son Tung Dang

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:
Expired
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
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.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.