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

fixed counting the number of backend processes #776

Merged
merged 1 commit into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fix size of unallocated array for gfortran
- Fixed size of unallocated array for gfortran
- Fixed counting of backend npes for assert

### Removed

Expand Down
4 changes: 2 additions & 2 deletions base/ServerManager.F90
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ subroutine initialize(this, comm, unusable, application_size, nodes_input_server
if (present(isolate_nodes)) isolated_ = isolate_nodes

if (oserver_type_ == "multilayer" .or. oserver_type_ == 'multigroup') then
_ASSERT(npes_out_backend >=2, "captain-soldier need at lease two beckend")
_ASSERT(nodes_out(1)*npes_out_backend >=2, "captain-soldier needs at least two backend")
endif
if (oserver_type_ == "multicomm") then
_ASSERT(npes_out_backend >=1, "need at lease one beckend for multicomm server")
_ASSERT(npes_out_backend >=1, "needs at least one backend for multicomm server")
endif


Expand Down