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

Apple M1 does not compile with -DNRN_ENABLE_TESTS=ON #1033

Closed
nrnhines opened this issue Feb 27, 2021 · 2 comments · Fixed by #1053
Closed

Apple M1 does not compile with -DNRN_ENABLE_TESTS=ON #1033

nrnhines opened this issue Feb 27, 2021 · 2 comments · Fixed by #1053

Comments

@nrnhines
Copy link
Member

Experience the same compile problem with catch2 mentioned in BlueBrain/nmodl#529.

The fix from BlueBrain/nmodl#528 also fixes our compile problem for external/catch2/single_include/catch2/catch.hpp .

But see test failures 4-18. Note that 7 onward are for testcorenrn... which is odd because we did not use the -DNRN_ENABLE_CORENEURON=ON option

@nrnhines
Copy link
Member Author

Although make test fails for 4-18 manual testing succeeds for Test 4 with

cd test/pynrn
nrnivmodl
python3 -m pytest

Test 5: Doing this for test/rxd (nrnivmodl in ecs and 3d) succeeds for test_contains, test_currents, test_distance, but segfaults for test_empty_regions

Test 6: test/parallel_test was successful with mpiexec -n 6 nrniv -mpi -python test_subworld.py but I needed a
export DYLD_LIBRARY_PATH=/opt/homebrew/lib

@pramodk
Copy link
Member

pramodk commented Feb 27, 2021

@nrnhines : got access to Apple M1 and hence started testing with NMODL. Will do the same for CoreNEURON and NEURON on Monday.

pramodk added a commit that referenced this issue Mar 5, 2021
 * catch submodule updated to latest release to
   support apple m1 build
 * FindMPI.cmake breaks compatibility with latest
   cmake version. See #1052.

Fixes #1052
Fixes #1033
pramodk added a commit that referenced this issue Mar 8, 2021
* Fix the build issues and tests on Apple M1
 * catch submodule updated to latest release to
   support apple m1 build
 * FindMPI.cmake breaks compatibility with latest
   cmake version. See #1052.

Fixes #1052
Fixes #1033
alexsavulescu pushed a commit that referenced this issue Apr 13, 2021
* Fix the build issues and tests on Apple M1
 * catch submodule updated to latest release to
   support apple m1 build
 * FindMPI.cmake breaks compatibility with latest
   cmake version. See #1052.

Fixes #1052
Fixes #1033
alexsavulescu pushed a commit that referenced this issue Apr 30, 2021
* Fix the build issues and tests on Apple M1
 * catch submodule updated to latest release to
   support apple m1 build
 * FindMPI.cmake breaks compatibility with latest
   cmake version. See #1052.

Fixes #1052
Fixes #1033
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants