{"id":22412070,"url":"https://github.com/jefflarkin/titan-workshop-examples","last_synced_at":"2025-07-26T22:12:25.234Z","repository":{"id":4922817,"uuid":"6079335","full_name":"jefflarkin/titan-workshop-examples","owner":"jefflarkin","description":"Examples for using multiple programming models on Cray XK6 systems.","archived":false,"fork":false,"pushed_at":"2012-10-04T19:56:32.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T08:30:06.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"yahoo/preceptor-reporter","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jefflarkin.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}},"created_at":"2012-10-04T17:53:41.000Z","updated_at":"2017-01-03T10:31:25.000Z","dependencies_parsed_at":"2022-09-13T07:01:54.203Z","dependency_job_id":null,"html_url":"https://github.com/jefflarkin/titan-workshop-examples","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/jefflarkin%2Ftitan-workshop-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefflarkin%2Ftitan-workshop-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefflarkin%2Ftitan-workshop-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefflarkin%2Ftitan-workshop-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jefflarkin","download_url":"https://codeload.github.com/jefflarkin/titan-workshop-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773180,"owners_count":20669719,"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":[],"created_at":"2024-12-05T13:16:43.600Z","updated_at":"2025-03-27T03:13:31.519Z","avatar_url":"https://github.com/jefflarkin.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Titan Workshop Examples \n======================= \nAuthor: Jeff Larkin \u003clarkin@cray.com\u003e \nSome examples also from Keita Teranishi\n\nIntroduction \n------------\nThese examples were put together for a Winter 2012 workshop at ORNL introducing the\nTitan Cray XK6 system. They are designed as only simple examples of how to build\nusing various programming models and compilers available on that system using\nthe Cray build environment. Because the examples were devised during a time of\nrapid development of the respective packages, these examples, expecially the\nMakefiles, need to be made current from time to time. If you have issues, please\nemail me at the address above for support.\n\nExamples\n--------\n* Example 1 demonstrates building a simple, single-node test case for CUDA for C\n  and CUDA Fortran.\n* Example 2 extends example 1 for building with MPI as well. Running the\n  resulting executable with more than 1 process per node will give errors.\n* Example 3 builds a simple OpenCL example. The Makefile must change certain\n  flaps for support under different compilers. The following warning is expected\n  when building using the PGI compiler\n\n    cc -ta=nvidia:4.1 -c -o openclExample.o openclExample.c\n    PGC-W-0267-#warning --   Need to implement some method to align data here (/opt/nvidia/cudatoolkit/5.0.33.103/include/CL/cl_platform.h: 408)\n    PGC/x86-64 Linux 12.8-0: compilation completed with warnings\n\n* Example 4 demonstrates calling libsci\\_acc from a C codeand requires the Cray\n  Compiler Environment (CCE)\n* Example 5 demonstrates calling libsci\\_acc from CUDA Fortran **(CURRENTLY BROKEN)**\n* Example 6 demonstrates calling CUDA from OpenACC. It currently only supports\n  the CCE.\n* Example 7 demonstrates calling libsci_acc from OpenACC. **(WORKING BUT OUTDATED)**\n* Example 7 demonstrates calling libsci_acc from PGIACC. **(CURRENTLY BROKEN)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefflarkin%2Ftitan-workshop-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefflarkin%2Ftitan-workshop-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefflarkin%2Ftitan-workshop-examples/lists"}