Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| software:anaconda:farber [2020-02-03 18:17] – anita | software:anaconda:farber [2020-11-02 11:54] (current) – [Recipes] anita | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Anaconda on Farber ====== | ||
| + | <code bash> | ||
| + | $ vpkg_versions anaconda | ||
| + | |||
| + | Available versions in package (* = default version): | ||
| + | |||
| + | [/ | ||
| + | anaconda | ||
| + | * 2.5.0 Anaconda 2.5.0 (Python 2.x, 64-bit) | ||
| + | + python2 | ||
| + | 2.5.0 Anaconda 2.5.0 (Python 3.x, 64-bit) | ||
| + | + python3 | ||
| + | 5.0.1 Anaconda 5.0.1 (Python 2.7, 64-bit) | ||
| + | + python2 | ||
| + | 5.0.1 Anaconda 5.0.1 (Python 3.6, 64-bit) | ||
| + | + python3 | ||
| + | 5.2.0 Anaconda 5.2.0 (Python 2.7, 64-bit) | ||
| + | + python2 | ||
| + | 5.2.0 Anaconda 5.2.0 (Python 3.6, 64-bit) | ||
| + | + python3 | ||
| + | python2 | ||
| + | python3 | ||
| + | </ | ||
| + | |||
| + | See [[software: | ||
| + | ===== Virtual Environment ==== | ||
| + | |||
| + | If you are going to follow the instructions for creating an Anaconda virtual environment on Farber 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 Python3, also specify a path in your home directory not in the system path for Anaconda, and ignore the warnings to update '' | ||
| + | |||
| + | See the example below which creates a virtual Anaconda environment based on Python3 for FEniCS called '' | ||
| + | |||
| + | < | ||
| + | [traine@farber ~]$ vpkg_devrequire anaconda/ | ||
| + | Adding package `anaconda/ | ||
| + | [traine@farber ~]$ 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@farber ~]$ workgroup -g it_css | ||
| + | [(it_css: | ||
| + | $ qlogin | ||
| + | Your job 3985323 (" | ||
| + | waiting for interactive job to be scheduled ... | ||
| + | Your interactive job 3985323 has been successfully scheduled. | ||
| + | Establishing / | ||
| + | [(it_css: | ||
| + | Adding package `anaconda/ | ||
| + | [(it_css: | ||
| + | (/ | ||
| + | (/ | ||
| + | [(it_css: | ||
| + | exit | ||
| + | Connection to n038 closed. | ||
| + | / | ||
| + | [(it_css: | ||
| + | </ | ||
| + | |||
| + | ===== Recipes ==== | ||
| + | |||
| + | Examples documented as recipes to be used for specific installations including using a '' | ||
| + | |||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||