Changes between Version 62 and Version 63 of RemoteJobs
- Timestamp:
- Mar 18, 2018, 11:24:44 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemoteJobs
v62 v63 3 3 = RPCs for remote job submission = 4 4 This document describes APIs for remotely submitting, monitoring, and controlling jobs on a BOINC server. 5 The APIs supports the submission of '''batches''' of jobs, which may contain a single job or many thousands of jobs. 5 The APIs supports the submission of '''batches''' of jobs, 6 which may contain a single job or many thousands of jobs. 6 7 7 8 At the bottom level, the interface consists of Web RPCs. … … 49 50 * '''input_template_filename''': an optional [wiki:JobTemplates input template file name]. 50 51 * '''output_template_filename''': an optional [wiki:JobTemplates output template file name]. 52 * '''job_params''': optional job parameters (include the ones you want to specify): 53 * '''rsc_disk_bound''': limit on disk usage in bytes 54 * '''rsc_fpops_est''': estimated computing in FLOPs 55 * '''rsc_fpops_bound''': upper bound on computing (abort if exceeded) 56 * '''rsc_memory_bound''': maximum memory usage 57 * '''delay_bound''': maximum turnaround time: if exceeded, create another instance of job. 51 58 * '''app_version_num''': if present, [JobPinning pins] the jobs to a particular app version number. 52 59 * '''jobs''': an array of job descriptors, each of which contains … … 278 285 {{{ 279 286 int submit_jobs( 280 const char* project_url, 281 const char* authenticator, 282 char app_name[256], 283 int batch_id, 284 vector<JOB> jobs, 285 string& error_msg 287 const char* project_url, 288 const char* authenticator, 289 char app_name[256], 290 int batch_id, 291 vector<JOB> jobs, 292 string& error_msg, 293 app_version_num = 0 294 ); 295 296 int submit_jobs2( 297 const char* project_url, 298 const char* authenticator, 299 char app_name[256], 300 int batch_id, 301 vector<JOB> jobs, 302 string& error_msg, 303 app_version_num, 304 JOB_PARAMS& 286 305 ); 287 306 288 307 struct JOB { 289 char job_name[256]; 290 string cmdline_args; 291 vector<INFILE> infiles; 308 char job_name[256]; 309 string cmdline_args; 310 vector<INFILE> infiles; 311 }; 312 313 struct JOB_PARAMS { 314 // 0 means unspecified for all params 315 double rsc_disk_bound; 316 double rsc_fpops_est; 317 double rsc_fpops_bound; 318 double rsc_memory_bound; 319 double delay_bound; 292 320 }; 293 321 … … 590 618 This example is functional and it shows how to use the API. 591 619 However, you will have to modify it for your particular applications and web site. 620