Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sympy analytic solver is incompatible with GPU execution. #725

Closed
olupton opened this issue Sep 2, 2021 · 1 comment
Closed

Sympy analytic solver is incompatible with GPU execution. #725

olupton opened this issue Sep 2, 2021 · 1 comment
Labels
bug Something isn't working gpu

Comments

@olupton
Copy link
Contributor

olupton commented Sep 2, 2021

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.

@pramodk
Copy link
Contributor

pramodk commented Sep 6, 2021

fixed by #728

@pramodk pramodk closed this as completed Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gpu
Projects
None yet
Development

No branches or pull requests

2 participants