Skip to content
Snippets Groups Projects
Forked from SCS / docs.it4i.cz
1550 commits behind, 436 commits ahead of the upstream repository.
modules_anselm.screen 668 B
termrec -e 'ssh -i /home/local/.ssh/id_rsa rus016@anselm.it4i.cz' modules_anselm.ttyrec

# Working with modules

# get the current version of Python
$ python --version

# run Python
python

# right now is version 2.6.6

# search all available Python's modules
module avail |& grep Python/

# for example let's choose a new module Python 3.5.1
$ module load Python/3.5.1-intel-2016.01

# and now get the current version of Python
$ python --version

# run Python
python

# that's correct, version 3.5.1

# now turn back to old version you have to unload module
$ module unload Python/3.5.1-intel-2016.01

$ python --version

# Python version 2.6.6 is ready to use now