Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alvarez, Gonzalo
PsimagLite
Commits
7d8c4cb2
Commit
7d8c4cb2
authored
Aug 12, 2020
by
Alvarez, Gonzalo
Browse files
InterNodeMpi: uses its own balancer by default
parent
3a5a4683
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/InterNodeMpi.h
View file @
7d8c4cb2
...
...
@@ -7,16 +7,16 @@
#include <sched.h>
#include <unistd.h>
#include "TypeToString.h"
#include "LoadBalancer
Default
.h"
#include "LoadBalancer
Mpi
.h"
namespace
PsimagLite
{
template
<
typename
LoadBalancerType
=
LoadBalancer
Default
>
template
<
typename
LoadBalancerType
=
LoadBalancer
Mpi
>
class
InterNode
{
public:
typedef
LoadBalancer
Default
::
VectorSizeType
VectorSizeType
;
typedef
LoadBalancer
Mpi
::
VectorSizeType
VectorSizeType
;
InterNode
(
MPI
::
CommType
comm
)
:
comm_
(
comm
),
mpiSize_
(
MPI
::
commSize
(
comm_
)),
mpiRank_
(
MPI
::
commRank
(
comm_
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment