HelloWorld example

Below is a sample HelloWorld program.

HelloFrontEnd.C

 #define _GNU_SOURCE // mandatory to use get_current_dir_name #include <unistd.h> #include "globus_common.h" #include "itso_gram_job.h" #include "itso_gass_copy.h" #include <iostream> #include <fstream> #include "itso_gass_server.C" #include <cc++/socket.h> #include <cstdlib> #ifdef CCXX_NAMESPACE using namespace std; using namespace ost; #endif // static variables used by the FrontEndServer threads. // They are initialized at startup and readonly. // Note that for a real production case, ticket will probably // variable. A locking mechanism with mutex needs to be // used. static char hostname[MAXHOSTNAMELEN]; static long ticket; //************************************************************** ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.