Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:vsc1quickstart [2014/08/22 09:27] – jz | doku:vsc1quickstart [2014/10/31 11:03] – [Quick Start] ir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | PNG | + | ===== Quick Start ===== |
- | + | ||
+ | [[doku: | ||
+ | ==== Login ==== | ||
+ | |||
+ | - Log in to your university' | ||
+ | ssh < | ||
+ | |||
+ | # TU Wien | ||
+ | ssh < | ||
+ | |||
+ | # Boku Wien | ||
+ | ssh < | ||
+ | </ | ||
+ | - Transfer your programs and data/input files to your home directory. | ||
+ | </ | ||
+ | - (Re-)Compile your application. Please use the latest " | ||
+ | |||
+ | ==== The job script ==== | ||
+ | === header === | ||
+ | < | ||
+ | #$ -pe mpich < | ||
+ | #$ -V | ||
+ | #$ -l h_rt=hh: | ||
+ | #$ -M <email address to notify of job events> | ||
+ | #$ -m beas # all job events sent via email </ | ||
+ | - "< | ||
+ | - "< | ||
+ | - " | ||
+ | - " | ||
+ | - "-M <email address>; | ||
+ | |||
+ | === run executable === | ||
+ | The job can be started in several ways, | ||
+ | - as single core job on one core (no MPI) task < | ||
+ | - as parallel single core job (no MPI) on parallel cores (see also [[doku: | ||
+ | - as MPI-enabled application < | ||
+ | mpirun | ||
+ | Please note that the particular options to mpirun depend on the MPI version that you use. Current IntelMPI versions, for example, require the option '' | ||
+ | Please always check for the correct options with< | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== example ==== | ||
+ | Here is an example job-script, requesting 32 processor cores, which will run for a maximum of 3 hours and sends emails at the beginning and at the end of the job: < | ||
+ | #$ -N hitchhiker | ||
+ | #$ -pe mpich 32 | ||
+ | #$ -V | ||
+ | #$ -M my.name@example.at | ||
+ | #$ -m be | ||
+ | #$ -l h_rt=03: | ||
+ | |||
+ | mpirun -machinefile $TMPDIR/ | ||
+ | |||
+ | |||
+ | |||
+ | ====Submit your job:==== | ||
+ | - < | ||
+ | - Check if and where your job has been scheduled: | ||
+ | - Inspect the job output. Assuming your job was assigned the id " | ||
+ | hitchhiker.o42 | ||
+ | hitchhiker.e42 | ||
+ | hitchhiker.po42 | ||
+ | hitchhiker.pe42</ | ||
+ | - Delete Jobs: < | ||
+ | - View all jobs in the queue: < | ||
+ | |||
+ | For advanced topics see also [[doku: | ||