Skip to content

enable cell_permute for coreneuron - #375

Merged
cattabiani merged 14 commits into
mainfrom
katta/cell_permute
Sep 12, 2025
Merged

enable cell_permute for coreneuron#375
cattabiani merged 14 commits into
mainfrom
katta/cell_permute

Conversation

@cattabiani

@cattabiani cattabiani commented Sep 3, 2025

Copy link
Copy Markdown
Collaborator

Context

corenrn can run with cell-permute = {0 (cpu, gpu), 1 (cpu, gpu), 2 (gpu)}. Neurodamus at the moment is not leveraging this. We should allow users to set this.

Note: this is different from cell-permute for neuron (9+ only). I may enable that in the future. In that case this will become useless legacy code. At any rate, neuron 9 is new and not fully used everywhere. Proceeding step by step, enabling cell-permute in coreneuron is the next logical step

Scope

  • add option in CLI and in the python bindings

Testing

  • test that it is written in sim.conf
  • test that integration-e2e/test_reports.py is unaffected

@cattabiani cattabiani self-assigned this Sep 3, 2025
@cattabiani cattabiani added the enhancement New feature or request label Sep 3, 2025
@cattabiani
cattabiani changed the base branch from main to katta/compartment_sets_neurodamus September 4, 2025 09:08
@cattabiani
cattabiani force-pushed the katta/cell_permute branch 3 times, most recently from 8aa73b3 to c4cf7da Compare September 4, 2025 12:24
Base automatically changed from katta/compartment_sets_neurodamus to main September 4, 2025 15:33
… (gpu)}`.

Neurodamus at the moment is not leveraging this. We should allow users to set this.

**Note:** this is different from `cell-permute` for neuron (9+ only).
I may enable that in the future. In that case this will become useless legacy code.
At any rate, neuron 9 is new and not fully used everywhere. Proceeding step by step,
enabling `cell-permute` in coreneuron is the next logical step

* add option in CLI and in the python bindings

* test that it is written in `sim.conf`
* test that `integration-e2e/test_reports.py` is unaffected
* add test in `test_reports.py`. I am using [this](neuronsimulator/nrn#3587)
locally. It will fail in the CI until that one is merged
@cattabiani
cattabiani marked this pull request as ready for review September 5, 2025 09:16
@cattabiani
cattabiani requested review from WeinaJi and mgeplf September 5, 2025 14:07
Comment thread neurodamus/commands.py Outdated
Comment thread neurodamus/utils/pyutils.py
Comment thread tests/unit/test_cli.py Outdated
@cattabiani
cattabiani requested a review from mgeplf September 9, 2025 07:19
Comment thread neurodamus/core/configuration.py
@cattabiani
cattabiani requested a review from WeinaJi September 11, 2025 11:33
Comment thread neurodamus/core/configuration.py Outdated
@cattabiani
cattabiani requested a review from WeinaJi September 12, 2025 07:26
@cattabiani
cattabiani merged commit 62e43c2 into main Sep 12, 2025
19 checks passed
@cattabiani
cattabiani deleted the katta/cell_permute branch September 12, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants