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

Conngen module problem #206

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

Conngen module problem #206

mdjurfeldt opened this issue Jan 14, 2016 · 3 comments

Comments

@mdjurfeldt
Copy link
Contributor

@mdjurfeldt 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
Copy link
Contributor

@heplesser 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
Copy link
Contributor

@jougs jougs commented Jun 29, 2017

This i related to and fixed by #483.

@jougs
Copy link
Contributor

@jougs 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.