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/05 10:40] – [GPU Tasks(SLURM)] grikieteen:hpc [2022/07/18 09:36] – [Implementation of MPI Programmes] grikiete
Line 208: Line 208:
 </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>
Line 226: Line 226:
 $ mpif90 -o foo foo.f $ mpif90 -o foo foo.f
 </code> </code>
-===== MPI programų vykdymas =====+===== Implementation of MPI Programmes =====
  
-MPI programos startuojamos su **mpirun** arba **mpiexec** programaDaugiau apie jas galima sužinoti su komanda **man mpirun** arba **man mpiexec**.+MPI programs are started with **mpirun** or **mpiexec**. You can learn more about them with the **man mpirun** or **man mpiexec** command.
  
-Paprasta (SPMD) programa gali būti startuojama su tokia mpirun komandų eilute.+A simple (SPMD) program can be started with the following mpirun command line.
  
 <code> <code>
Line 236: Line 236:
 </code> </code>
  
-Tai naudos visus paskirtus procesorius, pagal tai, kiek jų buvo užsakytaJeigu norima pasinaudoti mažiautai **mpirun** galima nurodyti parametrą ''-np kiekis''Nepageidaujama ilgesniam laikui naudoti mažiau, nei rezervuota, nes neišnaudoti CPU lieka laisvi. Didesnį kiekį, nei rezervuotą, yra griežtai draudžiama naudotines tai gali turėti įtakos kitų užduočių vykdymui.+All allocated processors will be used according to the number orderedIf you want to use lessyou can specify the -np quantity parameter in mpirunIt is not recommended to use less CPU than reserved for a longer time periodas unused CPUs remain free.
  
-Daugiau apie instaliuotą **OpenMPI** yra [[https://www.open-mpi.org|OpenMPI]] puslapyje.+**ATTENTION** It is strictly forbidden to use more CPU than you have reserved, as this may affect the performance of other tasks. 
 + 
 +Find more information on [[https://www.open-mpi.org|OpenMPI]].
  
 ====== Užduočių efektyvumas ====== ====== Užduočių efektyvumas ======
en/hpc.txt · Last modified: 2024/02/21 12:50 by rolnas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki