Differences
This shows you the differences between two versions of the page.
doku:miscellaneous [2014/05/28 11:35] – created ir | doku:miscellaneous [2021/05/13 17:49] (current) – removed goldenberg | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Miscellaneous ====== | ||
- | |||
- | |||
- | ==== submitting a job from standard in (stdin) ==== | ||
- | |||
- | < | ||
- | echo "sleep 10" | qsub -N test | ||
- | </ | ||
- | |||
- | ==== Redirecting output of jobs ==== | ||
- | |||
- | === Within Grid Engine === | ||
- | If nothing else is specified the output of GridEngine Jobs is written to four files: | ||
- | |||
- | * < | ||
- | * < | ||
- | * < | ||
- | * < | ||
- | |||
- | |||
- | This behaviour can be modified in the following way: | ||
- | |||
- | * '#$ -j y' joins STDOUT and STDERR, i.e. there will be a ' | ||
- | * '#$ -o / | ||
- | * '#$ -e / | ||
- | * combination of ' | ||
- | |||
- | |||
- | When using the ' | ||
- | variables can not be used as in a bash environment, | ||
- | |||
- | * $HOME home directory on execution machine | ||
- | * $USER user ID of job owner | ||
- | * $JOB_ID | ||
- | * $JOB_NAME | ||
- | * $HOSTNAME | ||
- | * $TASK_ID | ||
- | |||
- | |||
- | For further details see 'man qsub' on the login nodes of VSC. | ||
- | |||
- | |||
- | === Ordinary shell redirection === | ||
- | |||
- | Since the job is executed in an shell environment, | ||
- | |||
- | < | ||
- | echo hello > /path/file | ||
- | </ | ||
- | |||
- | ==== Overcommitting memory of the compute nodes on VSC-2 ==== | ||
- | |||
- | By default only 32 GB of (the physically available) memory can be allocated by applications | ||
- | have to allocate larger amounts of memory than the physical limit (but although allocated, it is never used). For such cases a kernel parameter of the | ||
- | compute nodes can be changed in order to allow for overcommittment of the memory: | ||
- | |||
- | |||
- | < | ||
- | #$ -N test | ||
- | #$ -pe mpich 32 | ||
- | #$ -l overcommit_mem=true | ||
- | </ | ||