{"id":19075792,"url":"https://github.com/lpsm-dev/parallel-programing","last_synced_at":"2025-02-22T04:44:32.292Z","repository":{"id":45214998,"uuid":"253940516","full_name":"lpsm-dev/parallel-programing","owner":"lpsm-dev","description":"📚 Some parallel programing implementations using OpenMP","archived":false,"fork":false,"pushed_at":"2023-12-15T08:31:13.000Z","size":74,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T18:17:21.795Z","etag":null,"topics":["alpine","c","docker","docker-compose","openmp","openmp-parallelization","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpsm-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-08T00:01:35.000Z","updated_at":"2022-01-07T03:41:35.000Z","dependencies_parsed_at":"2022-09-11T21:44:44.428Z","dependency_job_id":null,"html_url":"https://github.com/lpsm-dev/parallel-programing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsm-dev%2Fparallel-programing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsm-dev%2Fparallel-programing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsm-dev%2Fparallel-programing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsm-dev%2Fparallel-programing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpsm-dev","download_url":"https://codeload.github.com/lpsm-dev/parallel-programing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240127088,"owners_count":19751938,"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":["alpine","c","docker","docker-compose","openmp","openmp-parallelization","parallel-programming"],"created_at":"2024-11-09T01:56:01.174Z","updated_at":"2025-02-22T04:44:32.271Z","avatar_url":"https://github.com/lpsm-dev.png","language":"C","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"openmp\" src=\"https://upload.wikimedia.org/wikipedia/commons/e/eb/OpenMP_logo.png\" width=\"250px\" float=\"center\"/\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e💻 Parallel Programing with OpenMP 💻\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eSome parallel programing implementations using OpenMP + Docker + Docker Compose\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing\"\u003e\n    \u003cimg alt=\"Open Source\" src=\"https://badges.frapsoft.com/os/v1/open-source.svg?v=102\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing/graphs/contributors\"\u003e\n    \u003cimg alt=\"GitHub Contributors\" src=\"https://img.shields.io/github/contributors/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing\"\u003e\n    \u003cimg alt=\"GitHub Language Count\" src=\"https://img.shields.io/github/languages/count/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing\"\u003e\n    \u003cimg alt=\"GitHub Top Language\" src=\"https://img.shields.io/github/languages/top/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing/stargazers\"\u003e\n    \u003cimg alt=\"GitHub Stars\" src=\"https://img.shields.io/github/stars/lpmatos/parallel-programing?style=social\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing/commits/master\"\u003e\n    \u003cimg alt=\"GitHub Last Commit\" src=\"https://img.shields.io/github/last-commit/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing\"\u003e\n    \u003cimg alt=\"Repository Size\" src=\"https://img.shields.io/github/repo-size/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing/issues\"\u003e\n    \u003cimg alt=\"Repository Issues\" src=\"https://img.shields.io/github/issues/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/lpmatos/parallel-programing/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"MIT License\" src=\"https://img.shields.io/github/license/lpmatos/parallel-programing\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#-how-to-contribute\"\u003eHow to contribute\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## ▶️ Getting Started\n\nTo use this repository you need to make a **git clone**:\n\n```bash\ngit clone --depth 1 https://github.com/lpmatos/parallel-programing.git -b master\n```\n\nPull requests are welcome. If you'd like to support the work and buy me a ☕, I greatly appreciate it!\n\n\u003ca href=\"https://www.buymeacoffee.com/EatdMck\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 100px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n## OpenMP Functions\n\n### Para execução do Ambiente\n\n**Name**  |  **Description**\n:---:  |  :---:\n**omp_set_num_threads**  |  Define o número de threadhs em regiões paralelas futuras a menos que seja substituído pela cláusula num_threads\n**omp_get_num_threads**  |  Retorna o número de threads dentro da região paralela\n**omp_get_thread_num**   |  Retorna o ID da thread em execução.\n**omp_get_num_procs**    |  Retorna o número de processadores disponível no momento em que a função é chamada.\n\n## Para rotinas de tempo\n\n**Name**  |  **Description**\n:---:  |  :---:\n**omp_get_wtime**  |  Retorna um valor em segundos do tempo decorrido de algum ponto\n**omp_get_wtick**  |  Retorna o número de segundos entre os clocks do processador\n\n## 🐋 Development with Docker\n\nSteps to build a Docker Image.\n\n### Build\n\n```bash\ndocker image build -t \u003cIMAGE_NAME\u003e -f \u003cPATH_DOCKERFILE\u003e \u003cPATH_CONTEXT_DOCKERFILE\u003e\ndocker image build -t \u003cIMAGE_NAME\u003e . (This context)\n```\n\n### Run\n\nSteps to run a Docker Container.\n\n* **Linux** running:\n\n```bash\ndocker container run -d -p \u003cLOCAL_PORT:CONTAINER_PORT\u003e \u003cIMAGE_NAME\u003e \u003cCOMMAND\u003e\ndocker container run -it --rm --name \u003cCONTAINER_NAME\u003e -p \u003cLOCAL_PORT:CONTAINER_PORT\u003e \u003cIMAGE_NAME\u003e \u003cCOMMAND\u003e\n```\n\n* **Windows** running:\n\n```\nwinpty docker.exe container run -it --rm \u003cIMAGE_NAME\u003e \u003cCOMMAND\u003e\n```\n\nFor more information, access the [Docker](https://docs.docker.com/) documentation or [this](docs/docker.md).\n\n## 🐋 Development with Docker Compose\n\nBuild and run a docker-compose.\n\n```bash\ndocker-compose up --build\n```\n\nDown all services deployed by docker-compose.\n\n```bash\ndocker-compose down\n```\n\nDown all services and delete all images.\n\n```bash\ndocker-compose down --rmi all\n```\n\n## Link Reference\n\n* http://www.inf.ufsc.br/~bosco.sobral/ensino/ine5645/Exemplos-Diretivas-Clausulas.pdf\n* https://docs.microsoft.com/en-us/cpp/parallel/openmp/reference/openmp-functions?view=vs-2019\n\n## ➤ Author \u003ca name = \"author\"\u003e\u003c/a\u003e\n\n👤 Hey!! If you like this project or if you find some bugs feel free to contact me in my channels:\n\n\u003e\n\u003e * Linktree: https://linktr.ee/lpmatos\n\u003e\n\n## ➤ Versioning \u003ca name = \"versioning\"\u003e\u003c/a\u003e\n\nTo check the change history, please access the [**CHANGELOG.md**](CHANGELOG.md) file.\n\n## ➤ Project status \u003ca name = \"project-status\"\u003e\u003c/a\u003e\n\nThis repository is a study project, therefore, it will not always be maintained 👻.\n\n## ➤ Donations \u003ca name = \"donations\"\u003e\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.blockchain.com/pt/btc/address/bc1qn50elv826qs2qd6xhfh6n79649epqyaqmtwky5\"\u003e\n    \u003cimg alt=\"BTC Address\" src=\"https://img.shields.io/badge/BTC%20Address-black?style=for-the-badge\u0026logo=bitcoin\u0026logoColor=white\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://live.blockcypher.com/ltc/address/ltc1qwzrxmlmzzx68k2dnrcrplc4thadm75khzrznjw/\"\u003e\n    \u003cimg alt=\"Litecoin Address\" src=\"https://img.shields.io/badge/Litecoin%20Address-black?style=for-the-badge\u0026logo=litecoin\u0026logoColor=white\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## ➤ Show your support \u003ca name = \"show-your-support\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nGive me a ⭐️ if this project helped you!\n\n\u003cp\u003e\n  \u003cimg alt=\"gif-header\" src=\"https://www.icegif.com/wp-content/uploads/baby-yoda-bye-bye-icegif.gif\" width=\"350px\" float=\"center\"/\u003e\n\u003c/p\u003e\n\nMade with 💜 by [me](https://github.com/lpmatos) 👋 inspired on [readme-md-generator](https://github.com/kefranabg/readme-md-generator)\n\n\u003c/div\u003e\n","funding_links":["https://www.buymeacoffee.com/EatdMck"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpsm-dev%2Fparallel-programing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpsm-dev%2Fparallel-programing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpsm-dev%2Fparallel-programing/lists"}