Skip to content
Snippets Groups Projects
Commit dd5439c9 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

revision ~]$ -> $

parent 19970283
No related branches found
Tags
6 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!196Master,!167Add soft
...@@ -18,7 +18,7 @@ On the clusters we have the Anaconda2 and Anaconda3 software installed. How to u ...@@ -18,7 +18,7 @@ On the clusters we have the Anaconda2 and Anaconda3 software installed. How to u
Use the command `ml av conda` to get up-to-date versions of the modules. Use the command `ml av conda` to get up-to-date versions of the modules.
```console ```console
~]$ ml av conda $ ml av conda
------------- /apps/modules/lang --------------------------------- ------------- /apps/modules/lang ---------------------------------
Anaconda2/4.4.0 Anaconda3/4.4.0 Anaconda2/4.4.0 Anaconda3/4.4.0
...@@ -31,10 +31,10 @@ The default is Python 2.7 ...@@ -31,10 +31,10 @@ The default is Python 2.7
### First Usage Module Anaconda2 ### First Usage Module Anaconda2
```console ```console
~]$ ml Anaconda2/4.4.0 $ ml Anaconda2/4.4.0
~]$ python --version $ python --version
Python 2.7.13 :: Anaconda 4.4.0 (64-bit) Python 2.7.13 :: Anaconda 4.4.0 (64-bit)
~]$ conda install numpy $ conda install numpy
Fetching package metadata ......... Fetching package metadata .........
Solving package specifications: . Solving package specifications: .
...@@ -55,8 +55,8 @@ CondaIOError: Missing write permissions in: /apps/all/Anaconda2/4.4.0 ...@@ -55,8 +55,8 @@ CondaIOError: Missing write permissions in: /apps/all/Anaconda2/4.4.0
# This may be done using the command: # This may be done using the command:
# #
# $ conda create -n my_root --clone="/apps/all/Anaconda2/4.4.0" # $ conda create -n my_root --clone="/apps/all/Anaconda2/4.4.0"
~]$ $
~]$ conda create -n anaconda2 --clone="/apps/all/Anaconda2/4.4.0" $ conda create -n anaconda2 --clone="/apps/all/Anaconda2/4.4.0"
Source: /apps/all/Anaconda2/4.4.0 Source: /apps/all/Anaconda2/4.4.0
Destination: /home/svi47/.conda/envs/anaconda2 Destination: /home/svi47/.conda/envs/anaconda2
The following packages cannot be cloned out of the root environment: The following packages cannot be cloned out of the root environment:
...@@ -76,8 +76,8 @@ Packages: 213 ...@@ -76,8 +76,8 @@ Packages: 213
### Usage Module Anaconda2 ### Usage Module Anaconda2
```console ```console
~]$ ml Anaconda2/4.4.0 $ ml Anaconda2/4.4.0
~]$ source activate anaconda2 $ source activate anaconda2
(anaconda2) ~]$ (anaconda2) ~]$
``` ```
...@@ -88,10 +88,10 @@ The default is Python 3.6 ...@@ -88,10 +88,10 @@ The default is Python 3.6
### First usage Module Anaconda3 ### First usage Module Anaconda3
```console ```console
~]$ ml Anaconda3/4.4.0 $ ml Anaconda3/4.4.0
~]$ python --version $ python --version
Python 3.6.1 :: Anaconda 4.4.0 (64-bit) Python 3.6.1 :: Anaconda 4.4.0 (64-bit)
~]$ conda install numpy $ conda install numpy
Fetching package metadata ......... Fetching package metadata .........
Solving package specifications: . Solving package specifications: .
...@@ -112,8 +112,8 @@ CondaIOError: Missing write permissions in: /apps/all/Anaconda3/4.4.0 ...@@ -112,8 +112,8 @@ CondaIOError: Missing write permissions in: /apps/all/Anaconda3/4.4.0
# This may be done using the command: # This may be done using the command:
# #
# $ conda create -n my_root --clone="/apps/all/Anaconda3/4.4.0" # $ conda create -n my_root --clone="/apps/all/Anaconda3/4.4.0"
~]$ $
~]$ conda create -n anaconda3 --clone="/apps/all/Anaconda3/4.4.0" $ conda create -n anaconda3 --clone="/apps/all/Anaconda3/4.4.0"
Source: /apps/all/Anaconda3/4.4.0 Source: /apps/all/Anaconda3/4.4.0
Destination: /home/svi47/.conda/envs/anaconda3 Destination: /home/svi47/.conda/envs/anaconda3
The following packages cannot be cloned out of the root environment: The following packages cannot be cloned out of the root environment:
...@@ -131,14 +131,14 @@ Files: 6 ...@@ -131,14 +131,14 @@ Files: 6
# To deactivate this environment, use: # To deactivate this environment, use:
# > source deactivate anaconda3 # > source deactivate anaconda3
# #
~]$ source activate anaconda3 $ source activate anaconda3
(anaconda3) ~]$ (anaconda3) ~]$
``` ```
### Usage Module Anaconda3 ### Usage Module Anaconda3
```console ```console
~]$ ml Anaconda3/4.4.0 $ ml Anaconda3/4.4.0
~]$ source activate anaconda3 $ source activate anaconda3
(anaconda3) ~]$ (anaconda3) ~]$
``` ```
...@@ -15,7 +15,7 @@ On the clusters we have the Python 2.X and Python 3.X software installed. How to ...@@ -15,7 +15,7 @@ On the clusters we have the Python 2.X and Python 3.X software installed. How to
Use the command `ml av python/` to get up-to-date versions of the modules. Use the command `ml av python/` to get up-to-date versions of the modules.
```console ```console
~]$ ml av python/ $ ml av python/
-------------------------- /apps/modules/lang -------------------------- -------------------------- /apps/modules/lang --------------------------
Python/2.7.8-intel-2015b Python/2.7.9-gompi-2015e Python/2.7.10-GCC-4.9.3-2.25-bare Python/2.7.11-intel-2016a Python/3.4.3-intel-2015b Python/3.5.2-intel-2017.00 Python/2.7.8-intel-2015b Python/2.7.9-gompi-2015e Python/2.7.10-GCC-4.9.3-2.25-bare Python/2.7.11-intel-2016a Python/3.4.3-intel-2015b Python/3.5.2-intel-2017.00
...@@ -38,7 +38,7 @@ On the clusters we have the Python 2.X and Python 3.X software installed. How to ...@@ -38,7 +38,7 @@ On the clusters we have the Python 2.X and Python 3.X software installed. How to
Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. This release contains many of the features that were first released in Python 3.1. Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. This release contains many of the features that were first released in Python 3.1.
```console ```console
~]$ ml av python/2 $ ml av python/2
----------------------------------------------------------------------------------------------- /apps/modules/lang ------------------------------------------------------------------------------------------------ ----------------------------------------------------------------------------------------------- /apps/modules/lang ------------------------------------------------------------------------------------------------
Python/2.7.8-intel-2015b Python/2.7.9-GNU-5.1.0-2.25 Python/2.7.9-intel-2016.01 Python/2.7.11-foss-2016a Python/2.7.11-intel-2017a Python/2.7.8-intel-2015b Python/2.7.9-GNU-5.1.0-2.25 Python/2.7.9-intel-2016.01 Python/2.7.11-foss-2016a Python/2.7.11-intel-2017a
...@@ -58,17 +58,17 @@ Python 2.7 is scheduled to be the last major version in the 2.x series before it ...@@ -58,17 +58,17 @@ Python 2.7 is scheduled to be the last major version in the 2.x series before it
### Used Module Python/2.X ### Used Module Python/2.X
```console ```console
~]$ python --version $ python --version
Python 2.6.6 Python 2.6.6
~]$ ml Python/2.7.13 $ ml Python/2.7.13
~]$ python --version $ python --version
Python 2.7.1 Python 2.7.1
``` ```
### Packages in Python/2.X ### Packages in Python/2.X
```console ```console
~]$ pip list $ pip list
appdirs (1.4.3) appdirs (1.4.3)
asn1crypto (0.22.0) asn1crypto (0.22.0)
backports-abc (0.5) backports-abc (0.5)
...@@ -82,9 +82,9 @@ beautifulsoup4 (4.5.3) ...@@ -82,9 +82,9 @@ beautifulsoup4 (4.5.3)
### How to Install New Package to Python/2.X? ### How to Install New Package to Python/2.X?
```console ```console
~]$ ml Python/2.7.13 $ ml Python/2.7.13
~]$ python --version $ python --version
~]$ pip install wheel --user $ pip install wheel --user
Collecting wheel Collecting wheel
Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB) Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB)
100% |████████████████████████████████| 51kB 835kB/s 100% |████████████████████████████████| 51kB 835kB/s
...@@ -95,9 +95,9 @@ Successfully installed wheel-0.30.0 ...@@ -95,9 +95,9 @@ Successfully installed wheel-0.30.0
### How to Update Package in Python/2.X? ### How to Update Package in Python/2.X?
```console ```console
~]$ ml Python/2.7.13 $ ml Python/2.7.13
~]$ python --version $ python --version
~]$ pip install scipy --upgrade --user $ pip install scipy --upgrade --user
Collecting scipy Collecting scipy
Downloading scipy-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB) Downloading scipy-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB)
100% |████████████████████████████████| 45.0MB 5.8kB/s 100% |████████████████████████████████| 45.0MB 5.8kB/s
...@@ -111,7 +111,7 @@ Successfully installed scipy-0.19.1 ...@@ -111,7 +111,7 @@ Successfully installed scipy-0.19.1
Python 3.0 (a.k.a. "Python 3000" or "Py3k") is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. Also, the standard library has been reorganized in a few prominent places. Python 3.0 (a.k.a. "Python 3000" or "Py3k") is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. Also, the standard library has been reorganized in a few prominent places.
```console ```console
~]$ ml av python/3 $ ml av python/3
---------------------- /apps/modules/lang ---------------------- ---------------------- /apps/modules/lang ----------------------
Python/3.4.3-intel-2015b Python/3.5.1-intel-2017.00 Python/3.5.2-foss-2016a Python/3.5.2 Python/3.6.2-base (D) Python/3.4.3-intel-2015b Python/3.5.1-intel-2017.00 Python/3.5.2-foss-2016a Python/3.5.2 Python/3.6.2-base (D)
...@@ -127,17 +127,17 @@ Python 3.0 (a.k.a. "Python 3000" or "Py3k") is a new version of the language tha ...@@ -127,17 +127,17 @@ Python 3.0 (a.k.a. "Python 3000" or "Py3k") is a new version of the language tha
### Used Module Python/3.X ### Used Module Python/3.X
```console ```console
~]$ python --version $ python --version
Python 2.6.6 Python 2.6.6
~]$ ml Python/3.6.2-base $ ml Python/3.6.2-base
~]$ python --version $ python --version
Python 3.6.2 Python 3.6.2
``` ```
### Packages in Python/3.X ### Packages in Python/3.X
```console ```console
~]$ pip3 list $ pip3 list
nose (1.3.7) nose (1.3.7)
pip (8.0.2) pip (8.0.2)
setuptools (20.1.1) setuptools (20.1.1)
...@@ -146,10 +146,10 @@ setuptools (20.1.1) ...@@ -146,10 +146,10 @@ setuptools (20.1.1)
### How to Install New Package to Python/3.X ### How to Install New Package to Python/3.X
```console ```console
~]$ ml Python/3.6.2-base $ ml Python/3.6.2-base
~]$ python --version $ python --version
Python 3.6.2 Python 3.6.2
~]$ pip3 install pandas --user $ pip3 install pandas --user
Collecting pandas Collecting pandas
Downloading pandas-0.20.3.tar.gz (10.4MB) Downloading pandas-0.20.3.tar.gz (10.4MB)
100% |████████████████████████████████| 10.4MB 42kB/s 100% |████████████████████████████████| 10.4MB 42kB/s
...@@ -176,7 +176,7 @@ Successfully installed numpy-1.13.1 pandas-0.20.3 python-dateutil-2.6.1 pytz-201 ...@@ -176,7 +176,7 @@ Successfully installed numpy-1.13.1 pandas-0.20.3 python-dateutil-2.6.1 pytz-201
### How to Update Package in Python/3.X? ### How to Update Package in Python/3.X?
```console ```console
~]$ pip3 install scipy --upgrade --user $ pip3 install scipy --upgrade --user
Collecting scipy Collecting scipy
Downloading scipy-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB) Downloading scipy-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB)
100% |████████████████████████████████| 45.0MB 5.8kB/s 100% |████████████████████████████████| 45.0MB 5.8kB/s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment