Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Ãœberarbeitung | Letzte Ãœberarbeitung Beide Seiten der Revision | ||
hlr:phoenix:nutzeranleitung [2023/08/17 08:30] matfranz [Jobfile] |
hlr:phoenix:nutzeranleitung [2023/09/05 17:54] matfranz [Starting Ansys jobs] |
||
---|---|---|---|
Zeile 1014: | Zeile 1014: | ||
file.close | file.close | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | =====Anaconda===== | ||
+ | |||
+ | [[https://www.anaconda.com/ | Anaconda]] is a distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. | ||
+ | In this part we will explain, how you can download and install Anaconda on Phoenix and how you can use it to set up custom environments for different purposes. | ||
+ | |||
+ | |||
+ | ====Installation==== | ||
+ | |||
+ | * Go to the Anaconda download page using your web browser: [[https://www.anaconda.com/download#downloads | Anaconda Download Page]]. | ||
+ | * Choose the appropriate distribution for Phoenix "Linux 64-Bit (x86) Installer" and copy the link address. | ||
+ | * Log in to the Phoenix as usual. | ||
+ | * Use the "wget" command to download the Anaconda installer using the link you copied (replace <paste_link_here> with the actual link you copied): | ||
+ | <code> | ||
+ | wget <paste_link_here> | ||
+ | </code> | ||
+ | * After the download is complete, make the Anaconda installer script executable (replace <version> with the version number you downloaded): | ||
+ | <code> | ||
+ | chmod +x Anaconda3-<version>-Linux-x86_64.sh | ||
+ | </code> | ||
+ | * Run the Anaconda installer script. Follow the prompts and accept the license agreement: | ||
+ | <code> | ||
+ | ./Anaconda3-<version>-Linux-x86_64.sh | ||
+ | </code> | ||
+ | * During the installation process, you will be asked to confirm the installation location. Use the default location, this should be /home/<your_username>/anaconda3. The installation process will take several minutes. | ||
+ | |||
+ | |||
+ | ====Environment Management==== | ||
+ | Conda is a powerful package manager and environment manager that you can use in a terminal window. | ||
+ | Conda allows you to create separate environments containing files, packages, and their dependencies that will not interact with other environments. | ||
+ | When you begin using conda, you already have a default environment named ''base''. | ||
+ | You don't want to put programs into your base environment, though. | ||
+ | Create separate environments to keep your programs isolated from each other. | ||
+ | To start the ''base'' environment, navigate to your ''/home''-folder, in there should be a folder named ''anaconda3'' and use the command: | ||
+ | source anaconda3/bin/activate | ||
+ | If you installed Anaconda to the default location (your ''/home''-folder), you can also use the command: | ||
+ | source ~/anaconda3/bin/activate | ||
+ | In front of your prompt **(base)** should be displayed. \\ | ||