ITSO broker

This is a simple implementation of a broker via the GetLinuxNodes() function. The function takes an integer as the number of required nodes and returns a vector of strings containing the host names.

The broker checks the status of the nodes by using the Globus ping function provided by the globus GRAM module API. Consequently, the function activates and deactivates the Globus GRAM module.

The algorithm takes into account the CPU speed, the number of processors, and the CPU workload, and returns the best nodes available. Only Linux nodes are returned.

Broker.h

 #ifndef ITSO_BROKER_H #define ITSO_BROKER_H /* gris_search.c */ #include "globus_common.h" /* LDAP stuff */ #include "lber.h" #include "ldap.h" #include <string> #include ...

Get Enabling Applications for Grid Computing with Globus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.