We offer Python 2.7 and 3.6 through the Anaconda environment manager. The benefit of using the Anaconda environment is that it is built with data science in mind: popular Python modules are already included in the environment, module versions are maintained by Anaconda for compatibility, and researchers can install additional modules to their home directory at any time. You can also create your own Python environments using Conda.
You can read about Anaconda and Conda at https://docs.continuum.io/anaconda/#anaconda-navigator-or-conda.
Using the "Shell" opens a new command-line environment (CLI) where the selected version of Anaconda (2 or 3) becomes the default Python environment. For example, if Anaconda3 is selected, running "
python" invokes Python 3.6, and using "
pip" installs modules for Python 3.6.
- The "Navigator" is a desktop graphical user interface (GUI) that allows you to launch applications and easily manage conda packages, environments and channels without using command-line commands.
Note: The Anaconda GUI and CLI are available only on RCE exec nodes, and cannot be run on the login node.
There are several ways of invoking Anaconda:
- Launch an RCE Powered Shell
- Run "anaconda3-shell"
- You will get a bash shell configured so that when you run "python" it executes Anaconda Python 3.6 with the Anaconda libraries.
Submit a batch job with Executable and Arguments as follows:
- Executable =
- Arguments =
- Have your script executed by Anaconda Python 3.6 with the Anaconda libraries.
Some combination of the above, like opening an RCE Powered Shell, and running a python script as:
The Anaconda 2 versions are:
Tip: Using Anaconda via SSH
- Log in to a RCE desktop session
Select Applications > RCE Powered Applications > Anaconda Shell
- Enter your desired CPU and RAM
Get the Condor job ID
The job ID is listed in the top left-hand side of the window toolbar
Select Applications > System Tools > Terminal
- The job ID is listed in the top left-hand side of the window toolbar
- Close your RCE desktop session (e.g. close your browser)
SSH into the RCE from your local computer
- You should be within your chosen Anaconda environment