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/06/08 10:27] vodrazka [Installation] |
||
---|---|---|---|
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] | + | | hydra[1-4] |
- | | hyperion[1-9] | + | |
- | | lucifer[1-10] | + | Machines from old cluster (do not use!): |
- | | orion[1-6] | + | |
- | | orion[7-10] | + | ^ Name ^ CPU type and flags ^ GHz ^cores ^RAM(GB)^ note ^ |
- | | tauri[1-10] | + | | fireball[1-10] |
- | | cosmos | + | | hyperion[1-9] |
- | | belzebub | + | | orion[1-6] |
- | | iridium | + | | orion[7-10] |
- | | twister[1, | + | | tauri[1-10] |
+ | | cosmos | ||
+ | | belzebub | ||
+ | | iridium | ||
+ | | twister[1, | ||
< | < | ||
Line 51: | Line 55: | ||
--> | --> | ||
</ | </ | ||
- | === 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, | + | | sol[1-10] |
- | | sol[1-5] | Intel | + | |
- | | sol[6-8] | + | |
- | 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: |