This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guide:induction1 [2020/03/27 09:47] kevin |
guide:induction1 [2020/04/16 19:22] kevin [Connecting to Lengau] |
||
---|---|---|---|
Line 14: | Line 14: | ||
</code> | </code> | ||
where you will need to replace ''username'' with //your// user name, of course. | where you will need to replace ''username'' with //your// user name, of course. | ||
+ | |||
+ | > If you do not have an account on Lengau as part of a CHPC research programme then you will be provided with a temporary ''student''NN account valid for the duration of the workshop only. | ||
For more information on **ssh** see the //[[guide:connect|Connecting to the CHPC]]// guide. | For more information on **ssh** see the //[[guide:connect|Connecting to the CHPC]]// guide. | ||
Line 67: | Line 69: | ||
The practical portion of this short course uses a {{:guide:worksheet.pdf|worksheet}}. This includes spaces for you to fill in notes and answer questions. | The practical portion of this short course uses a {{:guide:worksheet.pdf|worksheet}}. This includes spaces for you to fill in notes and answer questions. | ||
- | =====Job Script===== | + | =====Interactive Job===== |
+ | |||
+ | The login nodes are not for any substantive computation, including compiling. Instead, request an //interactive job// through the PBSPro scheduler: | ||
+ | |||
+ | <code> | ||
+ | qsub -I | ||
+ | </code> | ||
+ | |||
+ | You will then see (after a short delay) a display similar to: | ||
+ | |||
+ | <code> | ||
+ | login2:~$ qsub -I -q serial -l select=1:ncpus=12:mpiprocs=12 -P WCHPC | ||
+ | qsub: waiting for job 2665052.sched01 to start | ||
+ | qsub: job 2665052.sched01 ready | ||
+ | |||
+ | cnode0040:~$ | ||
+ | </code> | ||
+ | Note that you are now connected to a //compute node// as indicated by the prompt: you are on ''cnode0004'' and all commands you run will execute on this compute node and **not** on the ''login2'' node. | ||
+ | |||
+ | |||
+ | =====First Job Script===== | ||
<code bash> | <code bash> |