You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hpc/06_tools_and_software/02_conda_environments.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,14 @@ One of the ways to ensure the reproducibility of your results is to have an inde
23
23
## Advantages/disadvantages of using Conda
24
24
### Advantages
25
25
26
-
- A lot of pre-compiled packages (fast and easy to install)
27
-
- Note for Python: pip also offers pre-compiled packages (wheels). List can be found here https://pythonwheels.com. However, Conda has a significantly larger number of pre-compiled packages.
28
-
- Compiled packages use highly efficient Intel Math Kernel Library (MKL) library
26
+
- A lot of pre-compiled packages (fast and easy to install)
27
+
- Note for Python: pip also offers pre-compiled packages (wheels). List can be found here https://pythonwheels.com. However, Conda has a significantly larger number of pre-compiled packages.
28
+
- Compiled packages use highly efficient Intel Math Kernel Library (MKL) library
29
29
30
30
### Disadvantages
31
31
32
-
- Conda does not take advantage of packages already installed in the system (while [virtualenv and venv](./03_python_packages_with_virtual_environments.md) do)
33
-
- 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
+
- Conda does not take advantage of packages already installed in the system (while [virtualenv and venv](./03_python_packages_with_virtual_environments.md) do)
33
+
- 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)
34
34
35
35
## Initializing Conda
36
36
Load anaconda module
@@ -46,11 +46,11 @@ This page describes the installation of packages on /scratch. One has to remembe
46
46
47
47
Thus you can consider the following options
48
48
49
-
- Reinstall your packages if some of the files get deleted
50
-
- You can do this manually
51
-
- You can do this automatically. For example, within a workflow of a pipeline software like [Nextflow](https://www.nextflow.io/)
52
-
- Pay for "Research Project Space" - read more [here](../03_storage/05_research_project_space.md)
53
-
- Use Singularity and install packages within a corresponding overlay file - read more [here](../07_containers/03_singularity_with_conda.md)
49
+
- Reinstall your packages if some of the files get deleted
50
+
- You can do this manually
51
+
- You can do this automatically. For example, within a workflow of a pipeline software like [Nextflow](https://www.nextflow.io/)
52
+
- Pay for "Research Project Space" - read more [here](../03_storage/05_research_project_space.md)
53
+
- Use Singularity and install packages within a corresponding overlay file - read more [here](../07_containers/03_singularity_with_conda.md)
54
54
55
55
## Python
56
56
Load anaconda module
@@ -176,19 +176,19 @@ Command `conda list --export` will not include packages installed by "install.pa
176
176
177
177
Conda + pakcrat: specific version of R and install.packages (R)
178
178
179
-
- use conda to install version of R you need
180
-
- do not use 'conda install' at all
181
-
- use renv
182
-
- install all the packages using install.packages
183
-
- use [renv as described here](../09_ood/r_packages_with_renv.md) to keep track of the environment
179
+
- use conda to install version of R you need
180
+
- do not use 'conda install' at all
181
+
- use renv
182
+
- install all the packages using install.packages
183
+
- use [renv as described here](../09_ood/r_packages_with_renv.md) to keep track of the environment
184
184
185
185
In order for conda + renv to work, you need to add following steps:
0 commit comments