http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&feed=atom&action=history
Simple job with data manipulation - Revision history
2024-03-29T12:51:59Z
Revision history for this page on the wiki
MediaWiki 1.15.4
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6174&oldid=prev
Ngrkic at 18:55, 27 May 2012
2012-05-27T18:55:08Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:55, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>This is <del class="diffchange diffchange-inline">simple single </del>job submitting example with data management. In this case, WN will download source code and executing script from SE and after successful ending of job, result will be uploaded on SE. </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>This is <ins class="diffchange diffchange-inline">advanced </ins>job submitting example with data management. In this case, WN will download source code and executing script from SE and after successful ending of job, result will be uploaded on SE. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6173&oldid=prev
Ngrkic at 18:23, 27 May 2012
2012-05-27T18:23:18Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:23, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 69:</td>
<td colspan="2" class="diff-lineno">Line 69:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ voms-proxy-init -voms aegis</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ voms-proxy-init -voms aegis</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>7. Submiting <del class="diffchange diffchange-inline">hello </del>job: </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>7. Submiting <ins class="diffchange diffchange-inline">adv </ins>job: </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ glite-wms-job-submit -a <del class="diffchange diffchange-inline">hello</del>.jdl</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ glite-wms-job-submit -a <ins class="diffchange diffchange-inline">adv</ins>.jdl</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>8. Requesting Job status: </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>8. Requesting Job status: </div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6172&oldid=prev
Ngrkic at 18:19, 27 May 2012
2012-05-27T18:19:26Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:19, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 93:</td>
<td colspan="2" class="diff-lineno">Line 93:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>9. Download output file from SE</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>9. Download output file from SE</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ lcg-cp lfn:/grid/aegis/nikola/hello.SE/<del class="diffchange diffchange-inline">std</del>.<del class="diffchange diffchange-inline">out </del>file:/home/ngrkic/jobovi/hello.SE/<del class="diffchange diffchange-inline">std</del>.<del class="diffchange diffchange-inline">out</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ lcg-cp lfn:/grid/aegis/nikola/hello.SE/<ins class="diffchange diffchange-inline">output</ins>.<ins class="diffchange diffchange-inline">tgz </ins>file:/home/ngrkic/jobovi/hello.SE/<ins class="diffchange diffchange-inline">output</ins>.<ins class="diffchange diffchange-inline">tgz</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>10. <del class="diffchange diffchange-inline">Cat std</del>.<del class="diffchange diffchange-inline">out</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>10. <ins class="diffchange diffchange-inline">Extract arhive</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> tar xvzf output</ins>.<ins class="diffchange diffchange-inline">tgz</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">10. Cat output</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> hello world!!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> hello world!!</div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6171&oldid=prev
Ngrkic at 18:18, 27 May 2012
2012-05-27T18:18:20Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:18, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">3</del>. Make a adv.jdl file with next content</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">4</ins>. Make a adv.jdl file with next content</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Executable = "run.sh";</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Executable = "run.sh";</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 41:</td>
<td colspan="2" class="diff-lineno">Line 41:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Requirements = RegExp("ce64.ipb.ac.rs*",other.GlueCEUniqueID);</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Requirements = RegExp("ce64.ipb.ac.rs*",other.GlueCEUniqueID);</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">4</del>. Make a run.sh file with following content</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">5</ins>. Make a run.sh file with following content</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> #Downloading source code from SE</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> #Downloading source code from SE</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 65:</td>
<td colspan="2" class="diff-lineno">Line 65:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">5</del>. Creating VOMS proxy: </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">6</ins>. Creating VOMS proxy: </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ voms-proxy-init -voms aegis</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ voms-proxy-init -voms aegis</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">6</del>. Submiting hello job: </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">7</ins>. Submiting hello job: </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ glite-wms-job-submit -a hello.jdl</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ glite-wms-job-submit -a hello.jdl</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">7</del>. Requesting Job status: </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">8</ins>. Requesting Job status: </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ glite-wms-job-status https://wms.ipb.ac.rs:9000/PhTXU-tuefu4iuvIotYG9g</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ glite-wms-job-status https://wms.ipb.ac.rs:9000/PhTXU-tuefu4iuvIotYG9g</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 91:</td>
<td colspan="2" class="diff-lineno">Line 91:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> ==========================================================================</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> ==========================================================================</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">8</del>. Download output file from SE</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">9</ins>. Download output file from SE</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ lcg-cp lfn:/grid/aegis/nikola/hello.SE/std.out file:/home/ngrkic/jobovi/hello.SE/std.out</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ lcg-cp lfn:/grid/aegis/nikola/hello.SE/std.out file:/home/ngrkic/jobovi/hello.SE/std.out</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">9</del>. Cat std.out</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">10</ins>. Cat std.out</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> hello world!!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> hello world!!</div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6170&oldid=prev
Ngrkic at 18:17, 27 May 2012
2012-05-27T18:17:34Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:17, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Content of uploaded <del class="diffchange diffchange-inline">files</del>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Content of uploaded <ins class="diffchange diffchange-inline">file</ins>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''hello.c'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''hello.c'''</div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6169&oldid=prev
Ngrkic at 18:17, 27 May 2012
2012-05-27T18:17:22Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:17, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>(You can download src.tgz directly in your working folder with "wget http://wiki.ipb.ac.rs/images/7/79/Src.tgz")</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>(You can download src.tgz directly in your working folder with "wget <ins class="diffchange diffchange-inline"><nowiki></ins>http://wiki.ipb.ac.rs/images/7/79/Src.tgz<ins class="diffchange diffchange-inline"></nowiki></ins>")</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6168&oldid=prev
Ngrkic at 18:16, 27 May 2012
2012-05-27T18:16:26Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:16, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>(You can download src directly in your working folder with "wget http://wiki.ipb.ac.rs/images/7/79/Src.tgz")</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>(You can download src<ins class="diffchange diffchange-inline">.tgz </ins>directly in your working folder with "wget http://wiki.ipb.ac.rs/images/7/79/Src.tgz")</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6167&oldid=prev
Ngrkic at 18:16, 27 May 2012
2012-05-27T18:16:07Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:16, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>This is simple single job submitting example with data management. In this case, WN will download source code and executing script from SE and after successful ending of job, result will be uploaded on SE. </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>This is simple single job submitting example with data management. In this case, WN will download source code and executing script from SE and after successful ending of job, result will be uploaded on SE. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[http://wiki.ipb.ac.rs/images/7/79/Src.tgz src.tgz]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">(You can download src directly in your working folder with "wget http://wiki.ipb.ac.rs/images/7/79/Src.tgz")</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6166&oldid=prev
Ngrkic at 17:56, 27 May 2012
2012-05-27T17:56:41Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:56, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 15:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">1. Make a folder "adv"</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> [ngrkic@ui jobovi]$ mkdir adv</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">1</del>. <del class="diffchange diffchange-inline">Extract files</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">2</ins>. <ins class="diffchange diffchange-inline">Enter adv folder</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> [ngrkic@ui jobovi]$ <del class="diffchange diffchange-inline">tar xvzf hello.SE.tgz</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> [ngrkic@ui jobovi]$ <ins class="diffchange diffchange-inline">cd adv</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">2</del>. <del class="diffchange diffchange-inline">Enter directory hello.SE</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">3</ins>. <ins class="diffchange diffchange-inline">Extract arhive</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> [ngrkic@ui <del class="diffchange diffchange-inline">jobovi</del>]$ <del class="diffchange diffchange-inline">cd hello</del>.<del class="diffchange diffchange-inline">SE</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> [ngrkic@ui <ins class="diffchange diffchange-inline">adv</ins>]$ <ins class="diffchange diffchange-inline">tar xvzf src</ins>.<ins class="diffchange diffchange-inline">tgz</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">3. List directory</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> [ngrkic@ui hello</del>.<del class="diffchange diffchange-inline">SE]$ ll hello</del>.<del class="diffchange diffchange-inline">SE</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">3</ins>. <ins class="diffchange diffchange-inline">Make a adv</ins>.<ins class="diffchange diffchange-inline">jdl file with next content</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">4. See content of files</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> [ngrkic@ui hello.SE]$ cat hello.jdl </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Executable = "run.sh";</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Executable = "run.sh";</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Arguments = "";</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Arguments = "";</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 40:</td>
<td colspan="2" class="diff-lineno">Line 38:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Requirements = RegExp("ce64.ipb.ac.rs*",other.GlueCEUniqueID);</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> Requirements = RegExp("ce64.ipb.ac.rs*",other.GlueCEUniqueID);</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> [ngrkic@ui hello</del>.<del class="diffchange diffchange-inline">SE]$ cat </del>run.sh </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">4</ins>. <ins class="diffchange diffchange-inline">Make a </ins>run.sh <ins class="diffchange diffchange-inline">file with following content</ins></div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> #Downloading source code from SE</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> #Downloading source code from SE</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> lcg-cp lfn:/grid/aegis/power/src.tgz 'src.tgz'</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> lcg-cp lfn:/grid/aegis/power/src.tgz 'src.tgz'</div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic
http://wiki.ipb.ac.rs/index.php?title=Simple_job_with_data_manipulation&diff=6165&oldid=prev
Ngrkic at 17:45, 27 May 2012
2012-05-27T17:45:51Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:45, 27 May 2012</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 41:</td>
<td colspan="2" class="diff-lineno">Line 41:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ cat run.sh </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> [ngrkic@ui hello.SE]$ cat run.sh </div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> #Downloading source for SE</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> lcg-cp lfn:/grid/aegis/nikola/hello.SE/hello.c 'hello.c'</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> #Downloading <del class="diffchange diffchange-inline">script that compiles </del>source code <del class="diffchange diffchange-inline">and execute program</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> #Downloading source code <ins class="diffchange diffchange-inline">from SE</ins></div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> lcg-cp lfn:/grid/aegis/<del class="diffchange diffchange-inline">nikola/hello.SE</del>/<del class="diffchange diffchange-inline">hello</del>.<del class="diffchange diffchange-inline">sh </del>'<del class="diffchange diffchange-inline">hello</del>.<del class="diffchange diffchange-inline">sh</del>'</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> lcg-cp lfn:/grid/aegis/<ins class="diffchange diffchange-inline">power</ins>/<ins class="diffchange diffchange-inline">src</ins>.<ins class="diffchange diffchange-inline">tgz </ins>'<ins class="diffchange diffchange-inline">src</ins>.<ins class="diffchange diffchange-inline">tgz</ins>'</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> #<del class="diffchange diffchange-inline">runing compile & execute script</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> #<ins class="diffchange diffchange-inline">Extract code </ins></div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> <del class="diffchange diffchange-inline">chmod +x </del>hello.<del class="diffchange diffchange-inline">sh</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> <ins class="diffchange diffchange-inline">tar xvzf src.tgz</ins></div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> ./hello.<del class="diffchange diffchange-inline">sh</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> #Compile C file</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> gcc </ins>hello.<ins class="diffchange diffchange-inline">c -o hello</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> #Execute hello program</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> ./hello <ins class="diffchange diffchange-inline">>> output</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> #Make tgz arhive of output </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> tar cvzf output</ins>.<ins class="diffchange diffchange-inline">tgz output</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> #Uploads output to SE</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> #Uploads output to SE</div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> lcg-cr -l lfn:/grid/aegis/nikola/hello.SE/<del class="diffchange diffchange-inline">std</del>.<del class="diffchange diffchange-inline">out </del>file:`pwd`/<del class="diffchange diffchange-inline">std</del>.<del class="diffchange diffchange-inline">out</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> lcg-cr -l lfn:/grid/aegis/nikola/hello.SE/<ins class="diffchange diffchange-inline">output</ins>.<ins class="diffchange diffchange-inline">tgz </ins>file:`pwd`/<ins class="diffchange diffchange-inline">output</ins>.<ins class="diffchange diffchange-inline">tgz</ins></div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> lcg-cr -l lfn:/grid/aegis/nikola/hello.SE/std.err file:`pwd`/std.err </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> lcg-cr -l lfn:/grid/aegis/nikola/hello.SE/std.err file:`pwd`/std.err</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>5. Creating VOMS proxy: </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>5. Creating VOMS proxy: </div></td></tr>
<!-- diff generator: internal 2024-03-29 12:51:59 -->
</table>
Ngrkic