Módosítások

Debrecen2 GPU klaszter en

49 bájt törölve, 2021. június 24., 12:38
nincs szerkesztési összefoglaló
It is possible to run applications on supercomputers in batch mode. This means that for each run, a job script must be created that includes a description of the resources required and the commands required to run. Scheduler parameters (resource requirements) must be specified with the <code>#SBATCH</code> directive.
==== Kötelező paraméterek Mandatory parameters ====A következő paramétereket minden esetben meg kell adniThe following parameters must be specified in each case:
<pre>
#!/bin/bash
#SBATCH --time=TIME
</pre>
ahol az where <code>ACCOUNT</code> a terhelendő számla neve is the name of the account to be charged (elérhető számláinkről az <code>your available accounts are indicated by the sbalance</code> parancs ad felvilágosítástcommand), a <code>NAME</code> a is the short name of the job rövid neve, a and <code>TIME</code> pedig a maximális walltime idő is the maximum wall clock time (<code>DD-HH:MM:SS</code>). A következő időformátumok használhatók: "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hoursThe following time formats can be used:minutes" és "days-hours:minutes:seconds".
"minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds". ==== GPU-k lefoglalása Reservation of GPUs ====A GPU-k lefoglalása a következő direktívával törénikGPUs are reserved using the following directive:
<pre>
#SBATCH --gres=gpu:N
</pre>
Az <code>N</code> a GPU-kspecifies the number of GPUs /node számát adja meg, ami which can be 1, 2 és , and a maximum of 3 lehet maximum.
==== Interaktív használat Interactive use ====Rövid interaktív feladatokat az You can submit short interactive jobs with the 'srun' paranccsal tudunk beküldenicommand, ple.g.:
<pre>
srun -l -n 1 -t TIME --gres=gpu:1 -A ACCOUNT APP
</pre>
==== Batch job-ok indítása Submitting batch jobs ====A jobok feladását a következő parancs végziTo submit jobs use the following command:
<pre>
sbatch slurm.sh
</pre>
Sikeres feladás esetén a következő kimenetet kapjukOn successful submission you get the following output:
<pre>
Submitted batch job JOBID

Navigációs menü