C/C++ simple examples
Below are more simple examples.
gassserver.C
#include "globus_common.h" #include "globus_gass_server_ez.h" #include <iostream> #include "itso_cb.h" ITSO_CB callback; //invoked when client wants to shutdown the server void callback_c_function() { callback.setDone(); } main() { // Never forget to activate GLOBUS module globus_module_activate(GLOBUS_GASS_SERVER_EZ_MODULE); // let s define options for our GASS server unsigned long server_ez_opts=0UL; //Files openfor writing will be written a line at a time //so multiple writers can access them safely. server_ez_opts |= GLOBUS_GASS_SERVER_EZ_LINE_BUFFER; //URLs that have ~ character, will be expanded to the home //directory of the user who is running the server server_ez_opts ...
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.