Skip to content

casual-coder-sm/mpi-openmp-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distributed_compute

Hands On excercise related to parallel compute using mpi

To install OpenMPI on (Ubuntu) Linux

Option 1:

  1. sudo apt-get install libopenmpi-dev
  2. sudo apt-get install openmpi-bin this will get enable the mpicc and mpirun command

Option 2:

  1. create folder named openmpi under $HOME
  2. Download latest openmpi-xxx.tar.gz from open-mpi.org
  3. sudo apt update && sudo apt install build-essential
  4. extract the zip file tar -xzvf openmpi-xxx.tar.gz => one more sub directory (compilation directory)
  5. run ./configure --prefix=$HOME/openmpi
  6. make all
  7. make install (it will create bin, lib... under OpenMPI)
  8. Update $PATH and $LD_LIBRARY_PATH

OpenMP on (Ubuntu) Linux gcc has option by default Reference material : Introduction to OpenMP - Tim Mattson (Intel) https://www.youtube.com/watch?v=nE-xN4Bf8XI&list=PLLX-Q6B8xqZ8n8bwjGdzBJ25X2utwnoEG

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published