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/10/02 16:56] popel [Advanced usage] |
grid [2017/10/02 17:08] popel |
||
---|---|---|---|
Line 237: | Line 237: | ||
=== Array jobs === | === Array jobs === | ||
- | If you have a set of tasks (of the same type) and want to run them on multiple machines, use '' | + | If you have a set of tasks (of the same type) and want to run them on multiple machines, use '' |
- | TODO | + | * '' |
+ | * environmental variable '' | ||
+ | * output and error files '' | ||
+ | * '' | ||
+ | * environmental variables '' | ||
+ | * '' | ||
+ | * '' | ||
- | ===== Monitorování úloh ===== | + | ===== Job monitoring |
* '' | * '' | ||
Line 258: | Line 264: | ||
* [[https:// | * [[https:// | ||
- | ===== Časté a záludné problémy ===== | + | === Other === |
- | + | * You can use environment variables | |
- | + | * One job can submit other jobs (but be careful with recursive: | |
- | ==== Submitnutý job může znovu submitovat ==== | + | |
- | + | ||
- | Danovy starší zkušenosti s clusterem PBS (nikoli SGE) říkaly, že tohle nejde. Ale jde to, aspoň u nás. Příkazy | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Proměnné prostředí, | + | |
- | + | ||
- | SGE spouští skripty v čistém prostředí. Nebuďte proto překvapeni, | + | |
- | + | ||
- | Zatím nevím přesně, které ze souborů '' | + | |
- | + | ||
- | Z toho například také vyplývá, že bez ošetření se jako **Java** používá | + | |
- | + | ||
- | java version " | + | |
- | | + | |
- | + | ||
- | Pokud chcete submittovaný program pouštět ve svém oblíbeném prostředí (např. nastavení | + | |
- | + | ||
- | ==== bashrc a podobné nesmí nic vypisovat na konzoli ==== | + | |
- | + | ||
- | Opsáno z [[http:// | + | |
- | + | ||
- | It is important, that the files that are sourced during a login such as .bash_profile .profile .bashrc .login .cshrc don't produce any output when a non-interactive login is done. If they do, changes are that your job will run, but that the batch system is unable to deliver to you the standard output and error files. In that case the status of your job will be ' | + | |
< | < | ||
unset INTERACTIVE | unset INTERACTIVE | ||
Line 295: | Line 277: | ||
fi | fi | ||
</ | </ | ||
- | + | TODO: Is this restriction still true (for our cluster)? E.g. .bash_profile with / | |
- | ==== Jak zjistit, jaké zdroje jsem pro svou úlohu požadoval ==== | + | |
- | + | ||
- | < | + | |
- | hard resource_list: mem_free=50g | + | |
- | hard resource_list: | + | |
- | hard resource_list: | + | |
- | hard resource_list: | + | |
- | hard resource_list: | + | |
- | hard resource_list: | + | |