Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| software:anaconda:caviness [2024-07-30 15:06] – [Recipes] anita | software:anaconda:caviness [2024-08-02 15:08] (current) – [Virtual Environment] thuachen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Anaconda on Caviness ====== | ||
| + | <code bash> | ||
| + | $ vpkg_versions anaconda | ||
| + | |||
| + | Available versions in package (* = default version): | ||
| + | |||
| + | [/ | ||
| + | anaconda | ||
| + | * 5.2.0: | ||
| + | 5.2.0: | ||
| + | 2020.07 | ||
| + | 2022.05 | ||
| + | 2023.03 | ||
| + | 2024.02 | ||
| + | </ | ||
| + | |||
| + | See [[software: | ||
| + | ===== Virtual Environment ==== | ||
| + | |||
| + | If you are going to follow the instructions for creating an Anaconda virtual environment on Caviness consider using a slight modification to the documentation provided by each software package and use VALET to load the proper version of Anaconda for Python 2 or Python 3, specify a path in your home ('' | ||
| + | |||
| + | |||
| + | See the example below which creates a virtual Anaconda environment based on Python 3 for FEniCS called '' | ||
| + | |||
| + | < | ||
| + | [traine@login00 ~]$ vpkg_devrequire anaconda/ | ||
| + | Adding package `anaconda/ | ||
| + | [traine@login00 ~]$ conda create -p ~/ | ||
| + | Solving environment: | ||
| + | |||
| + | ## Package Plan ## | ||
| + | |||
| + | environment location: / | ||
| + | |||
| + | added / updated specs: | ||
| + | - fenics | ||
| + | - fenics-dijitso | ||
| + | - fenics-dolfin | ||
| + | - fenics-ffc | ||
| + | - fenics-fiat | ||
| + | - fenics-libdolfin | ||
| + | - fenics-ufl | ||
| + | - mshr | ||
| + | |||
| + | |||
| + | The following packages will be downloaded: | ||
| + | ... | ||
| + | ... | ||
| + | ... | ||
| + | Proceed ([y]/n)? y | ||
| + | |||
| + | Preparing transaction: | ||
| + | Verifying transaction: | ||
| + | Executing transaction: | ||
| + | ... | ||
| + | ... | ||
| + | ... | ||
| + | # | ||
| + | # To activate this environment, | ||
| + | # > conda activate / | ||
| + | # | ||
| + | # To deactivate an active environment, | ||
| + | # > conda deactivate | ||
| + | # | ||
| + | |||
| + | [traine@login00 ~]$ workgroup -g it_css | ||
| + | [(it_css: | ||
| + | salloc: Pending job allocation 28214017 | ||
| + | salloc: job 28214017 queued and waiting for resources | ||
| + | salloc: job 28214017 has been allocated resources | ||
| + | salloc: Granted job allocation 28214017 | ||
| + | salloc: Waiting for resource configuration | ||
| + | salloc: Nodes r00n56 are ready for job | ||
| + | [traine@r00n56 ~]$ vpkg_devrequire anaconda/ | ||
| + | Adding package `anaconda/ | ||
| + | [traine@r00n56 ~]$ conda activate ~/ | ||
| + | (/ | ||
| + | (/ | ||
| + | [traine@r00n56 ~]$ exit | ||
| + | logout | ||
| + | salloc: Relinquishing job allocation 28214017 | ||
| + | [(it_css: | ||
| + | </ | ||
| + | |||
| + | ===== Recipes ==== | ||
| + | |||
| + | Examples documented as recipes to be used for specific installations including using a '' | ||
| + | |||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * Gurobi Python Virtual Environments | ||
| + | * [[software: | ||
| + | * [[software: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||