Charm++ Communication Library Tutorial
Sameer Kumar, Filippo Gioachin, Nilesh Choudhary
ComlibTutorialOverviewStrategiesMulticast Charm++ Communication Library TutorialStreamingAll to allLearnerDevelopmentNew strategies Sameer Kumar Filippo Gioachin Nilesh ChoudharyLearner4th Charm++ Workshop 2005OutlineComlibTutorial1 OverviewOverviewStrategiesMulticast 2 StrategiesStreamingAll to all MulticastLearnerStreamingDevelopmentNew strategies All to allLearnerLearner3 DevelopmentNew strategiesLearnerMotivationComlibTutorial High performance applications can intensively usecommunicationOverview Need to reduceStrategiesMulticast LatencyStreamingBandwidthAll to allLearner CPU OverheadDevelopmentNew strategies Flexibility to adapt to program behaviour changesLearnerHow to useComlibTutorialInclude header filepgm.hOverview#include “comlib.h”StrategiesMulticastStreamingAll to all Link comlib libraryLearnerDevelopment MakefileNew strategiesLearner shell$ charmc o pgm pgm.C module comlibGlobal variablesComlibTutorial CProxy_ClassComlibInstanceHandleOverviewStrategiesMulticastStreamingAll to allLearnerDevelopmentNew strategiesLearnerGlobal variablesComlibTutorial CProxy_ClassComlibInstanceHandleOverviewStrategiesUseful when...MulticastStreamingAll to all Every object needs the same informationLearnerGlobal allocation of informationDevelopmentNew strategiesLearnerExamplepgm.cireadonly CProxy_MyArray comlibproxypgm.CCProxy_MyArray comlibproxyGlobal variablesComlibTutorial ...