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

Can c302 with jNeuroML-NEURON take advantage of multiple CPU cores? #62

Open
slarson opened this issue Jul 3, 2016 · 3 comments
Open
Labels

Comments

@slarson
Copy link
Member

slarson commented Jul 3, 2016

I'm trying to run c302 for a long session and plot the results and I'm doing it on a multi-CPU Amazon instance. Is there anyway to take advantage of multiple threads in doing this?

https://www.neuron.yale.edu/phpBB/viewtopic.php?f=28&t=3395

cc: @pgleeson

Thanks!

@pgleeson
Copy link
Member

pgleeson commented Jul 4, 2016

Not yet, but there is work under way for jNeuroML to create parallel Neuron compatible code. This would be either through generating PyNN (though there aren't gap junctions supported there), or NetPyNE (https://github.com/Neurosim-lab/netpyne), which might have gap junction support sooner.

This will happen (soonish) because it's really needed for other large scale nets in nml2...

@slarson
Copy link
Member Author

slarson commented Jul 4, 2016

OK yeah that would be great. In order to reproduce this (from the Kato paper):

screen shot 2016-07-02 at 11 48 04 pm

we'd need to try to be running hundreds of seconds worth of simulation time. If there are any issues related to this on various repos, let's link them in here (did a brief look on both repos but didn't see any obvious ones to reference.

Thanks!

@pgleeson
Copy link
Member

The bottleneck here will probably be the volume of data being saved/reloaded rather than the fact that it needs to run on multiple procesors.

One solution might be to specify in the LEMS Simulation <OutputFile> (e.g. here) that you only want to save every 100ms for example , but that would require an update to jLEMS, then to the Neuron export... Not happennign soon I think.

A better soln would be to make a python controller file (like this https://github.com/openworm/CElegansNeuroML/blob/master/CElegans/pythonScripts/c302/examples/LEMS_c302_A_Social.xml#L66) which generates the python Neuron main class for c302 on the fly, specifies not to save/plot anything, then steps through a long simulation and manually grabs the membrane potential/ca conc from the Neuron object (like here) it wants at whatever time resolution and saves that file...

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

No branches or pull requests

2 participants