You may use the echo command with redirection to insert the script path into your. bashrc file and then insert the path to the script into the file. To automate the configuration process, add module load to your. source $ANACONDA2_SHįigure 2.1 – Executing the Anaconda Setup Script Replace the “2” with “3” if you use the Anaconda 3 distribution. Figure 2.1 shows how to execute this script for the Anaconda 2 distribution. The name of the environment variable is ANACONDA2_SH for the Anaconda 2 distribution and ANACONDA3_SH for the Anaconda 3 distribution. An environment variable defines the path to this script. To configure your shell to use Conda, execute Conda’s setup script. The term “default” will appear in parentheses next to the module. To determine which version is the default, review the output of module avail anaconda. The default version for that Anaconda distribution will be loaded. If you do not require a specific version of Anaconda, you should execute the same command but exclude the version number. For example, to load Anaconda 2 version 4.3.1, execute module load anaconda2/4.3.1. Replace with the necessary distribution and version number. To load the appropriate Anaconda module, execute module load. They should indicate which distribution and version you should use. If you are unsure which distribution and version to use, review the documentation for the software package(s) you require. To verify which versions are installed on the cluster, execute module avail anaconda. At the time of this writing, five versions of Anaconda are installed on the cluster. Loading AnacondaĪnaconda is a loadable module on the cluster. In this guide, you will learn how to use Conda for your projects on the cluster. It takes care of the tedious tasks related to packages and their dependencies so that you can focus on your work. Originally designed for Python, Conda can handle nearly any programming language with ease. Conda is Anaconda’s package, dependency, and environment management solution. OIT News: High Performance & Scientific ComputingĪnaconda is a popular data science platform used in a wide variety of fields.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |