Page 1 of 1

Nstack - stack too deep in python

Posted: Mon Sep 19, 2022 2:58 pm
by gabrielggn
Dear NEURON team,

I am dealing with BBP cells from the 2015 study where they reconstructed a rodent cortical column. I got them from another study on modelDB where the original files are provided (see https://senselab.med.yale.edu/ModelDB/S ... del=241165).

I figured out how to use these models with hoc language & nrniv -Nstack option but I would like to try to use another template script I wrote in python.
Is there any way to deal with this option in python ?

I have found this post from the doc but It does not seem to work for me even if I have a 8.0 version: https://nrnalex.readthedocs.io/en/lates ... ables.html.

Best

Re: Nstack - stack too deep in python

Posted: Fri Jan 27, 2023 12:35 am
by gabrielggn
For those interested by an answer to this issue , I found my way out in changing the default NSTACK and NFRAME via the config NEURON's file.
To do so you have to:

1. Going to "nrn/lib/nrn.default"
2. Search for NSTACK (ctrl +f )
3. On the corresponding line change the value to the desired one

Re: Nstack - stack too deep in python

Posted: Fri Jan 27, 2023 11:34 am
by ted
Thanks for following up with your solution.