You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce on ARM-based Linux, since Github Actions does not support ARM-based Linux runners, one can do the following locally (I will use podman/docker commands interchangeably):
install podman or docker
(if not running on ARM-based MacOS) run docker run --rm --privileged docker.io/multiarch/qemu-user-static --reset -p yes to enable emulation of ARM on x86_64
make clean clone of NEURON: git clone https://github.com/neuronsimulator/nrn
This will put a NEURON wheel in the wheelhouse dir.
put the following contents in a file called Dockerfile:
FROM docker.io/ubuntu:22.04
RUN apt-get update && apt-get install -y python3-venv python3-pip
# you may need to tweak the below to match the exact filename of the wheel produced in step 4COPY wheelhouse/NEURON-9.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl .
RUN python3 -m venv env
RUN env/bin/python -m pip install NEURON*.whl
RUN env/bin/python -c 'import neuron; neuron.test_rxd()'
run docker build --platform linux/arm64 -t neuron_reproducer .
In #3177 we skipped some of the CVODE-related tests for RXD on ARM platforms.
To reproduce in the CI on ARM-based MacOS, here's a Github Actions file:
To reproduce on ARM-based Linux, since Github Actions does not support ARM-based Linux runners, one can do the following locally (I will use
podman
/docker
commands interchangeably):docker run --rm --privileged docker.io/multiarch/qemu-user-static --reset -p yes
to enable emulation of ARM on x86_64git clone https://github.com/neuronsimulator/nrn
This will put a NEURON wheel in the
wheelhouse
dir.Dockerfile
:docker build --platform linux/arm64 -t neuron_reproducer .
In any case, the output is something like:
Error size for the two appears to be:
The text was updated successfully, but these errors were encountered: