This is my project for CSE-372: Introduction to High Performance Computing taught at IIT (BHU) Varanasi.
Download Salinas.mat from here.
You need to install an MPI implementation (like OpenMPI), mpi4py for MPI bindings and ipyparallel to run "HPC Fast ALP RLS Implementation.ipynb".
- To install OpenMPI:
$ sudo apt install openmpi-bin
- To install mpi4py:
$ pip install --upgrade mpi4py
- To install ipyparallel:
$ pip install --upgrade ipyparallel
All other packages can be simply installed using pip.
This applies only to the notebook "HPC Fast ALP RLS Implementation.ipynb", all other notebooks can be run directly.
To start an ipcluster controller with x number of engines:
$ ipcluster start -n x --engines=MPIEngineSetLauncher
For example, for 4 engines:
$ ipcluster start -n 4 --engines=MPIEngineSetLauncher
After running the above command, the Parallel section of the notebook can be executed.