Changes between Version 10 and Version 11 of CondorBoinc


Ignore:
Timestamp:
Nov 30, 2012, 2:10:47 PM (12 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CondorBoinc

    v10 v11  
    9393{{{
    9494submit_jobs()
    95    inputs:
    96       batch_name (unique within project)
    97       app_name
    98       jobs
    99          job name
    100          cmdline
    101          for each input file
    102              path on submit node
    103              name by which app will open file
    104          bool return_all_output_files (or regular expression)
    105          if the above not set
    106              for each output file
    107                 open name (what the app will create)
    108                 final name (e.g. may have process appended)
    109          directory where output file(s) go
    110    output:
    111       error code
     95    inputs:
     96        batch_name (unique within project)
     97        app_name
     98        jobs
     99            job name
     100            cmdline
     101            for each input file
     102                path on submit node
     103                name by which app will open file
     104                     (currently, this will always be filename part of path)
     105            bool return_all_output_files (or regular expression)
     106            if this is not set
     107                for each output file
     108                    open name (what the app will create)
     109    output:
     110        error code
    112111}}}
    113112
     
    117116 * Eliminate duplicates in file list
    118117 * Compute MD5s of files
    119  * BOINC physical name of each file is condorb_(md5)
    120118 * Do query_files() RPC to see which files are already on BOINC server
    121119 * Do upload_files() RPC to copy needed files to BOINC server
     
    131129
    132130{{{
    133 query_job
    134    in: job name
    135    out: status
    136       list of URLs of output files
     131retrieve_job_outputs
     132    in:
     133        job name
     134        destination directory for output files
     135        bool return_all_output_files (or regular expression)
     136        if this is not set
     137            for each output file
     138                open name (what the app created)
     139                destination name
     140
     141    out: status
    137142}}}
    138143
    139144{{{
    140145abort_jobs
    141    in: list of job names
     146    in: list of job names
    142147}}}
    143148
    144149{{{
    145150set_lease
    146    in: batch name
    147       new lease end time
     151    in: batch name
     152        new lease end time
    148153}}}
    149154
     
    152157{{{
    153158query_files()
    154    in: list of physical file names
    155    out: list of those not present on server
     159    in: list of physical file names
     160    out: list of those not present on server
    156161}}}
    157162
    158163{{{
    159164upload_files()
    160    in: batch name
    161       filename
    162       file contents
    163    out: error code
     165    in: batch name
     166        filename
     167        file contents
     168    out: error code
    164169
    165170uploads files and creates DB records (see below)
     
    168173{{{
    169174submit_jobs()
    170    in: same as for GAHP, except include both logical and physical name
    171    out: error code
     175    in: same as for GAHP, except include both logical and physical name
     176    out: error code
    172177}}}
    173178
     
    198203
    199204The BOINC GAHP could be implemented in Python or C++.
    200 My inclination is to use Python; we can assume it's available on the submit node.
     205My inclination is to use C++.
     206