{"id":19867679,"url":"https://github.com/cwsmith/openarc_sandbox","last_synced_at":"2026-06-15T09:32:10.414Z","repository":{"id":93889044,"uuid":"153686489","full_name":"cwsmith/openarc_sandbox","owner":"cwsmith","description":"sandbox for testing openarc","archived":false,"fork":false,"pushed_at":"2018-12-04T18:54:39.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T00:39:12.256Z","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":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cwsmith.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":"2018-10-18T20:56:08.000Z","updated_at":"2018-12-04T18:54:41.000Z","dependencies_parsed_at":"2023-04-26T15:02:14.566Z","dependency_job_id":null,"html_url":"https://github.com/cwsmith/openarc_sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cwsmith/openarc_sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fopenarc_sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fopenarc_sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fopenarc_sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fopenarc_sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwsmith","download_url":"https://codeload.github.com/cwsmith/openarc_sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fopenarc_sandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34357281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":"2024-11-12T15:29:59.057Z","updated_at":"2026-06-15T09:32:10.383Z","avatar_url":"https://github.com/cwsmith.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openarc_sandbox\nsandbox for testing openarc\n\n## setup\n\n```\nsource env.sh\n```\n\n## build and test emulation\n\n```\nmkdir build-openarc_sandbox-emu\ncd !$\nmake -f $SANDBOX/Makefile SRC=$SANDBOX/reduction emulate\n\nmkdir build-openarc_slidingAvg-emu\ncd !$\nmake -f $SANDBOX/Makefile SRC=$SANDBOX/slidingAvg emulate\n\nmkdir build-openarc_slidingWindow-emu\ncd !$\nmake -f $SANDBOX/Makefile SRC=$SANDBOX/slidingWindow emulate\n```\n\n## build on fpga circuit\n\n```\nmkdir build-openarc_sandbox-fpga\ncd !$\nmake -f $SANDBOX/Makefile SRC=$SANDBOX/reduction device\n\nmkdir build-openarc_slidingAvg-fpga\ncd !$\nmake -f $SANDBOX/Makefile SRC=$SANDBOX/slidingAvg device\n\nmkdir build-openarc_slidingWindow-fpga\ncd !$\nmake -f $SANDBOX/Makefile SRC=$SANDBOX/slidingWindow device\n```\n\n## run on fpga circuit\n```\n1. Set up\n   Create a lease with filters [\"$fpga.board_model\"==\"385A\"] and [\"$node_type\"==\"fpga\"]\n   Launch an instance with image CC-CentOS7-FPGA\n2. Instance environment config\n   export OPENARC_ARCH=3\n   export ACC_DEVICE_TYPE=acc_device_not_host\n   export ACC_DEVICE_NUM=0\n   export OPENARCCRT_UNIFIEDMEM=0\n   export OPENARC_FPGA=ARRIA_X\n3. Copy the project \u0026 run\n   Append instance ssh key to pulic key list on build node\n   scp -r username@fpga01.tacc.chameleoncloud.org:build_directory/cetus_output .\n   cd cetus_output\n   Run the host code:\n     ./slidingAvg\n     ./reduce_sum\n     ./slidingWindow\n   \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwsmith%2Fopenarc_sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwsmith%2Fopenarc_sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwsmith%2Fopenarc_sandbox/lists"}