You are here
Anaconda is a free Python distribtion from Continuum Analytics. It is optimized to run cross-platform. It comes built in with various scientific Python packages such as NumPy, SciPy, Pandas, Matplotlib, Numba, etc. We also installed Pycuda, to enable GPU based computation.
To run this software interactively in a Linux environment run the commands:
module load anaconda python
This opens the Python interpreter and allows interactive execution of Python commands.
An enhanced interpreter, iPython, can be loaded using
module load anaconda ipython
If you would like to run a script, myscript.py, use the following commands:
module load anaconda python myscript.py
Programs can be submitted to a queue using PBS script such as the one below
#PBS -l nodes=1:ppn=1,mem=1gb,walltime=4:00:00 #PBS -m abe cd /location/of/the/script module load anaconda python myscript.py
Some add-on modules in Anaconda need a license file. The license is free for users who register in the continuum website with their .edu address. You will receive the license file in an email which needs to be installed into the ~/.continuum directory. To obtain the license, follow instruction in the Anaconda website.