Skip to content

Dev#99

Open
thorstenhater wants to merge 18 commits intoarbor-sim:devfrom
thorstenhater:dev
Open

Dev#99
thorstenhater wants to merge 18 commits intoarbor-sim:devfrom
thorstenhater:dev

Conversation

@thorstenhater
Copy link
Copy Markdown
Contributor

Clean-up of previous update

halfflat and others added 9 commits October 31, 2019 17:08
* Make required changes to support new 0.2.3-dev API.
Update for new cable_cell API pending 0.2.3 release.
* Implement RMS error computation in `comparex`.
* Add new validation test 'rallpack1' (see `validation/rallpack1/README.md`) for NEURON and Arbor.
* Add new validation test 'cable-steadystate': cable with Rallpack1
electrical characteristics, but with differing diameters at each end;
simulations are run to steady-state (20 times cable time constant) and
compared against analytical solution.
* Add selection switch for ARB_GPU.
* Make building validation code optional via `ns_validate` shell variable in environment script.
@halfflat
Copy link
Copy Markdown
Contributor

I like these changes! The only thing left out would be the removal of ns_validate from environment.sh

Copy link
Copy Markdown
Member

@bcumming bcumming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment.

Don't forget the documentation in the docs/ path:
https://github.com/arbor-sim/nsuite/blob/master/docs/install.rst

Comment thread scripts/environment.sh

ns_arb_arch=native
ns_arb_with_gpu=OFF
ns_arb_gpu=none
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about keeping this variable, and allowing it to be set to none, cuda, hip or clang-cuda, and passing it directly to CMake:

cmake -DARB_GPU=$ns_arb_gpu

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided on using ns_arb_with_gpu for this purpose.

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 this pull request may close these issues.

3 participants