Módosítások

PRACE User Support

36 bájt törölve, 2013. november 7., 10:12
Kötelező paraméterek
Running applications in the HPC can be done in batch mode. This means all runs must have a job script containing the resources and commands needed. The parameters of the scheduler (resource definitions) can be given with the <code>#SBATCH</code> directive. Comparison of the schedulers, and the directives available at slurm are available at this [http://slurm.schedmd.com/rosetta.pdf table].
==== Kötelező paraméterek Obligatory parameters ====A következő paramétereket minden esetben meg kell adniThe following parameters are obligatory to provide:
<pre>
#!/bin/bash
#SBATCH --time=TIME
</pre>
ahol az <code>ACCOUNT</code> a terhelendő számla neve (elérhető számláinkről az <code>sbalance</code> parancs ad felvilágosítást), a <code>NAME</code> a job rövid neve, a <code>TIME</code> pedig a maximális walltime idő (<code>DD-HH:MM:SS</code>).
A jobok feladását a következő parancs végziwhere <code>ACCOUNT</code> is the name of the account to use (available accounts can be retrieved with the <code>sbalance</code> command), <code>NAME</code> is the short name of the job, <code>TIME</code> is the maximum walltime using <code>DD-HH:MM:SS</code> syntax. The following command submit jobs:
<code>
sbatch jobscript.sh
</code>
Sikeres feladás esetén a következő kimenetet kapjukIf the submission was successful, the following is outputted:
<pre>
Submitted batch job JOBID
</pre>
ahol a where <code>JOBID</code> a feladat egyedi azonosítószáma.is the unique id of the job
A feladat leállítását a következő parancs végziThe following commmand cancels the job:
<code>
scancel JOBID

Navigációs menü