Skip to content
Snippets Groups Projects
  1. May 05, 2022
  2. May 04, 2022
  3. Apr 27, 2022
  4. Apr 26, 2022
  5. Mar 24, 2022
  6. Mar 22, 2022
  7. Mar 16, 2022
  8. Mar 11, 2022
  9. Mar 08, 2022
  10. Mar 04, 2022
  11. Feb 28, 2022
  12. Feb 24, 2022
    • boeschf's avatar
      export API (#1824) · 675fdbc9
      boeschf authored
      Exports all symbols so arbor can be compiled as set of shared libraries. 
      
      In order to export all symbols correctly, one macro per library and one global macro are added. The content of the macros is determined at configure time depending on build variant (static/shared), compiler, and platforms (linux, mac os) and goes into the library's include directory as `export.hpp` when installed (at build time it resides at cmake's temporary build directory). The per-library macro is named `ARB_LIBNAME_API` and goes in front of to-be-exported symbols. The global macro is `ARB_SYMBOL_VISIBLE`. 
      
      This PR adds the annotation in all of the places where it is required. Most of them are in the public headers (and corresponding sources) but some are also added in internal headers, which were required for the unit tests to link properly.
      
      Fixes #1752
    • Thorsten Hater's avatar
      Add documentation on faster NMODL. (#1840) · 03f5d30a
      Thorsten Hater authored
      Half-half dev and user docs on NMODL optimisation. Actually apply that advice in hh.mod
  13. Feb 14, 2022
  14. Feb 10, 2022
  15. Feb 07, 2022
  16. Jan 27, 2022
  17. Jan 26, 2022
    • Brent Huisman's avatar
      prep for release (#1816) · 930c23eb
      Brent Huisman authored
    • Brent Huisman's avatar
      v0.6-rc (#1814) · cf99bdce
      Brent Huisman authored
      * bump version to v0.6-rc
      * Update `MANIFEST.in` and `scripts/run_python_examples.sh`
      * Update Release instructions `docs/contrib/release.rst`
      * Fix missing quotes in `python/example/single_cell_nml.py`
      * Add testing to sdist creation in `ciwheel.yml`
      * Rename `basic.yml` to `test-everything.yml`
         * Remove Python examples step from matrix (mostly because plotting takes much CPU on macos)
         * change to build /w nml
         * add test of pip builds (`pip install` in addition to CMake builds)
            * Python examples are tested here, once is enough.
    • Thorsten Hater's avatar
      Remove footgun: Catalogue Lifetimes (#1807) · b01aa58b
      Thorsten Hater authored
      # Changes
      
      - `cable_cell_global_properties` now holds a catalogue directy
      - fixes for tests, examples, and python bindings accordingly
      
      # Linked Issues
      Fixes #1446 
  18. Jan 24, 2022
    • Thorsten Hater's avatar
      More robust build-catalogue (#1784) · d0dc6bd7
      Thorsten Hater authored
      - build-catalogue
        - now installed by pip
        - enable GPU-backends
        - isolate from being installed in a non-default dir
        - rename to arbor-build-catalogue
        - allow hand-written C++ mechanisms to be linked in the same catalogue.
      - CMake
        - enable PIC on arbor always to allow linking to shared objects
        - use relative paths when configuring a-b-c, to make relocation less of a problem
      - Python
          - ensure a-b-c is installed by pip, along with headers and libarbor.a
          - throw errors if tools (cmake scripts, arbor package, modcc) missing
          - transition setup.py setuptools -> skbuild.
      - Wheels
          - Add NML2 support to wheels
          - scripts/build-wheels.sh builds wheels, in principle valid for submission to PyPI, on your own hardware. This should be kept in sync with .github/workflows/ciwheel.yml
          - scripts/patchwheel.py corrects the rpath in the libraries in the wheels, working around a bad interplay between auditwheel and skbuild, see pypa/auditwheel#363
          - Python Wheels are tested as part of the Github Action 
          - Add nml and bundled status to config().
    • Brent Huisman's avatar
      Have option to set thread count to local maximum (#1716) · 22bd848d
      Brent Huisman authored
      * Pyarb specific.
      * `proc_allocation_shim()` throws error if user sets threads to zero.
      * `arbor.context` constructor accepts `threads` set to `"avail_threads"`, which sets the number of threads to `arbenv::thread_concurrency()`
        * This introduces a dependency on arbenv for Pyarb.
      * Docs and tests added.
      
      Fixes #1692 
    • Benjamin Cumming's avatar
      Add dry run benchmark cell model for testing communication scaling (#1627) · 546e2ad4
      Benjamin Cumming authored
      Add a modified version of the benchmark cell example that uses dry run scaling.
    • Nora Abi Akar's avatar
      Profile externally loaded mechanisms (#1691) · 44b67f38
      Nora Abi Akar authored
      - Add support for profiling externally loaded mechanisms.
      - Move the profiler calls out of the generated C++ code into the `arb::mechanism` methods. 
      - Remove the `--profile` flag from the modcc flags. 
      - Replace `_` delimiter with `:` in profiler. 
      - Replace `const char*` with `const std::string&` for profiler region representation.
      - Profiler may now contain empty regions that were registered but not profiled, so add some code to filer those out when generating final profile.
  19. Jan 21, 2022