Changes between Version 10 and Version 11 of JobSubmission


Ignore:
Timestamp:
Sep 7, 2010, 1:14:14 PM (14 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JobSubmission

    v10 v11  
    55
    66 1. Write XML 'template files' that describe the job's input and outputs (typically the same template files can be used for many jobs).
    7  1. Create the job's input file(s), and put them in the right place (as determined by the file name) in the [DirHierarchy download directory hierarchy].
     7 1. Create and "stage" the job's input file(s) (see below).
    88 1. Invoke a BOINC function or script that submits the job.
    99
     
    2626    [ <nodelete/> ]
    2727    [ <report_on_rpc/> ]
     28    [ <url>...</url> ]
     29    [ <md5_cksum>...</md5_cksum> ]
     30    [ <nbytes>...</nbytes> ]
    2831</file_info>
    2932[ ... other files  ]
     
    5760  '''<nodelete/>''':: if present, the file is not deleted from the server after job is completed.
    5861  '''<report_on_rpc/>''':: if present, report file in each scheduler request (sticky files)
     62  '''<url>, <md5_cksum>, <nbytes>''':: used only for "non-local" input files (see below)
    5963
    6064 '''<file_ref>''':: describes [BoincFiles#Filereferences the way the file is referenced].
     
    7882   on a host with insufficient disk space.
    7983
    80 Note: The input template is copied into a BLOB column of the workunit table and will substitute filenames, and have download urls, signatures and other elements inserted into your provided template. The total expanded BLOB cannot exceed 65,535 bytes. As a general rule, you should plan to use less then 15 files in your input template. This will allow you some flexibility on making your job names longer, adding more options to your command line, or adding additional download servers as your project grows. If you require more then 15 application and input files, you can achieve this using [FileCompression BOINC file compression] to zip several files into a single file reference for download, and expanding them prior to running on the client machine. You can check to see how large your expanded input templates become by comparing 65,535 with the output the following MySQL statement:[[BR]]
     84Note: The input template is copied into a BLOB column of the workunit table and will substitute filenames,
     85and have download urls, signatures and other elements inserted into your provided template.
     86The total expanded BLOB cannot exceed 65,535 bytes.
     87As a general rule, you should plan to use less then 15 files in your input template.
     88This will allow you some flexibility on making your job names longer,
     89adding more options to your command line, or adding additional download servers as your project grows.
     90If you require more then 15 application and input files,
     91you can achieve this using [FileCompression BOINC file compression] to zip several files into a single file reference for download,
     92and expanding them prior to running on the client machine.
     93You can check to see how large your expanded input templates become
     94by comparing 65,535 with the output the following MySQL statement:[[BR]]
    8195{{{select max(length(xml_doc)) from workunit;}}}
    8296
     
    145159== Staging input files ==
    146160
    147 Before submitting a job, you must put its input files
     161Input files may be "local" (resident on the project server) or "non-local".
     162For local files, BOINC fills in the download URL, the file size,
     163and the MD5.
     164For non-local files, you must supply these yourself in the input template.
     165
     166=== Staging local input files ===
     167Before submitting a job, you must put its local input files
    148168into the proper place in the [ServerDirs download directory hierarchy].
    149169BOINC provides both a command-line tool and a function for this.