{"id":17655116,"url":"https://github.com/ickc/toast-extras","last_synced_at":"2025-03-30T09:26:50.314Z","repository":{"id":90861348,"uuid":"204817758","full_name":"ickc/toast-extras","owner":"ickc","description":"Stuffs related to toast","archived":false,"fork":false,"pushed_at":"2024-01-10T15:46:34.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T11:36:41.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ickc.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}},"created_at":"2019-08-28T00:58:13.000Z","updated_at":"2024-02-06T15:31:58.000Z","dependencies_parsed_at":"2024-01-10T17:32:03.623Z","dependency_job_id":"8fdf2045-ec7a-4b26-b52a-524c1f995425","html_url":"https://github.com/ickc/toast-extras","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/ickc%2Ftoast-extras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Ftoast-extras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Ftoast-extras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Ftoast-extras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickc","download_url":"https://codeload.github.com/ickc/toast-extras/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246299330,"owners_count":20755145,"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-10-23T12:40:51.156Z","updated_at":"2025-03-30T09:26:50.278Z","avatar_url":"https://github.com/ickc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toast-extras\n\nStuffs related to toast\n\n# Loading TOAST\n\nAdapt these to your environment,\n\n- prefix to TOAST\n- `python3.10`\n\n## GNU\n\n```bash\n# in /opt/cmb/toast-gnu/compile/bin/run_kernel.sh\n#!/bin/bash\nconda activate /opt/cmb/toast-gnu/conda\n\nexport LD_LIBRARY_PATH=\"/opt/cmb/toast-gnu/compile/lib:$LD_LIBRARY_PATH\"\nexport PYTHONPATH=\"/opt/cmb/toast-gnu/compile/lib/python3.10/site-packages:$PYTHONPATH\"\nexport PATH=\"/opt/cmb/toast-gnu/compile/bin:/opt/cmb/toast-gnu/conda/bin:$PATH\"\n\nexec /opt/cmb/toast-gnu/conda/bin/python -m ipykernel_launcher -f \"$1\"\n```\n\n```json\n# in ~/.local/share/jupyter/kernels/toast-gnu/kernel.json\n{\n \"argv\": [\n  \"/opt/cmb/toast-gnu/compile/bin/run_kernel.sh\",\n  \"{connection_file}\"\n ],\n \"display_name\": \"toast-gnu\",\n \"language\": \"python\"\n}\n```\n\nTo use it with vscode, (see \u003chttps://code.visualstudio.com/docs/python/environments#_environment-variable-definitions-file\u003e)\n\n```sh\n# ${workspaceFolder}/.env\nLD_LIBRARY_PATH=/opt/cmb/toast-gnu/compile/lib:${LD_LIBRARY_PATH}\nPYTHONPATH=/opt/cmb/toast-gnu/compile/lib/python3.10/site-packages:${PYTHONPATH}\nPATH=/opt/cmb/toast-gnu/compile/bin:/opt/cmb/toast-gnu/conda/bin:${PATH}\n```\n\n## Intel\n\nLoading TOAST correctly in JupyterLab, you may need to do\n\n```bash\n# in /scratch/local/toast-intel-fftw/bin/run_kernel.sh\n#!/bin/bash\n\n. activate \"$SCRATCH/local/toast-intel-fftw\"\n. /opt/intel/bin/compilervars.sh -arch intel64\nexec /scratch/local/toast-intel-fftw/bin/python -m ipykernel_launcher -f \"$1\"\n```\n\n```json\n# in ~/.local/share/jupyter/kernels/toast-intel-fftw/kernel.json\n{\n \"argv\": [\n  \"/scratch/local/toast-intel-fftw/bin/run_kernel.sh\",\n  \"{connection_file}\"\n ],\n \"display_name\": \"toast-intel-fftw\",\n \"language\": \"python\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Ftoast-extras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickc%2Ftoast-extras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Ftoast-extras/lists"}