{"id":3276,"date":"2024-05-11T08:48:50","date_gmt":"2024-05-11T03:48:50","guid":{"rendered":"https:\/\/afzalbadshah.com\/?page_id=3276"},"modified":"2024-05-11T08:48:53","modified_gmt":"2024-05-11T03:48:53","slug":"mpi-with-python","status":"publish","type":"page","link":"https:\/\/afzalbadshah.com\/index.php\/mpi-with-python\/","title":{"rendered":"MPI with Python"},"content":{"rendered":"\n<p>This practical lab leads you into the world of parallel processing with MPI (Message Passing Interface) and  Python, mpi4py. We&#8217;ll bypass extensive theory for now and dive straight into coding exercises that showcase the power of distributed computing. <a href=\"https:\/\/afzalbadshah.com\/index.php\/category\/courses\/parallel-distributed-computing\/\" target=\"_blank\" rel=\"noopener\" title=\"\">For theory, you can visit the detailed course here.<\/a> <\/p>\n\n\n<div class=\"pt-cv-wrapper\"><div class=\"pt-cv-view pt-cv-grid pt-cv-colsys\" id=\"pt-cv-view-4857611hz4\"><div data-id=\"pt-cv-page-1\" class=\"pt-cv-page\" data-cvc=\"2\"><div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/02\/26\/mpi-message-passing-interface-program-in-python\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/02\/Untitled-design-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/02\/Untitled-design-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/02\/Untitled-design-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/02\/Untitled-design-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/02\/Untitled-design-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/02\/Untitled-design-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/02\/26\/mpi-message-passing-interface-program-in-python\/\" class=\"_blank\" target=\"_blank\" >Point to Point Communication in MPI<\/a><\/h4>\n<div class=\"pt-cv-content\">MPI (Message Passing Interface) is a standardized and widely used communication protocol for parallel computing. It allows processes running on ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/02\/26\/mpi-message-passing-interface-program-in-python\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/03\/20\/running-mpi4py-on-jupyter-notebook-step-by-step-guide\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python.png?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python.png?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/03\/20\/running-mpi4py-on-jupyter-notebook-step-by-step-guide\/\" class=\"_blank\" target=\"_blank\" >Running MPI4py on Jupyter Notebook &#8211; Step-by-Step Guide<\/a><\/h4>\n<div class=\"pt-cv-content\">Running MPI4py on Jupyter Notebook enables parallel computing within an interactive and user-friendly environment. This guide provides a step-by-step approach ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/03\/20\/running-mpi4py-on-jupyter-notebook-step-by-step-guide\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/03\/27\/blocking-and-non-blocking-communication-in-mpi\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python-1.png?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python-1.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python-1.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python-1.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python-1.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/03\/MPI-Python-1.png?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/03\/27\/blocking-and-non-blocking-communication-in-mpi\/\" class=\"_blank\" target=\"_blank\" >Blocking and Non-blocking Communication in MPI<\/a><\/h4>\n<div class=\"pt-cv-content\">In parallel computing with MPI (Message Passing Interface), communication between processes plays a crucial role in achieving efficient parallelization of ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/03\/27\/blocking-and-non-blocking-communication-in-mpi\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/03\/mpi-with-python-calculating-squares-of-array-elements-using-multiple-processors\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/03\/mpi-with-python-calculating-squares-of-array-elements-using-multiple-processors\/\" class=\"_blank\" target=\"_blank\" >MPI with Python: Calculating Squares of Array Elements Using Multiple Processors<\/a><\/h4>\n<div class=\"pt-cv-content\">In this lab tutorial, we will explore how to utilize multiple processors to compute the squares of elements in an ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/03\/mpi-with-python-calculating-squares-of-array-elements-using-multiple-processors\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/03\/mpi-gather-function-in-python\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-1-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-1-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-1-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-1-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-1-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-1-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/03\/mpi-gather-function-in-python\/\" class=\"_blank\" target=\"_blank\" >MPI Gather Function in Python<\/a><\/h4>\n<div class=\"pt-cv-content\">The gather function is used to gather data from multiple processes into a single process. We'll go through the provided ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/03\/mpi-gather-function-in-python\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/06\/mpi-concurrent-file-i-o-for-by-multiple-processes\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-3-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-3-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-3-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-3-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-3-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/04\/MPI-Python-3-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/06\/mpi-concurrent-file-i-o-for-by-multiple-processes\/\" class=\"_blank\" target=\"_blank\" >MPI: Concurrent File I\/O for by Multiple Processes<\/a><\/h4>\n<div class=\"pt-cv-content\">In this tutorial, we'll explore an MPI (Message Passing Interface) program using mpi4py to demonstrate how multiple processors can collectively ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/04\/06\/mpi-concurrent-file-i-o-for-by-multiple-processes\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/07\/parallel-summation-using-mpi-in-python-with-mpi4py\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-4-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-4-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-4-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-4-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-4-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-4-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/07\/parallel-summation-using-mpi-in-python-with-mpi4py\/\" class=\"_blank\" target=\"_blank\" >Parallel Summation using MPI in Python with mpi4py<\/a><\/h4>\n<div class=\"pt-cv-content\">Parallel summation involves distributing the task of summing a large set of numbers across multiple processors or computing nodes, enabling ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/07\/parallel-summation-using-mpi-in-python-with-mpi4py\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/09\/matrix-multiplication-on-multi-processors-mpi4py\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-5-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-5-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-5-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-5-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-5-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-5-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/09\/matrix-multiplication-on-multi-processors-mpi4py\/\" class=\"_blank\" target=\"_blank\" >Matrix Multiplication on Multi-Processors: MPI4PY<\/a><\/h4>\n<div class=\"pt-cv-content\">In this scenario, each processor handles a portion of the matrices, performing computations independently, and then the results are combined ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/09\/matrix-multiplication-on-multi-processors-mpi4py\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/23\/monte-carlo-simulation-mpi4py\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-6-jpg.webp?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-6-jpg.webp?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-6-jpg.webp?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-6-jpg.webp?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-6-jpg.webp?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/05\/MPI-Python-6-jpg.webp?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/23\/monte-carlo-simulation-mpi4py\/\" class=\"_blank\" target=\"_blank\" >Monte Carlo Simulation: MPI4Py<\/a><\/h4>\n<div class=\"pt-cv-content\">Monte Carlo simulations are a statistical technique that allows for solving problems through random sampling. They are widely used in ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/05\/23\/monte-carlo-simulation-mpi4py\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/06\/24\/introduction-to-scatter-operation-in-mpi\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-2.png?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-2.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-2.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-2.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-2.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-2.png?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/06\/24\/introduction-to-scatter-operation-in-mpi\/\" class=\"_blank\" target=\"_blank\" >Introduction to Scatter Operation in MPI<\/a><\/h4>\n<div class=\"pt-cv-content\">In MPI (Message Passing Interface) programming, the scatter operation is a collective communication pattern used to distribute data from one ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/06\/24\/introduction-to-scatter-operation-in-mpi\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div>\n<div class=\"col-md-6 col-sm-12 col-xs-12 pt-cv-content-item pt-cv-1-col\" ><div class='pt-cv-ifield'><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/06\/24\/broadcast-communication-in-mpi\/\" class=\"_blank pt-cv-href-thumbnail pt-cv-thumb-default\" target=\"_blank\" ><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-3.png?fit=300%2C169&amp;ssl=1\" class=\"pt-cv-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-3.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-3.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-3.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-3.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2024\/06\/MPI-Python-3.png?resize=480%2C270&amp;ssl=1 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<h4 class=\"pt-cv-title\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/06\/24\/broadcast-communication-in-mpi\/\" class=\"_blank\" target=\"_blank\" >Broadcast Communication in MPI<\/a><\/h4>\n<div class=\"pt-cv-content\">In MPI (Message Passing Interface), broadcast communication is a fundamental operation that allows one process to efficiently send data to ...<br \/><div class=\"pt-cv-rmwrap\"><a href=\"https:\/\/afzalbadshah.com\/index.php\/2024\/06\/24\/broadcast-communication-in-mpi\/\" class=\"_blank pt-cv-readmore btn btn-success\" target=\"_blank\">Read More<\/a><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This practical lab leads you into the world of parallel processing with MPI (Message Passing Interface) and Python, mpi4py. We&#8217;ll bypass extensive theory for now and dive straight into coding exercises that showcase the power of distributed computing. For theory, you can visit the detailed course here.<\/p>\n","protected":false},"author":1,"featured_media":3283,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-3276","page","type-page","status-publish","has-post-thumbnail","hentry"],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/Pf3emP-QQ","jetpack-related-posts":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/pages\/3276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/comments?post=3276"}],"version-history":[{"count":2,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/pages\/3276\/revisions"}],"predecessor-version":[{"id":3285,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/pages\/3276\/revisions\/3285"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/media\/3283"}],"wp:attachment":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/media?parent=3276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}