IT wiki

VU MIF STSC

User Tools

Site Tools


en:hpc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:hpc [2022/07/04 14:10] grikieteen:hpc [2022/07/18 07:50] – [MPI programų kompiliavimas] grikiete
Line 175: Line 175:
 </code> </code>
  
-Įvykdę aukščiau pateiktą komandą prisijungsite prie SLURM paskirtos skaičiavimo mazgo aplinkos ir galėsite tiesiogiai vykdyti ir derinti programas jame.+The above command will connect you to the compute node environment assigned to SLURM and allow you to directly run and debug programs on it.
  
-Įvykdę komandas atsijunkite nuo skaičiavimo mazgo su komanda+After the commands are done disconnect from the compute node with the command
  
 <code> <code>
Line 183: Line 183:
 </code> </code>
  
-Jeigu norima vykdyti grafines programastai reikia jungtis su **ssh -X** į **uosis.mif.vu.lt** ir **hpc**:+If you want to run graphical programsyou need to connect to **ssh -X** to **uosis.mif.vu.lt** and **hpc**:
  
 <code> <code>
Line 191: Line 191:
 </code> </code>
  
-**power** telkinyje interaktyvias užduotis galima vykdyti su+In **power** cluster interactive tasks can be performed with
  
 <code> <code>
Line 197: Line 197:
 </code> </code>
  
-====== GPU užduotys (SLURM) ======+====== GPU Tasks (SLURM) ======
  
-Norint pasinaudoti GPU, reikia papildomai nurodyti <code>--gres gpu:N</code> kur - norimas GPU kiekis.+To use GPU you need to specify additionally <code>--gres gpu:N</code> where is desired GPU amount.
  
-Su ''nvidia-smi'' užduotyje galite pasitikrinti kiek GPU buvo paskirta.+With ''nvidia-smi'' in the task you can check the GPU amount that was dedicated.
  
-Pavyzdys interaktyvios užduoties su 1 GPU:+Example of an interactive task with 1 GPU:
 <code> <code>
 $ srun -p gpu --gres gpu --pty $SHELL $ srun -p gpu --gres gpu --pty $SHELL
 </code> </code>
  
-====== Įvadas į OpenMPI ======+====== Introduction to OpenMPI ======
  
-Ubuntu 18.04 LTS yra **2.1.1** versijos OpenMPI paketai+Ubuntu 18.04 LTS is the packet of **2.1.1** OpenMPI version
-Norint pasinaudoti naujesne **4.0.1** versija reikia naudoti+To use the newer version **4.0.1** you need to use
 <code> <code>
 module load openmpi/4.0 module load openmpi/4.0
 </code> </code>
-prieš vykdant MPI komandas.+before running MPI commands.
  
-===== MPI programų kompiliavimas =====+===== MPI Compiling Programs =====
  
-Paprastos MPI programos pavyzdys yra kataloge ''/scratch/lustre/test/openmpi''. **mpicc** (**mpiCC**, **mpif77**, **mpif90**, **mpifort**) yra apvalkalai C (C++, F77, F90, Fortran) kompiliatoriams, kurie automatiškai įtraukia į komandų eilutę reikiamus **MPI** intarpų (include) ir bibliotekų failus.+An example of a simple MPI program is in the directory ''/scratch/lustre/test/openmpi''. **mpicc** (**mpiCC**, **mpif77**, **mpif90**, **mpifort**) is a framework for C (C++, F77, F90, Fortran) compilers that automatically adds the necessary **MPI** include and library files to the command line.
  
 <code> <code>
en/hpc.txt · Last modified: 2024/02/21 12:50 by rolnas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki