Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Conversation

@alexsavulescu
Copy link
Contributor

In link with: neuronsimulator/nrn#692

Should we add an extra parameter to the NEURON callback in order to indicate if writing output.dat should be skipped? Or is something we'd like to have at a global level, say a CLI option?

@nrnhines
Copy link
Collaborator

nrnhines commented Aug 3, 2020

Could generate the out.dat if the callback is nullptr or if the callback does not copy the spikes (and so returns 0(?))

@pramodk
Copy link
Collaborator

pramodk commented Aug 3, 2020

Could generate the out.dat if the callback is nullptr or if the callback does not copy the spikes (and so returns 0(?))

I am thinking similar : if coreneuron is running in embedded mode then don't generate the spike output file. Otherwise LGTM

Copy link
Collaborator

@pramodk pramodk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - nice!

@alexsavulescu alexsavulescu requested a review from nrnhines August 5, 2020 09:05
@pramodk pramodk merged commit f2e0f01 into master Aug 5, 2020
@pramodk pramodk deleted the all_spikes branch August 5, 2020 13:46
@alexsavulescu alexsavulescu linked an issue Aug 12, 2020 that may be closed by this pull request
pramodk pushed a commit to neuronsimulator/nrn that referenced this pull request Nov 2, 2022
* Return all spikes vectors to NEURON
* don't write out.dat if NEURON gets spike vectors

CoreNEURON Repo SHA: BlueBrain/CoreNeuron@f2e0f01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessing recorded spikes via direct memory interface with NEURON

4 participants