cluster:119
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cluster:119 [2013/09/25 12:39] – [matlab.sub] hmeij | cluster:119 [2021/06/17 19:32] (current) – hmeij07 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| \\ | \\ | ||
| **[[cluster: | **[[cluster: | ||
| + | |||
| + | ==== Submitting GPU Jobs ==== | ||
| Please plenty of time between multiple GPU job submissions. | Please plenty of time between multiple GPU job submissions. | ||
| - | Jobs need to be submitted to the scheduler | + | Jobs need to be submitted to the scheduler |
| - | --- // | + | |
| + | This page is old, the gpu resource '' | ||
| + | --- // | ||
| + | |||
| + | **Articles** | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| - | ==== Submitting GPU Jobs ==== | ||
| Line 46: | Line 54: | ||
| </ | </ | ||
| - | With '' | + | With '' |
| < | < | ||
| Line 60: | Line 68: | ||
| 3 Tesla K20m 21 C 0 % | 3 Tesla K20m 21 C 0 % | ||
| ==================================================== | ==================================================== | ||
| + | |||
| + | [hmeij@sharptail sharptail]$ ssh n33 gpu-free | ||
| + | 1,3,0 | ||
| + | |||
| + | |||
| </ | </ | ||
| Line 138: | Line 151: | ||
| / | / | ||
| / | / | ||
| - | # signal that this is charmrun/ | + | |
| ## leave sufficient time between job submissions (30-60 secs) | ## leave sufficient time between job submissions (30-60 secs) | ||
| Line 176: | Line 189: | ||
| # NAMD | # NAMD | ||
| - | # from greentail we need to recreate module env | + | # signal that this is charmrun/ |
| export CHARMRUN=1 | export CHARMRUN=1 | ||
| # stage the data | # stage the data | ||
| Line 434: | Line 447: | ||
| exit $? | exit $? | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ===== elim code ===== | ||
| + | |||
| + | < | ||
| + | |||
| + | # | ||
| + | |||
| + | while (1) { | ||
| + | |||
| + | $gpu = 0; | ||
| + | $log = ''; | ||
| + | if (-e "/ | ||
| + | $tmp = `/ | ||
| + | @tmp = split(/ | ||
| + | foreach $i (0..$#tmp) { | ||
| + | ($a, | ||
| + | if ( $f == 0 ) { $gpu = $gpu + 1; } | ||
| + | #print "$a $f $gpu\n"; | ||
| + | $log .= " | ||
| + | } | ||
| + | } | ||
| + | # nr_of_args name1 value1 | ||
| + | $string = "1 gpu $gpu"; | ||
| + | |||
| + | $h = `hostname`; chop($h); | ||
| + | $d = `date +%m/ | ||
| + | foreach $i (' | ||
| + | if ( " | ||
| + | `echo " | ||
| + | } | ||
| + | } | ||
| + | |||
| + | # you need the \n to flush -hmeij | ||
| + | # you also need the space before the line feed -hmeij | ||
| + | print " | ||
| + | # or use | ||
| + | # | ||
| + | |||
| + | # smaller than specified in lsf.shared | ||
| + | sleep 10; | ||
| + | |||
| + | } | ||
cluster/119.1380112754.txt.gz · Last modified: by hmeij
