{"id":25254954,"url":"https://github.com/sangioai/sph","last_synced_at":"2026-04-27T18:03:25.236Z","repository":{"id":275000177,"uuid":"868615381","full_name":"sangioai/SPH","owner":"sangioai","description":"CUDA and OpenMP versions of SPH (Smoothed Particle Hydrodynamics) serial algorithm.","archived":false,"fork":false,"pushed_at":"2025-01-30T16:16:43.000Z","size":1995,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T08:10:47.165Z","etag":null,"topics":["cuda","openmp"],"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/sangioai.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-06T20:33:34.000Z","updated_at":"2025-01-30T16:16:46.000Z","dependencies_parsed_at":"2025-01-30T16:50:24.831Z","dependency_job_id":null,"html_url":"https://github.com/sangioai/SPH","commit_stats":null,"previous_names":["sangioai/sph"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sangioai/SPH","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangioai%2FSPH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangioai%2FSPH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangioai%2FSPH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangioai%2FSPH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sangioai","download_url":"https://codeload.github.com/sangioai/SPH/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangioai%2FSPH/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32348058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cuda","openmp"],"created_at":"2025-02-12T05:51:12.611Z","updated_at":"2026-04-27T18:03:25.221Z","avatar_url":"https://github.com/sangioai.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPH\n\nCUDA and OpenMP versions of [SPH](https://github.com/cerrno/mueller-sph) (Smoothed Particle Hydrodynamics) serial algorithm.\n\n# Dependencies\n\nThe GCC compiler is used to build the code.\n\n# Build\nFor this project are available: \n- 4 OpenMP parallelized versions\n- 2 CUDA parallelized versions.\n\n\u003e [!Note]\n\u003e The `make` command must be run in the *src* folder.\n\n## OpenMP versions\nTo build all OpenMP versions: `make openmp`\n    \nTo build them indipendently:\n\u003cbr/\u003e\n```\n    gcc -std=c99 -fopenmp -Wall -Wpedantic omp-sph.c -o omp-sph -lm\n    gcc -std=c99 -fopenmp -Wall -Wpedantic omp-sphv2.c -o omp-sph -lm\n    gcc -std=c99 -fopenmp -Wall -Wpedantic omp-sphv3.c -o omp-sph -lm\n    gcc -std=c99 -fopenmp -Wall -Wpedantic omp-sphv4.c -o omp-sph -lm\n```\n\n## CUDA versions\nTo build all CUDA versions: `make cuda`\n    \nIn alternativa:\n```\n    nvcc cuda-sph.cu -o cuda-sph\n    nvcc cuda-sphv2.cu -o cuda-sphv2\n```\n# Results\n\nSee the [Report](Report.pdf).\n\n## Authors\n\n[Marco Sangiorgi](https://github.com/SangioAI)\n\u003c/br\u003e\n*2023©*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangioai%2Fsph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsangioai%2Fsph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangioai%2Fsph/lists"}