Faq t2b: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ === List of the UIs / mX machines: === - m0 , m1 , m2 , m3 => 10 minutes of CPU time per process <br> - m5 , m6 , m7 , m8 , m9 => 5 hours of CPU time per process ==...")
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
=== List of the UIs / mX machines: ===
=== List of the UIs / mX machines: ===
- m0 , m1 , m2 , m3 => 10 minutes of CPU time per process <br>
- m0 , m1 , m2 , m3 => 10 minutes of CPU time per process <br>
- m5 , m6 , m7 , m8 , m9 => 5 hours of CPU time per process
- m5 , m6 , m7 , m8 , m9 => 5 hours of CPU time per process


=== Keep ssh connection to UI open: ===
=== Keep ssh connection to UI open: ===
Add option  ' '''-o ServerAliveInterval=100''' ' to your ssh command
Add option  ' '''-o ServerAliveInterval=100''' ' to your ssh command


=== Send a job to the local cluster: ===
=== Send a job to the local cluster: ===
qsub -q localgrid -o script.stdout -e script.stderr [-l walltime=<HH:MM:SS>] myscript.sh
qsub -q localgrid -o script.stdout -e script.stderr [-l walltime=<HH:MM:SS>] myscript.sh
=== Access internet '''faster''' from the UIs ===
Since our bandwidth with internet is limited and extremely expansive, you need to use the another one:
* For http/https traffic (uses the university traffic)
export http_proxy=http://qproxy.wn.iihe.ac.be:3128
export https_proxy=http://qproxy.wn.iihe.ac.be:3128
* For ssh traffic (example using CERN)
:: edit your '''.ssh/config''' file ===>
<pre>
host github.com
    ProxyCommand ssh MYUSERNAME@lxplus.cern.ch nc github.com 22
    User MYUSERNAME
</pre>

Revision as of 14:24, 22 November 2016


List of the UIs / mX machines:

- m0 , m1 , m2 , m3 => 10 minutes of CPU time per process
- m5 , m6 , m7 , m8 , m9 => 5 hours of CPU time per process


Keep ssh connection to UI open:

Add option ' -o ServerAliveInterval=100 ' to your ssh command


Send a job to the local cluster:

qsub -q localgrid -o script.stdout -e script.stderr [-l walltime=<HH:MM:SS>] myscript.sh


Access internet faster from the UIs

Since our bandwidth with internet is limited and extremely expansive, you need to use the another one:

  • For http/https traffic (uses the university traffic)
export http_proxy=http://qproxy.wn.iihe.ac.be:3128
export https_proxy=http://qproxy.wn.iihe.ac.be:3128
  • For ssh traffic (example using CERN)
edit your .ssh/config file ===>
host github.com
    ProxyCommand ssh MYUSERNAME@lxplus.cern.ch nc github.com 22
    User MYUSERNAME