Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

C-Style Binding 
CPP-Style BindingIFL calls
void 
drmaa2_jsession_free(drmaa2_jsession * js)
delete jobSession;

void 
drmaa2_rsession_free(drmaa2_rsession * rs)
delete reservationSession;

void 
drmaa2_j_free(drmaa2_j * j)
delete job;

void 
drmaa2_jarray_free(drmaa2_jarray * ja)
delete jobArray;

void 
drmaa2_r_free(drmaa2_r * r)
delete reservation;

drmaa2_string 
drmaa2_rsession_get_contact(const drmaa2_rsession rs);
reservationSession.getContact()

drmaa2_string 
drmaa2_rsession_get_session_name(const drmaa2_rsession rs);
reservationSession.getSessionName()

drmaa2_r 
drmaa2_rsession_get_reservation
reservationSession.getReservation()
pbs_statresv
drmaa2_r drmaa2_rsession_request_reservation
reservationSession.requestReservation                     (const drmaa2_rsession rs, 
const drmaa2_string reservationId);
reservationSession.getReservation()
pbs_
submit_resv
statresv
drmaa2_r_list 
drmaa2_rsession_getrequest_reservationsreservationSession.getReservationsreservation
(const drmaa2_rsession rs,
const drmaa2_rtemplate rt);
reservationSession.requestReservation()
pbs_submit_resv
drmaa2_r_list 
drmaa2_rsession_get_reservations
(const drmaa2_rsession rs);
reservationSession.getReservations()
pbs_statresv
drmaa2_string 
drmaa2_r_get_id (const drmaa2_r r);
reservation.getId()

drmaa2_string 
drmaa2_r_get_session_name (const drmaa2_r r);
reservation.getId()

drmaa2_rtemplate 
drmaa2_r_get_reservation_template(const drmaa2_r r);
reservation.getReservationTemplate()

drmaa2_rinfo 
drmaa2_r_get_info(const drmaa2_r r);
reservation.getReservationInfo()
pbs_statresv
drmaa2_error 
drmaa2_r_terminate(drmaa2_r r);
reservation.terminate()
pbs_delresv
drmaa2_string 
drmaa2_jarray_get_id(const drmaa2_jarray ja);
jobArray.getId()

drmaa2_j_list 
drmaa2_jarray_get_jobs(const drmaa2_jarray ja);
jobArray.getJobs()
pbs_selectjob
drmaa2_string 
drmaa2_jarray_get_session_name(const drmaa2_jarray ja);
jobArray.getSessionName()

drmaa2_jtemplate 
drmaa2_jarray_get_job_template(const drmaa2_jarray ja);
jobArray.getJobTemplete()

drmaa2_error 
drmaa2_jarray_suspend(drmaa2_jarray ja);
jobArray.suspend()
pbs_sigjob
drmaa2_error 
drmaa2_jarray_resume(drmaa2_jarray ja);
jobArray.resume()
pbs_sigjob
drmaa2_error 
drmaa2_jarray_hold(drmaa2_jarray ja);
jobArray.hold()
pbs_holdjob
drmaa2_error 
drmaa2_jarray_release(drmaa2_jarray ja);
jobArray.release()
pbs_rlsjob
drmaa2_error 
drmaa2_jarray_terminate(drmaa2_jarray ja);
jobArray.terminate()
pbs_deljob
drmaa2_string 
drmaa2_jsession_get_contact(const drmaa2_jsession js);
jobSession.getContact()

drmaa2_string 
drmaa2_jsession_get_session_name(const drmaa2_jsession js);
jobSession.getSessionName()

drmaa2_string_list 
drmaa2_jsession_get_job_categories(const drmaa2_jsession js);
jobSession.getJobCategeries()

drmaa2_j_list 
drmaa2_jsession_get_jobs
jobSession.getJobs()
pbs_selectjob
drmaa2_jarray drmaa2_jsession_get_job_array
jobSession.getJobArray                      (const drmaa2_jsession js,
const drmaa2_jinfo filter);
jobSession.getJobs()
pbs_selectjob
drmaa2_jjarray 
drmaa2_jsession_run_jobjobSession.runJobget_job_array
(const drmaa2_jsession js,
const drmaa2_string jobarrayId);
jobSession.getJobArray()
pbs_runjob
, pbs_asyrunjobselectjob
drmaa2_jarrayj 
drmaa2_jsession_run_bulk_jobs
jobSession.runBulkJobs
pbs_runjob
, pbs_asyrunjob
drmaa2_j drmaa2_jsession_wait_any_started
jobSession.waitAnyStarted
pbs_selectjob
drmaa2_j drmaa2_jsession_wait_any_terminated 
jobSession.waitAnyTerminated
pbs_selectjob
drmaa2_string drmaa2_j_get_id
job.getId()
drmaa2_string drmaa2_j_get_session_name
job.getSessionName
drmaa2_jtemplate drmaa2_j_get_jt
job.getJobTemplete()
drmaa2_error drmaa2_j_suspend
job.suspend()
pbs_sigjob
drmaa2_error drmaa2_j_resume
job.resume()
pbs_sigjob
drmaa2_error drmaa2_j_hold 
job.hold()
pbs_holdjob
drmaa2_error drmaa2_j_release
job.resume()
pbs_rlsjob
drmaa2_error drmaa2_j_terminate
job.terminate()
pbs_deljob
drmaa2_jstate drmaa2_j_get_state 
job.getState()
drmaa2_jinfo drmaa2_j_get_info
job.getInfo()
drmaa2_error drmaa2_j_wait_started
job.waitStarted()
pbs_selectjob
drmaa2_error drmaa2_j_wait_terminatedjob 
(const drmaa2_jsession js,
const drmaa2_jtemplate jt);
jobSession.runJob()
pbs_runjob
, pbs_asyrunjob
drmaa2_jarray
drmaa2_jsession_run_bulk_jobs
 (const drmaa2_jsession js,
const drmaa2_jtemplate jt,
unsigned long begin_index,
unsigned long end_index,
unsigned long step,
unsigned long max_parallel);
jobSession.runBulkJobs
pbs_runjob
, pbs_asyrunjob
drmaa2_j 
drmaa2_jsession_wait_any_started
(const drmaa2_jsession js,
const drmaa2_j_list l,
const time_t timeout);
jobSession.waitAnyStarted
pbs_selectjob
drmaa2_j 
drmaa2_jsession_wait_any_terminated
(const drmaa2_jsession js,
const drmaa2_j_list l,
const time_t timeout);
jobSession.waitAnyTerminated
pbs_selectjob
drmaa2_string 
drmaa2_j_get_id(const drmaa2_j j);
job.getId()

drmaa2_string 
drmaa2_j_get_session_name(const drmaa2_j j);
job.getSessionName

drmaa2_jtemplate 
drmaa2_j_get_jt(const drmaa2_j j);
job.getJobTemplete()

drmaa2_error 
drmaa2_j_suspend(drmaa2_j j);
job.suspend()
pbs_sigjob
drmaa2_error 
drmaa2_j_resume(drmaa2_j j);
job.resume()
pbs_sigjob
drmaa2_error 
drmaa2_j_hold (drmaa2_j j);
job.hold()
pbs_holdjob
drmaa2_error
 drmaa2_j_release(drmaa2_j j);
job.resume()
pbs_rlsjob
drmaa2_error 
drmaa2_j_terminate(drmaa2_j j);
job.terminate()
pbs_deljob
drmaa2_jstate 
drmaa2_j_get_state
(const drmaa2_j j,
 drmaa2_string * substate);
job.getState()

drmaa2_jinfo 
drmaa2_j_get_info(const drmaa2_j j);
job.getInfo()

drmaa2_error
drmaa2_j_wait_started
(const drmaa2_j j,
 const time_t timeout);
job.waitStarted()
pbs_selectjob
drmaa2_error 
drmaa2_j_wait_terminated
(const drmaa2_j j,
  const time_t timeout);
job.waitTerminated()
pbs_selectjob
drmaa2_r_list 
drmaa2_msession_get_all_reservations
(const drmaa2_msession ms);
monitoringSession.getAllReservations()
pbs_statresv
drmaa2_j_list 
drmaa2_msession_get_all_jobs_jobs
(const drmaa2_msession ms,
const drmaa2_jinfo filter);
monitoringSession.getAllJobs()
pbs_selectjob
drmaa2_queueinfo_list 
drmaa2_msession_get_all_queues
(const drmaa2_msession ms,
const drmaa2_string_list names);
monitoringSession.getAllQueues
pbs_statque
drmaa2_machineinfo_list 
drmaa2_msession_get_all_machines
(const drmaa2_msession ms,
const drmaa2_string_list names);

 

monitoringSession.getAllMachines()
pbs_statnode
, pbs_stathost
,pbs_statvnode


drmaa2_string 
drmaa2_get_drms_name()
sessionManager.getDrmsName()

drmaa2_version 
drmaa2_get_drms_version()
sessionManager.getDrmsVersion()

drmaa2_string 
drmaa2_get_drmaa_name()
sessionManager.getDrmaaName()

drmaa2_version 
drmaa2_get_drmaa_version()
sessionManager.getDrmaaName()

drmaa2_bool drmaa2
 drmaa2_supports()
sessionManager.supports()

drmaa2_jsession 
drmaa2_create_jsession (const char * session_name, const char * contact);
sessionManager.createJobSession()

drmaa2_rsession drmaa2
 drmaa2_create_rsession(const char * session_name, const char * contact);
sessionManager.createReservationSession()

drmaa2_jsession drmaa2
 drmaa2_open_jsession (const char * session_name);
sessionManager.openJobSession()

drmaa2_rsession 
drmaa2_open_rsession (const char * session_name);
sessionManager.openReservationSession()

drmaa2_msession 
drmaa2_open_msession (const char * session_name);
sessionManager.openMonitoringSession

drmaa2_error 
drmaa2_close_jsession (drmaa2_jsession js);
sessionManager.closeJobSession()

drmaa2_error 
drmaa2_close_rsession  (drmaa2_rsession rs);
sessionManager.closeReservationSession()

drmaa2_error 
drmaa2_close_msession (drmaa2_msession ms);
sessionManager.closeMonitoringSession()

drmaa2_error 
drmaa2_destroy_jsession (const char * session_name);
sessionManager.destroyJobSession()

drmaa2_error 
drmaa2_destroy_rsession (const char * session_name);
sessionManager.closeReservationSession()

drmaa2_string_list 
drmaa2_get_jsession_names()
sessionManager.getJobSessionNames()

drmaa2_string_list 
drmaa2_get_rsession_names ()
sessionManager.getReservationSessionNames()

drmaa2_error 
drmaa2_register_event_notification (const drmaa2_callback callback);
sessionManager.registerEventNotification()

...