-
Notifications
You must be signed in to change notification settings - Fork 37
Added conda section #649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lbarraga
wants to merge
9
commits into
hpcugent:main
Choose a base branch
from
lbarraga:conda
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Added conda section #649
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e87b1b7
create conda document
lbarraga c5019aa
added conda document to Advanced Topics
lbarraga cebe350
fix typo
lbarraga a7aa31a
added conda pkgs export
lbarraga 8a342c7
new intro to better reflect the ideq of condq at HPC
lbarraga 883f8a2
add use of 'source activate' instead of 'conda activate'
lbarraga 9392906
don't use modules when using conda
lbarraga cdd603f
remove word: scientific
lbarraga 4f41dbc
add section about Anaconda enforcing TOS
lbarraga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Conda | ||
|
||
Conda is a software package manager for data science that allows unprivileged (non-administrative) users to search, | ||
fetch, install, upgrade, use, and manage supported open-source software packages and | ||
programming languages/libraries/environments in a directory they have write access to. | ||
Conda allows users to create reproducible software environments | ||
|
||
We do not recommend using conda environments on HPC clusters due to several common issues, | ||
which we will explain in this section. However, we do not forbid the use of conda entirely. In certain situations, | ||
such as testing software, creating new workflows, or teaching a course, it is perfectly acceptable to use it. | ||
|
||
## Performance and Optimization | ||
|
||
Conda's packages are pre-compiled binaries that are designed to work on a wide range of systems. | ||
This means they are not optimized for the specific architecture of HPC clusters, | ||
leading to potential performance drawbacks compared to modules compiled specifically for the HPC environment. | ||
|
||
HPC modules on the other hand, are compiled for the specific architecture of the cluster, | ||
and are optimized for performance. | ||
|
||
## Compatibility and Dependency | ||
|
||
Using Conda in conjunction with centrally installed modules can lead to conflicts and unexpected errors, | ||
making it difficult to debug and manage dependencies. | ||
lbarraga marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
If you do wish to use conda, we recommend only using packages from conda itself, even when they are available as modules. | ||
This will degrade performance, but will avoid conflicts between conda and module dependencies. | ||
|
||
## Package Availability | ||
|
||
Conda has a smaller repository of available packages compared to PyPI, the repository used by pip. | ||
This can limit the availability of specific tools or libraries needed for certain workflows. | ||
|
||
## Environment and Installation Issues | ||
|
||
### Home Directory Usage | ||
|
||
by default, conda installs packages in the user's home directory, | ||
which can quickly fill up disk quotas due to the large number of files and directories it creates. | ||
This is particularly problematic in the HPC environment where home directory quotas are limited. | ||
|
||
If you do wish to use conda, we recommend setting the conda package directory to a location with more storage | ||
space. This can be done by running: | ||
|
||
```bash | ||
export CONDA_PKGS_DIRS=$VSC_DATA/conda_pkgs | ||
``` | ||
|
||
before installing packages into a conda environment. | ||
|
||
|
||
### Modification of Configuration Files | ||
|
||
Conda modifies the .bashrc file in the user's home directory, | ||
lbarraga marked this conversation as resolved.
Show resolved
Hide resolved
|
||
which can lead to conflicts and unintended side effects in the user's environment setup. | ||
|
||
You can avoid the change of the `.bashrc` file by activating the environment with `source activate full/path/to/myenv` | ||
instead of `conda activate myenv`. | ||
|
||
## Anaconda Licensing | ||
|
||
If your organization uses Conda packages from Anaconda channels, | ||
be aware that Anaconda may now be actively enforcing its licensing terms. | ||
Academic, non-profit, and research institutions that previously used Anaconda software for free may now be required to | ||
purchase a commercial license if they have over 200 employees or contractors. | ||
Anaconda has sent legal notices to institutions demanding compliance and threatening backdated billing. | ||
This shift follows changes in Anaconda’s terms of service, | ||
updated in March 2024, and may affect your access to Anaconda’s resources. | ||
Ensure your organization reviews its usage and licensing agreements to avoid potential legal issues. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.