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

Conngen module problem #206

Closed
mdjurfeldt opened this Issue Jan 14, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@mdjurfeldt
Contributor

mdjurfeldt commented Jan 14, 2016

Running csademo.py in the following archive:
csademo.zip
invokes CGConnect, which generates the following error:

Traceback (most recent call last):
File "csademo.py", line 9, in
nest.CGConnect (p0, p1, cg)
File "/usr/local/lib/python2.7/dist-packages/nest/lib/hl_api_helper.py", line 138, in stack_checker_func
return f(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/nest/lib/hl_api_connections.py", line 617, in CGConnect
if _is_subnet_instance(pre[:1]):
File "/usr/local/lib/python2.7/dist-packages/nest/lib/hl_api_connections.py", line 594, in _is_subnet_instance
GetChildren(gids)
NameError: global name 'GetChildren' is not defined

@heplesser

This comment has been minimized.

Show comment
Hide comment
@heplesser

heplesser Mar 2, 2016

Contributor

@mdjurfeldt Sorry for the very late response. We removed GetChildren, GetLeaves etc some time ago and replaced them by GetGlobalChildren/GetLocalChildren, GetGlobalLeaves/GetLocalLeaves etc. The reason for this was to make explicit what you are asking for. The Global variants collect information from all MPI processes, which may be very slow and require a lot of memory. The Local variants only collect information from the MPI process running the command.

Contributor

heplesser commented Mar 2, 2016

@mdjurfeldt Sorry for the very late response. We removed GetChildren, GetLeaves etc some time ago and replaced them by GetGlobalChildren/GetLocalChildren, GetGlobalLeaves/GetLocalLeaves etc. The reason for this was to make explicit what you are asking for. The Global variants collect information from all MPI processes, which may be very slow and require a lot of memory. The Local variants only collect information from the MPI process running the command.

@jougs

This comment has been minimized.

Show comment
Hide comment
@jougs

jougs Jun 29, 2017

Contributor

This i related to and fixed by #483.

Contributor

jougs commented Jun 29, 2017

This i related to and fixed by #483.

@jougs

This comment has been minimized.

Show comment
Hide comment
@jougs

jougs Oct 16, 2017

Contributor

Fixed by the merge of #483.

Contributor

jougs commented Oct 16, 2017

Fixed by the merge of #483.

@jougs jougs closed this Oct 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment