René's URL Explorer Experiment


Title: Add platform-dependent Conda YAML and environments/module dependencies · Issue #47 · PPPLDeepLearning/plasma-python · GitHub

Open Graph Title: Add platform-dependent Conda YAML and environments/module dependencies · Issue #47 · PPPLDeepLearning/plasma-python

X Title: Add platform-dependent Conda YAML and environments/module dependencies · Issue #47 · PPPLDeepLearning/plasma-python

Description: The current requirements-travis.txt in the root directory of the repository should be converted to a YAML format that complies with the Conda environment format. Especially note the version range formatting: https://docs.conda.io/project...

Open Graph Description: The current requirements-travis.txt in the root directory of the repository should be converted to a YAML format that complies with the Conda environment format. Especially note the version range f...

X Description: The current requirements-travis.txt in the root directory of the repository should be converted to a YAML format that complies with the Conda environment format. Especially note the version range f...

Opengraph URL: https://github.com/PPPLDeepLearning/plasma-python/issues/47

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add platform-dependent Conda YAML and environments/module dependencies","articleBody":"The current `requirements-travis.txt` in the root directory of the repository should be converted to a YAML format that complies with the [Conda environment format](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually). Especially note the version range formatting: https://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specifications\r\n\r\n`requirements.yaml` should contain the Conda dependencies for a generic (GPU?) platform.\r\n\r\nWe will probably want to have custom Conda environments files for each of the following computers, mostly to handle the non-default Conda channels that may be necessary (e.g. IBM Watson AI for the 2x Power9 architectures with V100s). But we also want to set strict channel priority, be more specific about compatible dependency version ranges, etc. \r\n\r\n- Princeton Research Computing\r\n  - Tiger 2/TigerGPU P100s\r\n  - Traverse V100s\r\n- ALCF\r\n  - Theta KNLs\r\n  - Cooley K80s\r\n- OLCF\r\n   - Summit V100s\r\n\r\nAlso, I am in favor of storing files such as `traverse-env.cmd` containing the following lines, e.g.:\r\n```\r\n#!/usr/bin/env bash\r\n\r\nmodule load anaconda3\r\nconda activate frnn  # must activate conda env before module loads\r\nexport OMPI_MCA_btl=\"tcp,self,vader\"\r\n\r\nmodule load cudatoolkit\r\nmodule load cudnn/cuda-10.1/7.6.1  \r\nmodule load openmpi/gcc/3.1.4/64\r\nmodule load hdf5/gcc/openmpi-3.1.4/1.10.5\r\n```\r\n\r\nThis will make it easier for the user to build FRNN on each platform after creating the Conda environment, e.g. from the new directory named `envs/` or `environments/`:\r\n```\r\nconda env create --file envs/requirements-traverse.yaml\r\n# alternative: \"conda create --name frnn --file traverse.yaml\"\r\nsource traverse-env.cmd\r\npython setup.py install\r\n```\r\nSee [Sample Installation on TigerGPU](https://github.com/PPPLDeepLearning/plasma-python/blob/master/docs/PrincetonUTutorial.md#sample-installation-on-tigergpu), for example.\r\n\r\nAlso, `examples/slurm.cmd` can source the exact same modules in the `.cmd` file for consistency.\r\n\r\nHowever, this will require frequent updates to the `*.cmd` files as system admins upgrade the modules and libraries on the various platforms. \r\n\r\n- [ ] Should the `.yaml` and `.cmd` pairs of files per platform be all stored in a top-level subdirectory, e.g. `environments/`, `env/`, or `envs/`? How do other projects handle this problem and organize such files? Or do they typically only define a single Conda YAML?\r\n- [ ] Have `examples/slurm.cmd` check the hostname in order to automatically `source` the correct `.cmd`?\r\n- [ ] Should the `.cmd` environment files assume that the Conda environment is named `frnn`? Or force the user to define an environment variable `FRNN_CONDA_ENV`?\r\n- [ ] Update [PrincetonUTutorial.md](https://github.com/PPPLDeepLearning/plasma-python/blob/master/docs/PrincetonUTutorial.md) after these changes are made \r\n- [x] Remove all version info from list of dependencies in `setup.py`. \r\n- [ ] Add optional feature dependencies to `setup.py`\r\n\r\n**Current limitations of Conda YAML format**: \r\n\r\n- [ ] Cannot set Conda (strict) channel priority setting within these files. See 336135be2c4d495106726f3f645874cbd186ae24.\r\nFollow conda/conda#8675 for updates regarding this requested feature extension. Until then, it is recommended that each user modifies their `.condarc` local configuration with\r\n`conda config --set channel_priority strict`\r\n\r\n- [ ] Should not install `mpi4py` via pip within the Conda YAML file, since we need to source the modules to get the system MPI libraries before `pip install mpi4py`. There is currently no way to execute arbitrary shell commands, modify environment variables, etc. between the `conda install pkg` and `pip install pkg` stages of the environment creation process from a YAML file, as far as I am aware.\r\nSee similar requests in https://github.com/conda/conda/issues?q=is%3Aopen+is%3Aissue+label%3Atag-environment_spec.\r\nSee https://github.com/PPPLDeepLearning/plasma-python/pull/46/commits/f68f2f0c342656939b170311ca2984c73deceafa.","author":{"url":"https://github.com/felker","@type":"Person","name":"felker"},"datePublished":"2019-12-05T22:45:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/47/plasma-python/issues/47"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:38d7b242-2dfa-c7ed-bb83-0d6078c90c5c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE7A:2FA6C4:E412F:1281E7:698E68FA
html-safe-nonce430d4e7bdd529ea01820a723861bd19a352422395db9184f0458f3667ab77871
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTdBOjJGQTZDNDpFNDEyRjoxMjgxRTc6Njk4RTY4RkEiLCJ2aXNpdG9yX2lkIjoiMjExOTg2MzYxMjczODUyOTUzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac39a93fb60624ae6d8f9f712a636d8ca13c2ce1f26006c959f9f49ce0a85b6c17
hovercard-subject-tagissue:533641971
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PPPLDeepLearning/plasma-python/47/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2d504b8b3b95611d82ed8df61f6ddd3017390b6c9abfe961a2dadc16903061d4/PPPLDeepLearning/plasma-python/issues/47
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2d504b8b3b95611d82ed8df61f6ddd3017390b6c9abfe961a2dadc16903061d4/PPPLDeepLearning/plasma-python/issues/47
og:image:altThe current requirements-travis.txt in the root directory of the repository should be converted to a YAML format that complies with the Conda environment format. Especially note the version range f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefelker
hostnamegithub.com
expected-hostnamegithub.com
None666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725
turbo-cache-controlno-preview
go-importgithub.com/PPPLDeepLearning/plasma-python git https://github.com/PPPLDeepLearning/plasma-python.git
octolytics-dimension-user_id23219101
octolytics-dimension-user_loginPPPLDeepLearning
octolytics-dimension-repository_id72968591
octolytics-dimension-repository_nwoPPPLDeepLearning/plasma-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id72968591
octolytics-dimension-repository_network_root_nwoPPPLDeepLearning/plasma-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec5daa44975c44e187dd9ea0d761c37973489d508
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PPPLDeepLearning/plasma-python/issues/47#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPPPLDeepLearning%2Fplasma-python%2Fissues%2F47
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPPPLDeepLearning%2Fplasma-python%2Fissues%2F47
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PPPLDeepLearning%2Fplasma-python
Reloadhttps://github.com/PPPLDeepLearning/plasma-python/issues/47
Reloadhttps://github.com/PPPLDeepLearning/plasma-python/issues/47
Reloadhttps://github.com/PPPLDeepLearning/plasma-python/issues/47
PPPLDeepLearning https://github.com/PPPLDeepLearning
plasma-pythonhttps://github.com/PPPLDeepLearning/plasma-python
Notifications https://github.com/login?return_to=%2FPPPLDeepLearning%2Fplasma-python
Fork 43 https://github.com/login?return_to=%2FPPPLDeepLearning%2Fplasma-python
Star 88 https://github.com/login?return_to=%2FPPPLDeepLearning%2Fplasma-python
Code https://github.com/PPPLDeepLearning/plasma-python
Issues 21 https://github.com/PPPLDeepLearning/plasma-python/issues
Pull requests 1 https://github.com/PPPLDeepLearning/plasma-python/pulls
Actions https://github.com/PPPLDeepLearning/plasma-python/actions
Projects 0 https://github.com/PPPLDeepLearning/plasma-python/projects
Security 0 https://github.com/PPPLDeepLearning/plasma-python/security
Insights https://github.com/PPPLDeepLearning/plasma-python/pulse
Code https://github.com/PPPLDeepLearning/plasma-python
Issues https://github.com/PPPLDeepLearning/plasma-python/issues
Pull requests https://github.com/PPPLDeepLearning/plasma-python/pulls
Actions https://github.com/PPPLDeepLearning/plasma-python/actions
Projects https://github.com/PPPLDeepLearning/plasma-python/projects
Security https://github.com/PPPLDeepLearning/plasma-python/security
Insights https://github.com/PPPLDeepLearning/plasma-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/PPPLDeepLearning/plasma-python/issues/47
New issuehttps://github.com/login?return_to=https://github.com/PPPLDeepLearning/plasma-python/issues/47
#46https://github.com/PPPLDeepLearning/plasma-python/pull/46
Add platform-dependent Conda YAML and environments/module dependencieshttps://github.com/PPPLDeepLearning/plasma-python/issues/47#top
#46https://github.com/PPPLDeepLearning/plasma-python/pull/46
https://github.com/felker
https://github.com/felker
felkerhttps://github.com/felker
on Dec 5, 2019https://github.com/PPPLDeepLearning/plasma-python/issues/47#issue-533641971
Conda environment formathttps://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually
https://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specificationshttps://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specifications
Sample Installation on TigerGPUhttps://github.com/PPPLDeepLearning/plasma-python/blob/master/docs/PrincetonUTutorial.md#sample-installation-on-tigergpu
PrincetonUTutorial.mdhttps://github.com/PPPLDeepLearning/plasma-python/blob/master/docs/PrincetonUTutorial.md
336135bhttps://github.com/PPPLDeepLearning/plasma-python/commit/336135be2c4d495106726f3f645874cbd186ae24
Allow configuration setting to be set in environment.yaml file conda/conda#8675https://github.com/conda/conda/issues/8675
https://github.com/conda/conda/issues?q=is%3Aopen+is%3Aissue+label%3Atag-environment_spechttps://github.com/conda/conda/issues?q=is%3Aopen+is%3Aissue+label%3Atag-environment_spec
f68f2f0https://github.com/PPPLDeepLearning/plasma-python/commit/f68f2f0c342656939b170311ca2984c73deceafa
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.