![]() For more about this issue and a workaround for local miniconda installations, see the Workaround for the conda init command below. It also makes it impossible to log in to Research Desktop ( RED). bashrc file that stop certain things from working on IU's research supercomputers in particular, it may break the conda activate command itself. UITS Research Technologies recommends not issuing the conda init command, because when it runs, it adds commands to your. To avoid having to issue the conda init command, use the source activate command instead. If you have installed your own local version of miniconda, issuing the conda activate command may prompt you to issue the conda init command. Upon activation, the environment name (for example, env_name) will be prepended to the command prompt for example: ~]$ ![]() Activate your conda environment on the command line, enter (replace env_name with the name and non-default path, if applicable, of the environment you created):.Use the -p option to specify the file path for example (replace username with your IU username):Ĭonda create -p /N/slate/username/env_name pkg1 pkg2 pg3 Create the environment in your Slate directory: Research Technologies recommends installing the environment in your Slate space.To load a miniconda module, on the command line, enter:.To unload the Python module, on the command line, enter:.Miniconda uses Python but prefers its own installation consequently, if your user environment already has Python added, you first must unload that Python module and then load a miniconda module:.This displays the modules that are already loaded to your environment for example: ~]$ module list Currently Loaded Modulefiles:ġ) gcc/6.3.0 3) quota/1.6 5) xalt/2.10.30 7) python/3.8.2 Check whether your user environment has a version of Python loaded already on the command line, enter:.For this reason, conda environments can be large. Within this environment, you can install and delete as many conda packages as you like without making any changes to the system-wide miniconda module.Ĭonda will attempt to resolve any conflicting dependencies between software packages and install all dependencies in the environment. Create a conda environment and install packagesįollow the steps below to create a conda environment. For information on how to create a Slate account, see About Slate high performance storage for research computation at IU. In order to avoid exceeding your home directory disk quota, Research Technologies recommends you use the -p option to build your environments in your Slate directory, rather than your home directory tree. Named environments (those created with the -n option) are placed in a subdirectory of the. As a result, conda environments take up a large amount of disk space. Since Research Technologies installs many commonly used Python packages in the python and deeplearning modules, including numpy, pandas, tensorflow, pytorch, jupyter, and many others, check the Python and deeplearning modules before you install a Python package.Ĭonda installs virtually all dependencies, even system libraries that are a part of Research Technologies operating system installations. However, UITS Research Technologies installs and maintains many software packages on IU's research supercomputers, which users can access with module commands. Package managers can be helpful because they allow users to install packages and their dependencies locally with just one command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |