{"id":30275450,"url":"https://github.com/dynle/parallel-programming","last_synced_at":"2025-08-16T09:38:10.966Z","repository":{"id":303015383,"uuid":"1014144831","full_name":"dynle/parallel-programming","owner":"dynle","description":"OpenMP, CUDA","archived":false,"fork":false,"pushed_at":"2025-08-04T14:59:53.000Z","size":456,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T18:33:30.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/dynle.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-07-05T06:18:26.000Z","updated_at":"2025-08-04T15:31:23.000Z","dependencies_parsed_at":"2025-07-05T07:29:31.932Z","dependency_job_id":"3e479cf3-4ff7-4b41-b52e-0435fec29c3c","html_url":"https://github.com/dynle/parallel-programming","commit_stats":null,"previous_names":["dynle/parallel-programming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dynle/parallel-programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynle%2Fparallel-programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynle%2Fparallel-programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynle%2Fparallel-programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynle%2Fparallel-programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynle","download_url":"https://codeload.github.com/dynle/parallel-programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynle%2Fparallel-programming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270695615,"owners_count":24629787,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":[],"created_at":"2025-08-16T09:38:08.005Z","updated_at":"2025-08-16T09:38:10.958Z","avatar_url":"https://github.com/dynle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenMP C++ Setup and Usage\n\n## Environment Setup\n\nYour system is now configured to compile and run OpenMP C++ programs with:\n\n- **Compiler**: clang++ (Apple clang version 14.0.3)\n- **OpenMP Library**: libomp 20.1.7 (installed via Homebrew)\n- **Alternative**: g++-15 (Homebrew GCC 15.1.0) - available but may have linking issues\n\n## Files in this directory\n- `compile_openmp.sh` - Compilation script for OpenMP programs\n\n## Quick Start\n\n### 1. Compile and run the test program:\n```bash\n./compile_openmp.sh testcpp.cpp\n./testcpp\n```\n\n### 2. Manual compilation:\n```bash\nclang++ -std=c++11 -Xpreprocessor -fopenmp \\\n    -I/opt/homebrew/opt/libomp/include \\\n    -L/opt/homebrew/opt/libomp/lib \\\n    -lomp testcpp.cpp -o testcpp\n```\n\n## Compilation Script Usage\n\n```bash\n# Basic usage\n./compile_openmp.sh source_file.cpp\n\n# Specify output file\n./compile_openmp.sh source_file.cpp my_program\n\n# Examples\n./compile_openmp.sh testcpp.cpp\n./compile_openmp.sh my_program.cpp my_exe\n```\n\n## Notes\n\n- The linking warning about macOS version compatibility can be safely ignored\n- OpenMP version 5.0 (201811) is available\n- System has 10 processors available\n- Default thread count can be controlled with `omp_set_num_threads()`\n\n## Creating New OpenMP Programs\n\nWhen creating new OpenMP C++ programs, make sure to:\n\n1. Include the OpenMP header: `#include \u003comp.h\u003e`\n2. Use OpenMP pragmas: `#pragma omp parallel`, `#pragma omp for`, etc.\n3. Compile with the provided script or manual compilation command\n4. Consider thread safety when accessing shared variables ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynle%2Fparallel-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynle%2Fparallel-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynle%2Fparallel-programming/lists"}