NAMD
Macros | Functions
LdbCoordinator.C File Reference
#include <stdlib.h>
#include "InfoStream.h"
#include "NamdCentLB.h"
#include "NamdHybridLB.h"
#include "NamdDummyLB.h"
#include "HomePatch.h"
#include "LdbCoordinator.decl.h"
#include "LdbCoordinator.h"
#include "NamdTypes.h"
#include "Node.h"
#include "SimParameters.h"
#include "PatchMap.inl"
#include "ComputeMap.h"
#include "Debug.h"
#include "Controller.h"
#include "Sequencer.h"
#include "RefineOnly.h"
#include "ComputeMgr.h"
#include "Compute.h"
#include "packmsg.h"
#include "Sync.h"
#include "elements.h"
#include "ComputeMgr.decl.h"
#include "LdbCoordinator.def.h"

Go to the source code of this file.

Macros

#define MIN_DEBUG_LEVEL   3
 
#define DEBUG_LEVEL   4
 
#define COLL_MAX(F)   if ( msg->F > F ) F = msg->F;
 
#define COLL_AVG(F)   F += msg->F * (double) numPes / (double) CkNumPes();
 
#define COLL_SUM(F)   F += msg->F;
 

Functions

void LdbCoordinator_initproc ()
 

Macro Definition Documentation

◆ COLL_AVG

#define COLL_AVG (   F)    F += msg->F * (double) numPes / (double) CkNumPes();

◆ COLL_MAX

#define COLL_MAX (   F)    if ( msg->F > F ) F = msg->F;

◆ COLL_SUM

#define COLL_SUM (   F)    F += msg->F;

◆ DEBUG_LEVEL

#define DEBUG_LEVEL   4

Definition at line 43 of file LdbCoordinator.C.

◆ MIN_DEBUG_LEVEL

#define MIN_DEBUG_LEVEL   3

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 30 of file LdbCoordinator.C.

Function Documentation

◆ LdbCoordinator_initproc()

void LdbCoordinator_initproc ( )

Definition at line 50 of file LdbCoordinator.C.

50  {
51  // Set the load balancing period (in seconds). Without this the
52  // load balancing framework will hang until 1 second has passed
53  // since the last load balancing, causing hiccups in very fast runs.
54  // This is duplicated below for older versions, but putting it here
55  // also fixes the first load balance.
56 #ifndef LB_MANAGER_VERSION
57  LBSetPeriod(1.0e-5);
58 #endif
59 }