Comments (6)
I couldn't get this to work on our Linux server, so I ended up going with hnn-core. That works well on the Linux server. Thanks!
from hnn.
You might be interested in https://github.com/jonescompneurolab/hnn-core
from hnn.
@tbardouille Here's the workaround for HNN right now. It's a workaround until hnn-core is integrated with HNN. Hence, the lack of documentation. Note that if you use hnn-core right now, each simulation trial will only run on a single core.
-
Generate individual parameter files for each parameter combination. Additionally, change the
sim_prefix
parameter to be unique for each file. -
Script running HNN's run.py over the different files. The number of trials can be specified in the .param file or on the command line via
ntrial 3
.
mpiexec -np 16 nrniv -mpi -python -nobanner run.py param/default.param
-
Terminal output will be similar to the simulation log in the GUI. Results will be saved in
~/hnn_out/data/[sim prefix]/
-
View results in the GUI with the 'Set Parameters from File' button and choosing the appropriate parameter file in
~/hnn_out/param/[sim prefix]/
from hnn.
Thanks for the advice. I installed Open-MPI on my Mac (v 4.0.4) so that I can run mpiexec. This installed fine, and I made a copy of AlphaAndBeta.param to test with. However, I have a problem when I run run.py, as follows (with standard output shown).
Any advice would be appreciated. Thanks.
$ mpiexec -np 4 nrniv -mpi -python -nobanner run.py param/AlphaAndBeta_testScript.param
numprocs=4
making dout: /Users/tbardouille/hnn_out/data/AlphaAndBeta
Traceback (most recent call last):
File "run.py", line 254, in
net = network.NetworkOnNode(p) # create node-specific network
File "/Users/tbardouille/GitHub/hnn/network.py", line 92, in init
self.__create_all_src()
File "/Users/tbardouille/GitHub/hnn/network.py", line 296, in __create_all_src
self.cells.append(L2Basket(gid, pos))
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 22, in init
self.__biophysics()
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 32, in __biophysics
self.soma.insert('hh2')
ValueError: argument not a density mechanism name.
Traceback (most recent call last):
File "run.py", line 254, in
net = network.NetworkOnNode(p) # create node-specific network
File "/Users/tbardouille/GitHub/hnn/network.py", line 92, in init
self.__create_all_src()
File "/Users/tbardouille/GitHub/hnn/network.py", line 296, in __create_all_src
self.cells.append(L2Basket(gid, pos))
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 22, in init
self.__biophysics()
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 32, in __biophysics
self.soma.insert('hh2')
ValueError: argument not a density mechanism name.
Traceback (most recent call last):
File "run.py", line 254, in
net = network.NetworkOnNode(p) # create node-specific network
File "/Users/tbardouille/GitHub/hnn/network.py", line 92, in init
self.__create_all_src()
File "/Users/tbardouille/GitHub/hnn/network.py", line 296, in __create_all_src
self.cells.append(L2Basket(gid, pos))
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 22, in init
self.__biophysics()
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 32, in __biophysics
self.soma.insert('hh2')
ValueError: argument not a density mechanism name.
Traceback (most recent call last):
File "run.py", line 254, in
net = network.NetworkOnNode(p) # create node-specific network
File "/Users/tbardouille/GitHub/hnn/network.py", line 92, in init
self.__create_all_src()
File "/Users/tbardouille/GitHub/hnn/network.py", line 296, in __create_all_src
self.cells.append(L2Basket(gid, pos))
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 22, in init
self.__biophysics()
File "/Users/tbardouille/GitHub/hnn/L2_basket.py", line 32, in __biophysics
self.soma.insert('hh2')
ValueError: argument not a density mechanism name.
from hnn.
@tbardouille I suspect this is from the NEURON .mod files not getting compiled. After typing make
on a mac/linux in the hnn directory, there should be a folder x86_64
. Is that the case?
You may have already seen these instructions, but in case they are of help, here's the link:
https://jonescompneurolab.github.io/hnn/installer/mac/native_install.html
from hnn.
Please let us know if you are still having this issue. Closing for now.
from hnn.
Related Issues (20)
- can't update cell properties
- Issue running HNN-Netpyne (hnn2) examples HOT 3
- ODict instead of OrderedDict HOT 4
- Tonic input throws error HOT 3
- Problem downloading and running a script that will install HNN HOT 12
- Issue installing HNN HOT 8
- Problems downloading HNN HOT 2
- Error running ERPYes100Trials.param file HOT 8
- Version issue with windows native install powershell script HOT 4
- Failed running sim using default.param (Mac) HOT 2
- can't compile HNN source code HOT 5
- can't do bash hnn-ubuntu.sh - permissions error HOT 1
- CentOS installation script not found HOT 1
- errors with HNN GUI installation HOT 2
- Setting LD_LIBRARY_PATH for mac installation HOT 2
- Instructions for Displaying GUI on VNC Client HOT 3
- Installing HNN on Windows HOT 3
- "Failed Running Sim" HOT 4
- Can't update Synaptic gain HOT 1
- Error executing Set Parameters from File HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hnn.