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

Core neuron support? #282

Open
GregGlickert opened this issue Jan 21, 2023 · 2 comments
Open

Core neuron support? #282

GregGlickert opened this issue Jan 21, 2023 · 2 comments

Comments

@GregGlickert
Copy link
Contributor

I was wondering if BMTK has the intention to support the core neuron simulator. It is supposed to speed up neuron simulation quite significantly. I have been working on implementing support for running with core neuron and have the simulation running, but I have not yet got the report modules to record correctly. When running the simulation only zeros get recorded to the reports.

The big difference is that instead of using h.run to run the model you instead you ParallelContext.psolve to run the model. Core neuron is also written using neuron 9.0 which converts mod files to cpp code instead of c code. I have been able to run and record a BMTK model using neuron 9.0 so I don't believe that will be an issue. Most models should be compatible with running with core neuron with only a few mod files needing to be updated to support neuron 9.0.

@tjbanks
Copy link
Contributor

tjbanks commented Jan 30, 2023

After bouncing ideas back and forth @GregGlickert and I came up with a module to support Core Neuron.

https://github.com/tjbanks/corebmtk

If the implementation is acceptable I can put in a PR for integrating into BMTK.

@xpliu16
Copy link
Collaborator

xpliu16 commented Jan 31, 2023

Hi Greg and Tyler,

Thanks for all your work on this! We will take a look. This is not something in our short-term plan, but we are hoping to collaborate with CoreNEURON to provide SONATA support, perhaps next year.

Thanks,
Kael and Ping

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