Can not run the old code in the new version even if changed something following the instruction
Dear All,
I can run my code well in 0.5 version. But if I decrease the strain rate applying the triaxial load, the "segmentation fault" will be appeared and stop the modeling. I see the new version that is 0.6.2, have already solved the problem looks like that the same message stop the modeling. I think maybe my problem can also be solved through changed the version of Yade. Then I installed the new version 0.60.2 instead of the old version 0.50. And I modified my python code following the error reminder. But the "segmentation fault" also appear even through I run the code that can run well in the old version. The process is listed as follow:
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `yeascu'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 48, in <module>
spheres=
NameError: name 'specimenLength' is not defined
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `esacks'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 50, in <module>
spheres=
TypeError: can't multiply sequence by non-int of type 'float'
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `ucssye'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 50, in <module>
spheres=
File "16-09-re-3d.py", line 33, in regularHexa_J
a=2*radius+gap
TypeError: can only concatenate tuple (not "float") to tuple
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `kcaesy'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 113, in <module>
[Ip2_
AttributeError: No such attribute: shearCohesion.
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `aduksy'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 113, in <module>
[Ip2_
AttributeError: No such attribute: normalAdhesion.
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `kecyas'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
/home/jiaoliqin
/home/jiaoliqin
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 119, in <module>
SnapshotEng
NameError: name 'SnapshotEngine' is not defined
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `csuaky'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
/home/jiaoliqin
/home/jiaoliqin
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `caseuy'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
Traceback (most recent call last):
File "/home/
execfile(
File "16-09-re-3d.py", line 114, in <module>
[LLaw2_
NameError: name 'LLaw2_
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `ykecsu'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
/home/jiaoliqin
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]: -------
KeyboardInterrupt Traceback (most recent call last)
/home/jiaoliqin
187 def yzxSlot(self): self.setViewAxe
188 def zxySlot(self): self.setViewAxe
--> 189 def refreshEvent(self):
190 self.refreshVal
191 self.activateCo
KeyboardInterrupt:
Do you really want to exit ([y]/n)?
Yade: normal exit.
Terminated
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `ceuykd'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]: 10567 WARN yade.Engine /home/jiaoliqin
O.engines=[...,
BoundDispatch
InsertionSort
...
]
it should become
O.engines=[...,
InsertionSort
...
]
instead.
python: malloc.c:4628: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
Segmentation fault
jiaoliqing@
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `daeusy'
XMLRPC info provider on http://
Running script 16-09-re-3d.py
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]: Segmentation fault
May I have your help? Could you explain that why the segmentation fault will appear when I dwindle the loading rate? And how to solve this problem? Thank you!
Looking forward to your replay!
Best Regards
Liqing
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Liqing Jiao for more information if necessary.