Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 680 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 680 Bytes

HPC Writeups

OpenMPI - Compilation and Execution

For more information, please consult the official documentation OpenMPI

# Install OpenMPI in operating systems based on ArchLinux
$ sudo pacman -S openmpi
# compile
$ mpicc -lm yourfile.c -o yourapp
# running
$ mpirun -np <numberproccess> yourapp

CUDA - Compilation and Execution

You can read more in CUDA, Installation guide

# Install CUDA in operating systems based on ArchLinux
$ sudo pacman -S cuda
# compile
$ nvcc  yourfile.c -o yourapp
# running
$ ./yourapp