In this post, we will see How to install MPI (Message Passing Interface) on Linux (Ubuntu and Fedora).
MPI (Message Passing Interface) is a standard for distributed programming. It has many implementations. Here, we will see installation of MPICH.
>>> sudo apt install mpich
Note: This will install latest version of MPICH on your Ubuntu system.
Follow the following steps.
1. Download the latest version of MPICH from this link http://www.mpich.org/ . Click on Download MPICH. Then click on first [http] link to download tar file of latest version of MPICH.
2. Open Terminal. Get log in to root.
3. Run following commands:
>>> tar -xzf mpich-3.3.1.tar.gz
Note: This will extract tar file. Mention tar file name that you have downloaded.
>>> cd mpich-3.3.1
Note: You will enter into respective folder.
>>> ./configure --disable-fortran
>>> make; sudo make install
Note: MPI is installed by this step.
>>> mpiexec --version
Note: This command will check version of MPI installed.
MPI (Message Passing Interface) is a standard for distributed programming. It has many implementations. Here, we will see installation of MPICH.
For Ubuntu:
Run following command from Terminal:>>> sudo apt install mpich
Note: This will install latest version of MPICH on your Ubuntu system.
For Fedora:
Follow the following steps.
1. Download the latest version of MPICH from this link http://www.mpich.org/ . Click on Download MPICH. Then click on first [http] link to download tar file of latest version of MPICH.
2. Open Terminal. Get log in to root.
3. Run following commands:
>>> tar -xzf mpich-3.3.1.tar.gz
Note: This will extract tar file. Mention tar file name that you have downloaded.
>>> cd mpich-3.3.1
Note: You will enter into respective folder.
>>> ./configure --disable-fortran
>>> make; sudo make install
Note: MPI is installed by this step.
>>> mpiexec --version
Note: This command will check version of MPI installed.
No comments:
Post a Comment