Commit 7d8c4cb2 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

InterNodeMpi: uses its own balancer by default

parent 3a5a4683
......@@ -7,16 +7,16 @@
#include <sched.h>
#include <unistd.h>
#include "TypeToString.h"
#include "LoadBalancerDefault.h"
#include "LoadBalancerMpi.h"
namespace PsimagLite {
template<typename LoadBalancerType=LoadBalancerDefault>
template<typename LoadBalancerType=LoadBalancerMpi>
class InterNode {
public:
typedef LoadBalancerDefault::VectorSizeType VectorSizeType;
typedef LoadBalancerMpi::VectorSizeType VectorSizeType;
InterNode(MPI::CommType comm)
: comm_(comm), mpiSize_(MPI::commSize(comm_)), mpiRank_(MPI::commRank(comm_))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment