OpenDreams Core
1.7
|
00001 00024 #ifndef _DRMAA_IDL 00025 #define _DRMAA_IDL 00026 00027 module tecgraf { 00028 module openbus { 00029 module DRMAA { 00033 module v1_7 { 00034 00038 typedef sequence<string> OrderedStringList; 00039 00043 typedef sequence<string> StringList; 00044 00048 typedef sequence< sequence<string,2> > Dictionary; 00049 00053 typedef long long TimeAmount; 00054 00060 enum JobControlAction { 00064 SUSPEND, 00068 RESUME, 00072 HOLD, 00076 RELEASE, 00080 TERMINATE 00081 }; 00082 00088 enum JobState { 00092 UNDETERMINED, 00096 QUEUED_ACTIVE, 00100 SYSTEM_ON_HOLD, 00104 USER_ON_HOLD, 00108 USER_SYSTEM_ON_HOLD, 00112 RUNNING, 00116 SYSTEM_SUSPENDED, 00120 USER_SUSPENDED, 00124 USER_SYSTEM_SUSPENDED, 00128 DONE, 00132 FAILED 00133 }; 00134 00140 enum JobSubmissionState { 00144 HOLD_STATE, 00148 ACTIVE_STATE 00149 }; 00150 00157 struct FileTransferMode { 00161 boolean transferInputStream; 00165 boolean transferOutputStream; 00169 boolean transferErrorStream; 00170 }; 00171 00177 struct Version { 00181 long major; 00185 long minor; 00186 }; 00187 00191 exception AlreadyActiveSessionException {string message;}; 00195 exception AuthorizationException {string message;}; 00200 exception ConflictingAttributeValuesException {string message;}; 00205 exception DefaultContactStringException {string message;}; 00210 exception DeniedByDrmException {string message;}; 00214 exception DrmCommunicationException {string message;}; 00218 exception DrmsExitException {string message;}; 00222 exception DrmsInitException {string message;}; 00228 exception ExitTimeoutException {string message;}; 00232 exception HoldInconsistentStateException {string message;}; 00237 exception IllegalStateException {string message;}; 00241 exception InternalException {string message;}; 00246 exception InvalidArgumentException {string message;}; 00251 exception InvalidAttributeFormatException {string message;}; 00255 exception InvalidAttributeValueException {string message;}; 00259 exception InvalidContactStringException {string message;}; 00264 exception InvalidJobException {string message;}; 00270 exception InvalidJobTemplateException {string message;}; 00274 exception NoActiveSessionException {string message;}; 00280 exception NoDefaultContactStringSelectedException {string message;}; 00285 exception OutOfMemoryException {string message;}; 00289 exception ReleaseInconsistentStateException {string message;}; 00294 exception ResumeInconsistentStateException {string message;}; 00298 exception SuspendInconsistentStateException {string message;}; 00303 exception TryLaterException {string message;}; 00308 exception UnsupportedAttributeException {string message;}; 00309 00314 native PartialTimestamp; 00315 00321 valuetype JobInfo { 00325 public string jobId; 00335 public Dictionary resourceUsage; 00342 public boolean hasExited; 00350 public long exitStatus; 00361 public boolean hasSignaled; 00368 public string terminatingSignal; 00374 public boolean hasCoreDump; 00380 public boolean wasAborted; 00381 }; 00382 00394 valuetype JobTemplate{ 00406 const string HOME_DIRECTORY = "_drmaa_hd_ph_"; 00418 const string WORKING_DIRECTORY = "_drmaa_wd_ph_"; 00430 const string PARAMETRIC_INDEX = "_drmaa_incr_ph_"; 00440 public string remoteCommand; 00448 public OrderedStringList args; 00455 public JobSubmissionState jobSubmissionState; 00466 public Dictionary jobEnvironment; 00483 public string workingDirectory; 00500 public string jobCategory; 00509 public string nativeSpecification; 00513 public StringList email; 00521 public boolean blockEmail; 00522 /* public PartialTimestamp startTime;*/ 00529 public string jobName; 00535 public string inputPath; 00544 public string outputPath; 00549 public string errorPath; 00555 public boolean joinFiles; 00568 public FileTransferMode transferFiles; 00569 /* public PartialTimestamp deadlineTime; */ 00575 public TimeAmount hardWallClockTimeLimit; 00584 public TimeAmount softWallClockTimeLimit; 00593 public TimeAmount hardRunDurationLimit; 00604 00610 00623 00629 00635 00640 00645 00682 00707 00732 00761 00797 00851 00904 00948 00988 01049 01058 01065 01071 01077