|
1 | 1 | # Conda Environments (Python, R) |
2 | 2 |
|
3 | 3 | :::tip |
4 | | -This page describes how you can create conda environments without containers in `$SCRATCH`/`/home/$USER`. We strongly encourage you to create conda enviroments within Overlay files attached to Apptainer containers [as decribed in this section](../07_containers/03_singularity_with_conda.md). Please note that creating both kinds of conda environments is strongly discouraged as it leads to packages from one environment being accidentally used in another. |
| 4 | +This page describes how you can create conda environments without containers in `$SCRATCH`/`/home/$USER`. We strongly encourage you to create conda environments within Overlay files attached to Apptainer containers [as described in this section](../07_containers/03_singularity_with_conda.md). Please note that creating both kinds of conda environments is strongly discouraged as it leads to packages from one environment being accidentally used in another. |
5 | 5 | ::: |
6 | 6 |
|
7 | 7 |
|
@@ -30,21 +30,22 @@ However, Conda has a significantly larger number of pre-compiled packages. |
30 | 30 | - Conda does not take advantage of packages already installed in the system (while [virtualenv and venv](./04_python_packages_with_virtual_environments.mdx) do) |
31 | 31 | - As you will see below, you may need to do additional steps to keep track of all installed packages (including those installed by pip and/or install.packages) |
32 | 32 |
|
33 | | -::::warning[Automatic deletion of your files] |
34 | | -This page describes the installation of packages on `/scratch`. One has to remember, though, that files stored in the HPC scratch file system are subject to the HPC Scratch old file purging policy: <br /> |
35 | | -Files on the `/scratch` file system that have not been accessed for 60 or more days will be purged. <br /> |
36 | | -You can read more this in [Data Management](../03_storage/01_intro_and_data_management.mdx). |
37 | 33 |
|
| 34 | +<details> |
| 35 | +<summary> |
| 36 | +**Automatic deletion of your files** |
| 37 | +Files on the `/scratch` file system that have not been accessed for 60 or more days will be purged (see [HPC Storage](../03_storage/01_intro_and_data_management.mdx) for details). Click to see how you can work around this limitation. |
| 38 | +</summary> |
38 | 39 | :::tip |
39 | 40 | Thus you can consider the following options: |
40 | | - |
41 | 41 | - Reinstall your packages if some of the files get deleted |
42 | 42 | - You can do this manually |
43 | 43 | - You can do this automatically. For example, within a workflow of a pipeline software like [Nextflow](https://www.nextflow.io/) |
44 | 44 | - Pay for "Research Project Space" - for details see [Research Project Space](../03_storage/05_research_project_space.mdx) |
45 | | -- Use Singularity and install packages within a corresponding overlay file - for details see [Singularity with Conda](../07_containers/03_singularity_with_conda.md) |
| 45 | +- Use Singularity and install packages within a corresponding overlay file - Details available at [Squash File System and Singularity](../07_containers/04_squash_file_system_and_singularity.md) |
46 | 46 | ::: |
47 | | -:::: |
| 47 | +</details> |
| 48 | + |
48 | 49 |
|
49 | 50 | ## Initializing Conda |
50 | 51 | Load anaconda module |
|
0 commit comments