Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
grid [2017/09/27 21:16] popel [Advanced usage] |
grid [2017/09/29 18:20] popel [Advanced usage] |
||
---|---|---|---|
Line 191: | Line 191: | ||
You can change some properties of already submitted jobs, which are still waiting in the queue (// | You can change some properties of already submitted jobs, which are still waiting in the queue (// | ||
- | '' | + | '' |
Find out all the gory details which are missing here. You'll have to do it one day anyway:-). | Find out all the gory details which are missing here. You'll have to do it one day anyway:-). | ||
Line 200: | Line 200: | ||
=== qunhold === | === qunhold === | ||
'' | '' | ||
+ | |||
+ | === sshcwd === | ||
+ | This is useful not only when sshing to sol machines. Add the following lines to your '' | ||
+ | |||
+ | < | ||
+ | function sshcwd () { | ||
+ | # save the current history so that it is available | ||
+ | # immediately on the remote machine | ||
+ | history -a; | ||
+ | # setup the working directory by setting WD | ||
+ | ssh -X -Y -C -t $@ " | ||
+ | } | ||
+ | |||
+ | # use WD to setup the working directory | ||
+ | if [ -n " | ||
+ | echo " | ||
+ | cd $WD; | ||
+ | fi | ||
+ | |||
+ | alias sol1=" | ||
+ | </ | ||
=== In-script options === | === In-script options === |