Open-Quantum-Platform / openqp

The main repository of Open Quantum Platform (OpenQP)
https://www.openqp.org
Other
20 stars 9 forks source link

Add MPI Support for Parallel Processing in OpenQP with Hybrid OpenMP-MPI Capability #4

Closed mohsenkor closed 1 month ago

mohsenkor commented 1 month ago

Description: This pull request adds MPI support to OpenQP by introducing a new Fortran wrapper and Python utility functions. These changes enable parallel processing through MPI, and together with the existing OpenMP support, OpenQP now has hybrid OpenMP-MPI capabilities, allowing for more flexible and scalable parallel computing.

Key changes:

New Fortran MPI Wrapper (parallel.F90):

-Added a new module parallel.F90 to handle MPI-related functions in the Fortran code.

MPI Utility in Python (mpi_utils.py):

-Introduced a Python utility module mpi_utils.py for managing MPI in the Python layer of OpenQP.