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

[MRG] fix GUI MPI test #868

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

gtdang
Copy link
Collaborator

@gtdang gtdang commented Aug 21, 2024

Updated test_gui_run_simulation_mpi. The test was not actually testing if any dipoles were constructed.

  • Added assert that the dipole list is not empty
  • Updated the function to use the default network instead of gui test fixture (smaller mesh grid) because it was not working with MPI. Presumably because the smaller network used in the fixture was not compatible with the parameterization of multiprocessing subprocess call.
    • We were encountering an error at the h.finitialize step of network_builder>_simulate_single_trial when using the fixture network. The error was within neuron: "NEURON: mindelay is 0 (or less than dt for fixed step method)".

…un_simulation_mpi

Previously this test was passing with an empty dipole list. It was not checking any dipoles were actually created.
-The test fixture network was not working with MPI. Presumably because the smaller network used in the fixture was not compatible with the multiprocessing subprocess call.

-We were encountering an error at the h.finitialize step of network_builder > _simulate_single_trial when using the fixture network. The error was within neuron: "NEURON: mindelay is 0 (or less than dt for fixed step method)".
@gtdang gtdang marked this pull request as ready for review August 21, 2024 18:53
@gtdang gtdang requested a review from jasmainak August 27, 2024 16:04
@gtdang
Copy link
Collaborator Author

gtdang commented Aug 27, 2024

@dylansdaniels @ntolley @jasmainak
Can you review and merge this?

Copy link
Collaborator

@dylansdaniels dylansdaniels left a comment

Choose a reason for hiding this comment

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

Thanks George, this looks good. And good to know about the issue with the test fixture / MPI as well.

@dylansdaniels dylansdaniels merged commit ccef332 into jonescompneurolab:master Aug 27, 2024
12 checks passed
@gtdang gtdang deleted the gui-mpi-fix branch August 29, 2024 17:51
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.

2 participants