Git Product home page Git Product logo

Comments (7)

nrnhines avatar nrnhines commented on May 30, 2024

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.

sharkovsky avatar sharkovsky commented on May 30, 2024

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.

pramodk avatar pramodk commented on May 30, 2024

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.

nrnhines avatar nrnhines commented on May 30, 2024

from nrn.

sharkovsky avatar sharkovsky commented on May 30, 2024

This will be solved by BlueBrain/CoreNeuron#54

from nrn.

pramodskumbhar avatar pramodskumbhar commented on May 30, 2024

@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.

pramodk avatar pramodk commented on May 30, 2024

CMake build system now automatically updates hh.mod if CoreNEURON is enabled. So this is good to close.

from nrn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.