Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| software:anaconda:darwin [2024-07-30 15:04] – [Recipes] anita | software:anaconda:darwin [2024-08-02 15:07] (current) – [Virtual Environment] thuachen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Anaconda on DARWIN ====== | ||
| + | <code bash> | ||
| + | $ vpkg_versions anaconda | ||
| + | |||
| + | Available versions in package (* = default version): | ||
| + | |||
| + | [/ | ||
| + | anaconda | ||
| + | * 5.3.1: | ||
| + | 5.3.1: | ||
| + | 2020.11: | ||
| + | 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 DARWIN 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 ~/ | ||
| + | Retrieving notices: ...working... done | ||
| + | Channels: | ||
| + | - conda-forge | ||
| + | - defaults | ||
| + | Platform: linux-64 | ||
| + | Collecting package metadata (repodata.json): | ||
| + | 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 5275439 | ||
| + | salloc: job 5275439 queued and waiting for resources | ||
| + | salloc: job 5275439 has been allocated resources | ||
| + | salloc: Granted job allocation 5275439 | ||
| + | salloc: Waiting for resource configuration | ||
| + | salloc: Nodes r1n00 are ready for job | ||
| + | [traine@r1n00 ~]$ vpkg_devrequire anaconda/ | ||
| + | Adding package `anaconda/ | ||
| + | [traine@r1n00 ~]$ conda activate ~/ | ||
| + | (/ | ||
| + | (/ | ||
| + | [traine@r1n00 ~]$ exit | ||
| + | logout | ||
| + | salloc: Relinquishing job allocation 5275439 | ||
| + | [(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: | ||