{"id":23207940,"url":"https://github.com/pkestene/cuda_mpi_autotools_proj_template","last_synced_at":"2025-10-25T19:30:26.291Z","repository":{"id":22525577,"uuid":"25866111","full_name":"pkestene/cuda_mpi_autotools_proj_template","owner":"pkestene","description":"A template project for CUDA+MPI with autotools build system","archived":false,"fork":false,"pushed_at":"2019-11-08T13:26:34.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-18T17:34:11.220Z","etag":null,"topics":["automake","autotools","cuda","cuda-mpi","mpi"],"latest_commit_sha":null,"homepage":null,"language":"M4","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkestene.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":"2014-10-28T11:27:44.000Z","updated_at":"2024-08-05T15:45:03.000Z","dependencies_parsed_at":"2022-08-20T18:20:58.031Z","dependency_job_id":null,"html_url":"https://github.com/pkestene/cuda_mpi_autotools_proj_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fcuda_mpi_autotools_proj_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fcuda_mpi_autotools_proj_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fcuda_mpi_autotools_proj_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkestene%2Fcuda_mpi_autotools_proj_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkestene","download_url":"https://codeload.github.com/pkestene/cuda_mpi_autotools_proj_template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238198650,"owners_count":19432649,"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":["automake","autotools","cuda","cuda-mpi","mpi"],"created_at":"2024-12-18T17:26:39.074Z","updated_at":"2025-10-25T19:30:25.985Z","avatar_url":"https://github.com/pkestene.png","language":"M4","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cuda_mpi_autotools_proj_template\n\nA template project for CUDA+MPI with autotools build system\n\n## Build for the first time\n\n### Run autogen.sh script. \n\n\u003e ./autogen.sh\n\nIt will create all autotools related files.\n\n### Run configure\n\n\u003e ./configure --with-cuda=$CUDA_ROOT --enable-mpi\n\nwhere CUDA_ROOT is an environment variable set to the location of the CUDA toolkit (e.g. /usr/local/cuda-6.5)\n\n### Run make\n\nThis will build an executable src/testHelloMpiCuda.\n\n### Start application\n\nYou can run it on a multi-GPU cluster with\n\n\u003e mpirun -np N_PROC_MPI ./testHelloMpiCuda\n\n\n## Reference\n\nFor a detailled discussion about coupling CUDA and MPI (initialize CUDA context before/after MPI_Init), see the following references:\n\n\n- https://github.com/parallel-forall/code-samples/tree/master/posts/cuda-aware-mpi-example\n- http://www.open-mpi.org/faq/?category=running#mpi-cuda-support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkestene%2Fcuda_mpi_autotools_proj_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkestene%2Fcuda_mpi_autotools_proj_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkestene%2Fcuda_mpi_autotools_proj_template/lists"}