25 #include <glite-api-wrapper/gLiteAPIWrapper.h>
43 using namespace glite_api_wrapper;
44 using namespace MiscCommon;
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.
void MayNotUse(const char *method) const
Use this method to signal that a method (defined in a base class) may not be called in a derived clas...
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
Int_t GetOutputSandbox(const char *_localpath, Option_t *=0)
Retrieving the output sandbox files.
std::map< std::string, std::string >::const_iterator iter
ClassImp(TGLiteJob) using namespace std
gLite implementation of TGridJob
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Bool_t Resubmit()
Not implemented for RGLite.
gLite implementation of TGridJobStatus