Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revisionBoth sides next revision | ||
software:anaconda:caviness [2021-01-27 10:21] – [Recipes] anita | software:anaconda:caviness [2021-09-30 13:58] – [Recipes] anita | ||
---|---|---|---|
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: | ||
- | </ | ||
- | |||
- | 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: | ||
- | |||
- | |||
- | ==> WARNING: A newer version of conda exists. <== | ||
- | current version: 4.5.11 | ||
- | latest version: 4.8.1 | ||
- | |||
- | Please update conda by running | ||
- | |||
- | $ conda update -n base -c defaults conda | ||
- | |||
- | |||
- | ## 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, | ||
- | # > source activate / | ||
- | # | ||
- | # To deactivate an active environment, | ||
- | # > source deactivate | ||
- | # | ||
- | |||
- | [traine@login00 ~]$ workgroup -g it_css | ||
- | [(it_css: | ||
- | salloc: Pending job allocation 5434421 | ||
- | salloc: job 5434421 queued and waiting for resources | ||
- | salloc: job 5434421 has been allocated resources | ||
- | salloc: Granted job allocation 5434421 | ||
- | salloc: Waiting for resource configuration | ||
- | salloc: Nodes r00n56 are ready for job | ||
- | [traine@r00n56 ~]$ vpkg_devrequire anaconda/ | ||
- | Adding package `anaconda/ | ||
- | [traine@r00n56 ~]$ source activate ~/ | ||
- | (/ | ||
- | (/ | ||
- | [traine@r00n56 ~]$ exit | ||
- | exit | ||
- | salloc: Relinquishing job allocation 5434421 | ||
- | [(it_css: | ||
- | </ | ||
- | |||
- | ===== Recipes ==== | ||
- | |||
- | Examples documented as recipes to be used for specific installations including using a '' | ||
- | |||
- | * [[technical: | ||
- | * [[technical: | ||
- | * Gurobi Python Virtual Environments | ||
- | * [[software: | ||
- | * [[software: | ||
- | * [[technical: | ||
- | * [[technical: | ||
- | * [[technical: |