Skip to content

ShubhamAvasthi/cse372-hpc-project

Repository files navigation

cse372-hpc-project

This is my project for CSE-372: Introduction to High Performance Computing taught at IIT (BHU) Varanasi.

Setup and Installations

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".

  1. To install OpenMPI:
    $ sudo apt install openmpi-bin
  2. To install mpi4py:
    $ pip install --upgrade mpi4py
  3. To install ipyparallel:
    $ pip install --upgrade ipyparallel

All other packages can be simply installed using pip.

Running the code

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.

About

This is my project for CSE-372: Introduction to High Performance Computing taught at IIT (BHU) Varanasi.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published