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 "ComputeNonbondedMICKernel.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

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

Definition at line 44 of file LdbCoordinator.C.

#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 31 of file LdbCoordinator.C.

Function Documentation

void LdbCoordinator_initproc ( )

Definition at line 51 of file LdbCoordinator.C.

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