| 91 | | It prints the full pathname and creates the directory if needed. Run this in the project's root directory. For example: |
| 92 | | {{{ |
| 93 | | cp test_workunits/12ja04aa `bin/dir_hier_path 12ja04aa` |
| 94 | | }}} |
| 95 | | copies an input file from the test_workunits directory to the download directory hierarchy. |
| 96 | | |
| 97 | | The utility program is |
| 98 | | {{{ |
| 99 | | create_work |
| 100 | | -appname name // application name |
| 101 | | -wu_name name // workunit name |
| 102 | | -wu_template filename // WU template filename |
| 103 | | // relative to project root; usually in templates/ |
| 104 | | -result_template filename // result template filename |
| 105 | | // relative to project root; usually in templates/ |
| 106 | | [ -batch n ] |
| 107 | | [ -priority n ] |
| 108 | | |
| 109 | | // The following may be passed in the WU template, |
| 110 | | // or as command-line arguments to create_work, |
| 111 | | // or not passed at all (defaults will be used) |
| 112 | | |
| 113 | | [ -command_line "-flags foo" ] |
| 114 | | [ -rsc_fpops_est x ] |
| 115 | | [ -rsc_fpops_bound x ] |
| 116 | | [ -rsc_memory_bound x ] |
| 117 | | [ -rsc_disk_bound x ] |
| 118 | | [ -delay_bound x ] |
| 119 | | [ -min_quorum x ] |
| 120 | | [ -target_nresults x ] |
| 121 | | [ -max_error_results x ] |
| 122 | | [ -max_total_results x ] |
| 123 | | [ -max_success_results x ] |
| 124 | | [ -additional_xml 'x' ] |
| 125 | | |
| 126 | | infile_1 ... infile_m // input files |
| 127 | | }}} |
| | 83 | This prints the full pathname and creates the directory if needed. Run this in the project's root directory. For example: |
| | 84 | {{{ |
| | 85 | cp test_files/12ja04aa `bin/dir_hier_path 12ja04aa` |
| | 86 | }}} |
| | 87 | copies an input file from the test_files directory to the download directory hierarchy. |
| | 88 | |
| | 89 | To submit a job, run the program |
| | 90 | {{{ |
| | 91 | create_work [ arguments] infile_1 ... infile_n |
| | 92 | }}} |
| | 93 | Mandatory argumens are: |
| | 94 | -appname name:: |
| | 95 | application name |
| | 96 | -wu_name name:: |
| | 97 | workunit name |
| | 98 | -wu_template filename:: |
| | 99 | WU template filename relative to project root; usually in templates/ |
| | 100 | -result_template filename:: |
| | 101 | result template filename, relative to project root; usually in templates/ |
| | 102 | Optional arguments are: |
| | 103 | -batch n:: |
| | 104 | -priority n:: |
| | 105 | |
| | 106 | The following may be passed in the WU template, |
| | 107 | or as command-line arguments to create_work, |
| | 108 | or not passed at all (defaults will be used) |
| | 109 | |
| | 110 | -command_line "-flags foo":: |
| | 111 | -rsc_fpops_est x:: |
| | 112 | -rsc_fpops_bound x:: |
| | 113 | -rsc_memory_bound x:: |
| | 114 | -rsc_disk_bound x:: |
| | 115 | -delay_bound x:: |
| | 116 | -min_quorum x:: |
| | 117 | -target_nresults x:: |
| | 118 | -max_error_results x:: |
| | 119 | -max_total_results x:: |
| | 120 | -max_success_results x:: |
| | 121 | -additional_xml 'x':: |
| | 122 | |