Comments (7)
My work around strategy has been to clone into a nrncore repository, modify manually, and then pull
as the github repository changes. (git stash ; git pull ; git stash pop)
For a longer term solution, I'm thinking in terms of mod2c_core handling the issue analogous to what is
currently done with the THREADSAFE keyword for pthreads. ie. when a GLOBAL is assigned a value in
the mod file, and it is to be simulated on a gpu, then the GLOBAL is promoted to a (hidden) RANGE
variable. In the case of TABLE, the intention is to eventually support that on the GPU..
from nrn.
Thank you for your reply!
I'll be waiting for the long term solution, in the meantime I'll use the suggested workaround.
Thanks
from nrn.
ie. when a GLOBAL is assigned a value in the mod file, and it is to be simulated on a gpu, then the GLOBAL is promoted to a (hidden) RANGE variable
@nrnhines : when we load the bbcore_write data into coreneuron, we check vector count etc. If mod2c convert GLOBAL to RANGE at coreneuron side then it will confuse about count etc. May be we have to handle it in more detail...also when we want to have NEURON and CoreNEURON in same memory space (as a single executable).
I was thinking about having some flag for nrnivmodl itself that will tell nocmdol to do these changes from NEURON side as well and then build special. But there will be also more details here.... (for example , for pre-comliping models like hh.mod)
from nrn.
from nrn.
This will be solved by BlueBrain/CoreNeuron#54
from nrn.
@sharkovsky : that BlueBrain/CoreNeuron#54 will only work if the channel is not used i.e. "ignore unused channels if they have different sizes. ". For hh.mod here, we are considering channels that are actually being used and they have different sizes. We can revisit this after mod2c changes.
from nrn.
CMake build system now automatically updates hh.mod if CoreNEURON is enabled. So this is good to close.
from nrn.
Related Issues (20)
- Rewrite nonlinz to use std::complex instead of 2 vectors
- rxd.Rate requires h.finitialize() to be called before it has an effect
- rxd.cpp get_reaction_rates and solve_reaction possibly repeatedly mallocing. HOT 2
- The novel method called "Dendritic Hierarchical Scheduling" (DHS) from the paper of Zhang, He 2023
- Add hook for external `nmodl` executable in `nrnivmodl`
- Releases with Python 3.12 support HOT 1
- Timeout issue in `hoctests::test_nrniv-launch_py`
- Python 3.13 support HOT 3
- Recurring MPI segmentation fault HOT 5
- master bug : could not translate legacy index 10 HOT 3
- Extend model domain of BBSaveState
- nightly wheels upload CI failing : Username/Password authentication is no longer supported by pypi.org HOT 1
- Nameclash for `STATE y`. HOT 1
- Use SoA for "dparam". HOT 3
- `nrn-build-ci` failures HOT 1
- Numpy segfault on Python 3.12 when using latest `neuronsimulator/neuron_wheel` Docker image for ARM64 HOT 5
- Automated deployment of Docker image used to build the wheels HOT 1
- Rewrite `nrn_mlh_gsort` with `std::sort`
- Can `*_net_send(void*` be removed? HOT 2
- Transmembrane currents do not sum to zero HOT 21
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 nrn.