Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Sympy analytic solver is incompatible with GPU execution. #725

Description

@olupton

The sympy --analytic option to NMODL produces code that crashes on GPU.
The same models pass on GPU if this option is not passed.
This option is enabled by the +sympy variant of the CoreNEURON Spack recipe.

Reproducing

One way is to use the channel-benchmark tests as added in neuronsimulator/nrn#1439.

-DNRN_ENABLE_CORENEURON=ON \
-DCORENRN_ENABLE_GPU=ON \
-DCORENRN_ENABLE_NMODL=ON \
-DCORENRN_NMODL_FLAGS=" sympy --analytic"

and build (with NVHPC compilers etc.). Two (three, counting the results comparison) tests should fail:
channel_benchmark_Hippo::coreneuron_gpu and channel_benchmark_Hippo::coreneuron_gpu_offline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggpu

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions