Skip to content

This repository was made mainly for Parallel programming lab, it will cover some topics in MPI and openMP libraries.

Notifications You must be signed in to change notification settings

Omnyyah/Parallel-Programming-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel-Programming-Lab

This repository was mainly made for Parallel programming lab, it will cover some topics in MPI and openMP libraries.

Installing MPI on mac os

  1. You'll need to install this package

  2. Put this file somewhere inside your $HOME and untar it

   $ tar xf openmpi-2.0.2.tar </code> 
   $ cd openmpi-2.0.2/ </code>
  1. Make sure you have XCode and command line tools installed
   $ ./configure --prefix=$HOME/opt/usr/local
   $ make all
   $ make install
  1. After installation is done, you can verify it
   $ $HOME/opt/usr/local/bin/mpirun --version
        -> mpirun (Open MPI) 2.0.2
  1. You can compile and run your .c using
   $HOME/opt/usr/local/bin/mpicc -o fileName ./fileName.c
   $HOME/opt/usr/local/bin/mpirun -np 2 ./fileName

MPI

......

openMP

About

This repository was made mainly for Parallel programming lab, it will cover some topics in MPI and openMP libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages