{"id":29669229,"url":"https://github.com/malisha4065/mpi","last_synced_at":"2026-06-25T13:31:30.445Z","repository":{"id":294588929,"uuid":"984578527","full_name":"Malisha4065/MPI","owner":"Malisha4065","description":"MPI Basics","archived":false,"fork":false,"pushed_at":"2025-05-21T05:26:55.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T18:12:07.421Z","etag":null,"topics":["cprogramming","distributed-computing","highperformancecomputing","mpi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Malisha4065.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-16T06:52:51.000Z","updated_at":"2025-05-21T05:27:54.000Z","dependencies_parsed_at":"2025-05-22T09:03:35.054Z","dependency_job_id":null,"html_url":"https://github.com/Malisha4065/MPI","commit_stats":null,"previous_names":["malisha4065/mpi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Malisha4065/MPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malisha4065%2FMPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malisha4065%2FMPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malisha4065%2FMPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malisha4065%2FMPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Malisha4065","download_url":"https://codeload.github.com/Malisha4065/MPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malisha4065%2FMPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34778079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cprogramming","distributed-computing","highperformancecomputing","mpi"],"created_at":"2025-07-22T18:05:55.680Z","updated_at":"2026-06-25T13:31:30.440Z","avatar_url":"https://github.com/Malisha4065.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPI Example Programs\n\nThis repository contains example C programs demonstrating various features of MPI (Message Passing Interface) for parallel and distributed computing.\n\n## File Descriptions\n\n- **hellompi.c**: Classic \"Hello, world!\" MPI program, each process prints its rank and total number of processes.\n- **environmentmanageroutines.c**: Prints the number of tasks, rank, and processor name for each MPI process.\n- **nonblockingmessage.c**: Example of non-blocking send and receive operations using `MPI_Isend` and `MPI_Irecv`.\n- **blockingmessage.c**: Demonstrates point-to-point blocking send and receive between two MPI tasks.\n- **collectivecomm.c**: Shows how to use collective communication (`MPI_Scatter`) to distribute data among processes.\n- **group.c**: Demonstrates creating new MPI groups and communicators, and performing collective operations within them.\n- **hostfile.txt**: Specifies host and slot information for running MPI programs.\n\n---\n\n## How to Compile\n\nMake sure you have an MPI implementation installed (e.g., OpenMPI or MPICH).\n\nTo compile any of the C programs, use `mpicc`. For example:\n\n```\nmpicc -o collectivecomm collectivecomm.c\n```\n\n## How to Run\n\nRun the compiled program with `mpirun` or `mpiexec`, specifying the number of processes. For example, to run `collectivecomm` with 4 processes:\n\n```\nmpirun -np 4 ./collectivecomm\n```\n\n**Note:**  \nSome programs require a specific number of processes (e.g., `collectivecomm` requires 4). Check the source code or the descriptions above.\n\n---\n\nEach C file demonstrates a different aspect of MPI programming for educational purposes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalisha4065%2Fmpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalisha4065%2Fmpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalisha4065%2Fmpi/lists"}