{"id":20802220,"url":"https://github.com/megave/mpi-tasks","last_synced_at":"2025-07-13T15:34:15.657Z","repository":{"id":200103817,"uuid":"691094617","full_name":"megaVE/mpi-tasks","owner":"megaVE","description":"My solution for the proposed tasks from the Parallel and Distributed Programming discipline, during the 6th period of the course | Resolução minha dos trabalhos proposto durante a disciplina de Programação Paralela e Distribuída no 6º Período do curso","archived":false,"fork":false,"pushed_at":"2023-11-01T18:51:40.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T12:34:53.739Z","etag":null,"topics":["mpi-library","parallel-programming"],"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/megaVE.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}},"created_at":"2023-09-13T13:42:55.000Z","updated_at":"2023-11-01T18:51:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2f3fc05-0224-4f84-994f-4ee56bc79457","html_url":"https://github.com/megaVE/mpi-tasks","commit_stats":null,"previous_names":["megave/mpi-tasks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fmpi-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fmpi-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fmpi-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fmpi-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/megaVE","download_url":"https://codeload.github.com/megaVE/mpi-tasks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243147270,"owners_count":20243745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["mpi-library","parallel-programming"],"created_at":"2024-11-17T18:28:53.777Z","updated_at":"2025-07-13T15:34:15.652Z","avatar_url":"https://github.com/megaVE.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPI Tasks (Tarefas MPI)\n\nPT: Resolução minha dos trabalhos proposto durante a disciplina de Programação Paralela e Distribuída no 6º Período do curso\n\nEN: My solution for the proposed tasks from the Parallel and Distributed Programming discipline, during the 6th period of the course\n\n## Environment Setup (Configuração de Ambiente)\n\n### Installing MPI on Linux (Instalando o MPI no Linux)\n- apt-get install libopenmpi-dev openmpi-bin\n\n### Creating a Hostfile (Criando o hostfile)\n- localhost slots=10\nsidenote: the text must be inside a file, typically named \"hostfile\"\n\n(observação: o texto deve estar dentro de um arquivo, típicamente nomeado como \"hostfile\")\n\n### Compiling (Compilando)\n- mpicc [input file name].c -o [output file name]\n\n### Running (Rodando)\n- mpirun -np [number of processors] --hostfile [hostfile name] [output file name]\n\n## 1 - Leader/Follower Implementation (Implementação Líder-Seguidores)\nComplete development of a programa in which the Leader generates a random number of sum, mean, median and max value tasks to the elements of an array and distributes them to each Follower to perform.\n\n(Desenvolvimento completo de um programa no qual o Líder gera um número aleatório tarefas de calcular soma, média, mediana e maior valor dos elementos de um vetor e as distribui para cada um dos Seguidores realizar.)\n\n## 2 - Collective Messages (Mensagens Coletivas)\nComplete development of a program that receives two input paramethers refering to the dimentions of two matrixes filled with random values and calculates their product, being each processor responsable for a column of the matrix B.\n\n(Desenvolvimento completo de um programa que recebe dois parâmetros de entrada referentes às dimensões de duas matrizes preenchidas com valores aleatórios e calcula seu produto, com cada processador assumindo uma coluna da matriz B.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegave%2Fmpi-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegave%2Fmpi-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegave%2Fmpi-tasks/lists"}