25 #include <glite-api-wrapper/gLiteAPIWrapper.h> 72 CJobManager::delivered_output_t joboutput_path;
73 CGLiteAPIWrapper::Instance().GetJobManager().JobOutput(
string(fJobID), _localpath, &joboutput_path);
76 CJobManager::delivered_output_t::const_iterator iter = joboutput_path.begin();
77 CJobManager::delivered_output_t::const_iterator iter_end = joboutput_path.end();
78 Info(
"GetOutputSandbox",
"The output has been delivered [ job ] -> [local output directory]");
79 for (; iter != iter_end; ++iter) {
81 ss <<
"[" << iter->first <<
"] -> [" << iter->second <<
"]";
82 Info(
"GetOutputSandbox", ss.str().c_str());
85 }
catch (
const exception &_e) {
86 Error(
"GetOutputSandbox",
"Exception: %s", _e.what());
110 CGLiteAPIWrapper::Instance().GetJobManager().JobCancel(
string(fJobID));
111 }
catch (
const exception &_e) {
112 Error(
"Cancel",
"Exception: %s", _e.what());
virtual Bool_t Cancel()
The Cancel() method cancels a gLite job, which was assigned to the class.
Int_t GetOutputSandbox(const char *_localpath, Option_t *=0)
Retrieving the output sandbox files.
void Info(const char *location, const char *msgfmt,...)
gLite implementation of TGridJob
void Error(const char *location, const char *msgfmt,...)
void MayNotUse(const char *method)
This function can be used in classes that should override a certain function, but in the inherited cl...
virtual TGridJobStatus * GetJobStatus() const
The GetJobStatus() method queries the job for its status.
virtual Bool_t Resubmit()
Not implemented for RGLite.
gLite implementation of TGridJobStatus