Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
grid [2018/04/25 21:28] popel all flags in a comment |
grid [2018/07/06 11:40] lauschmannova [Advanced usage] there are now 10 different sols rather than 8 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ÚFAL Grid Engine (LRC) ====== | ====== ÚFAL Grid Engine (LRC) ====== | ||
- | LRC (Linguistic Research Cluster) is a name of ÚFAL' | + | LRC (Linguistic Research Cluster) is a name of ÚFAL' |
- | If you need GPU processing, see a special page about our [[:gpu|GPU cluster called DLL]] (which is actually a subsystem of LRC with an independent queue '' | + | If you need GPU processing, see a special page about our [[:gpu|GPU cluster called DLL]] (which is actually a subsystem of LRC with an independent queue '' |
TODO: describe alternatives, | TODO: describe alternatives, | ||
===== List of Machines ===== | ===== List of Machines ===== | ||
- | Last update: 2017/09. All machines have Ubuntu | + | Last update: 2017/06. All machines have Ubuntu |
Some machines are at Malá Strana (ground floor, new server room built from Lindat budget), some are at Troja (5 km north-east). | Some machines are at Malá Strana (ground floor, new server room built from Lindat budget), some are at Troja (5 km north-east). | ||
If you need to quickly distinguish which machine is located where, you can use your knowledge of [[https:// | If you need to quickly distinguish which machine is located where, you can use your knowledge of [[https:// | ||
- | ==== Troja (troja-all.q) ==== | + | ==== Troja (cpu-troja.q) ==== |
- | ^ Name ^ CPU type ^ GHz ^cores ^RAM(GB)^ note ^ | + | ^ Name ^ CPU type ^ GHz ^cores ^RAM(GB)^ note ^ |
- | | achilles[1-8] | + | | achilles[1-8] |
- | | hector[1-8] | + | | hector[1-8] |
- | | helena[1-8] | + | | helena[1-8] |
- | | paris[1-8] | + | | paris[1-8] |
- | ==== MS = Malá Strana (ms-all.q) ==== | + | ==== MS = Malá Strana (cpu-ms.q) ==== |
- | ^ Name ^ CPU type and flags | + | ^ Name ^ CPU type and flags ^ GHz ^cores ^RAM(GB)^ note ^ |
- | | andromeda[1-13] | + | | andromeda[1-13] |
- | | hydra[1-4] | + | | lucifer[1-10] |
- | | fireball[1-10] | Intel Xeon | + | | hydra[1-4] |
- | | hyperion[1-9] | + | | orion[1-8] | Intel(R) Xeon(R) CPU E5-2630 v4 | 2.2 | 39 | |
- | | lucifer[1-10] | + | | cosmos |
- | | orion[1-6] | + | | belzebub |
- | | orion[7-10] | + | | iridium |
- | | tauri[1-10] | + | |
- | | cosmos | + | Machines from old cluster (do not use!): |
- | | belzebub | + | |
- | | iridium | + | ^ Name ^ CPU type and flags ^ GHz ^cores ^RAM(GB)^ note ^ |
- | | twister[1, | + | | fireball[1-10] | Intel Xeon |
+ | | hyperion[1-9] | ||
+ | | tauri[1-10] | ||
+ | | twister[1, | ||
< | < | ||
Line 51: | Line 54: | ||
--> | --> | ||
</ | </ | ||
- | === Outside LRC cluster (but located as MS) === | + | === Submit hosts / test machines |
- | ^ Name ^ CPU type ^ GHz ^cores ^ RAM(GB)^ note ^ | + | ^ Name ^ CPU type ^ GHz ^cores ^ RAM(GB) ^ note ^ |
- | | lrc[1,2] | Intel | + | | sol[1-10] |
- | | sol[1-5] | + | | lrc[12] |
- | | sol[6-8] | Intel | + | |
- | The two **lrc machines** are so called heads of the cluster. **No computation is allowed here**, i.e. no CPU-intensive, | + | You can ssh to one of the **sol machines** and submit jobs from here. It is allowed to compute here, which is useful e.g. when you have a script which submits your jobs, but it also collects statistics from the jobs outputs (and possibly submits new jobs conditioned on the statistics). However, the sol machines are relatively slow and may be occupied by your colleagues, so for bigger (longer) tasks, always prefer submission as separate jobs. |
- | + | ||
- | Alternatively, | + | |
===== Installation ===== | ===== Installation ===== | ||
Line 65: | Line 65: | ||
Add the following line into your ' | Add the following line into your ' | ||
- | source /net/projects/SGE/user/sge_profile | + | source /opt/LRC/sge_profile |
+ | |||
+ | Or call one of these scripts directly: | ||
+ | |||
+ | | ||
+ | / | ||
- | This detects if you are on one of the cluster machines (including | + | This detects if you are on one of the cluster machines (including sol) and sets env variables accordingly. It also prints a status message. |
Usually, this is the first line of your ' | Usually, this is the first line of your ' | ||
Line 75: | Line 80: | ||
export LC_ALL=en_US.UTF-8 | export LC_ALL=en_US.UTF-8 | ||
+ | | ||
===== Basic usage ===== | ===== Basic usage ===== | ||
- | First, you need to ssh to the cluster head (lrc1 or lrc2) or to one of the sol machines. The full address is '' | + | First, you need to ssh to one of the submit hosts (sol[1-10]). The full address is (for example) |
In the following tutorial, we will prepare a wrapper shell script '' | In the following tutorial, we will prepare a wrapper shell script '' | ||
< | < | ||
- | ssh lrc1 | + | ssh sol1 |
echo ' | echo ' | ||
# prepare a shell script describing your task | # prepare a shell script describing your task | ||
qsub -cwd -j y script.sh Hello World | qsub -cwd -j y script.sh Hello World | ||
- | # This submits your job to the default queue, which is currently '' | + | # This submits your job to the default queue, which is currently '' |
# Usually, there is a free slot, so the job will be scheduled within few seconds. | # Usually, there is a free slot, so the job will be scheduled within few seconds. | ||
# We have used two handy qsub parameters: | # We have used two handy qsub parameters: | ||
Line 183: | Line 189: | ||
'' | '' | ||
Specify the emails where you want to be notified when the job has been **b** started, **e** ended, **a** aborted or rescheduled, | Specify the emails where you want to be notified when the job has been **b** started, **e** ended, **a** aborted or rescheduled, | ||
+ | The default is now '' | ||
'' | '' | ||
Line 255: | Line 262: | ||
and you execute it now simply with '' | and you execute it now simply with '' | ||
+ | |||
+ | === ~/ | ||
+ | |||
+ | You can change the defaults for any option by creating a personal configuration file '' | ||
=== Array jobs === | === Array jobs === | ||
Line 277: | Line 288: | ||
=== Ssh to random sol === | === Ssh to random sol === | ||
Ondřej Bojar suggests to add the following alias to your .bashrc (cf. [[# | Ondřej Bojar suggests to add the following alias to your .bashrc (cf. [[# | ||
- | < | + | < |
===== Job monitoring ===== | ===== Job monitoring ===== |