Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eGFRD Crash? #13

Open
Jintram opened this issue May 17, 2011 · 3 comments
Open

eGFRD Crash? #13

Jintram opened this issue May 17, 2011 · 3 comments

Comments

@Jintram
Copy link

Jintram commented May 17, 2011

I've tried running my rebind sample a load of times, it made eGFRD crash after 4930 runs. But the problem doesn't seem to come from my sample code..

Run 4931.

Traceback (most recent call last):
File "run.py", line 315, in
int(sys.argv[2]), T_list, int(sys.argv[4]))
File "run.py", line 78, in run
r_list, t_list = singlerun(T_list, N_B, N_X)
File "run.py", line 195, in singlerun
dd = s.clear_volume(A_pos, float(A['radius'])) # returns a list of
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 530, in clear_volume
return self.burst_objs(neighbors)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 522, in burst_objs
b = self.burst_obj(obj)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 499, in burst_obj
obj = self.burst_single(obj)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 1018, in burst_single
newsingle = self.propagate_single(single)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 672, in propagate_single
newpos = single.draw_new_position(single.dt, single.event_type)
File "/storage1/wehrens/myfork_egfrd/single.py", line 194, in draw_new_position
r = draw_r_wrapper(gf, dt, self.get_mobility_radius())
File "/storage1/wehrens/myfork_egfrd/greens_function_wrapper.py", line 52, in draw_r_wrapper
(str(e), rnd, dt, gf.dump()))
AttributeError: 'GreensFunction3DAbsSym' object has no attribute 'dump'

@TheOtherOne
Copy link
Member

Hmmm, klinkt wel duidelijk toch?
'GreensFunction3DAbsSym' object has no attribute 'dump'
klopt dit of kletst hij echt uit z'n nek? De rest is alleen maar traceback, right?

Groetjes,

Laurens

-----Original message-----
To: Laurens Bossen [email protected];
From: Jintram [email protected]
Sent: Tue 17-05-2011 11:02
Subject: [egfrd] eGFRD Crash? (#13)

I've tried running my rebind sample a load of times, it made eGFRD crash after
4930 runs. But the problem doesn't seem to come from my sample code..

Run 4931.

Traceback (most recent call last):
File "run.py", line 315, in
int(sys.argv[2]), T_list, int(sys.argv[4]))
File "run.py", line 78, in run
r_list, t_list = singlerun(T_list, N_B, N_X)
File "run.py", line 195, in singlerun
dd = s.clear_volume(A_pos, float(A['radius'])) # returns a list of
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 530, in clear_volume
return self.burst_objs(neighbors)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 522, in burst_objs
b = self.burst_obj(obj)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 499, in burst_obj
obj = self.burst_single(obj)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 1018, in burst_single
newsingle = self.propagate_single(single)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 672, in propagate_single
newpos = single.draw_new_position(single.dt, single.event_type)
File "/storage1/wehrens/myfork_egfrd/single.py", line 194, in
draw_new_position
r = draw_r_wrapper(gf, dt, self.get_mobility_radius())
File "/storage1/wehrens/myfork_egfrd/greens_function_wrapper.py", line 52, in
draw_r_wrapper
(str(e), rnd, dt, gf.dump()))
AttributeError: 'GreensFunction3DAbsSym' object has no attribute 'dump'

Reply to this email directly or view it on GitHub:
#13

@TheOtherOne
Copy link
Member

Hmmm, just found out that this is in any case bad -> drawR apparently failed and an exception is thrown (unsucessfully)...
Nu ook convergentieproblemen in 3DAbsSym? Heel fijn..

grz,

Laurens

-----Original message-----
To: Laurens Bossen [email protected];
From: Jintram [email protected]
Sent: Tue 17-05-2011 11:02
Subject: [egfrd] eGFRD Crash? (#13)

I've tried running my rebind sample a load of times, it made eGFRD crash after
4930 runs. But the problem doesn't seem to come from my sample code..

Run 4931.

Traceback (most recent call last):
File "run.py", line 315, in
int(sys.argv[2]), T_list, int(sys.argv[4]))
File "run.py", line 78, in run
r_list, t_list = singlerun(T_list, N_B, N_X)
File "run.py", line 195, in singlerun
dd = s.clear_volume(A_pos, float(A['radius'])) # returns a list of
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 530, in clear_volume
return self.burst_objs(neighbors)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 522, in burst_objs
b = self.burst_obj(obj)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 499, in burst_obj
obj = self.burst_single(obj)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 1018, in burst_single
newsingle = self.propagate_single(single)
File "/storage1/wehrens/myfork_egfrd/egfrd.py", line 672, in propagate_single
newpos = single.draw_new_position(single.dt, single.event_type)
File "/storage1/wehrens/myfork_egfrd/single.py", line 194, in
draw_new_position
r = draw_r_wrapper(gf, dt, self.get_mobility_radius())
File "/storage1/wehrens/myfork_egfrd/greens_function_wrapper.py", line 52, in
draw_r_wrapper
(str(e), rnd, dt, gf.dump()))
AttributeError: 'GreensFunction3DAbsSym' object has no attribute 'dump'

Reply to this email directly or view it on GitHub:
#13

@TheJoris
Copy link

Dump attribute added to GF3DAbsSym.hpp/cpp and the wrapper. This was missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants