| 7 | For python as well as all other computationally intensive workloads, you should always use a compute node, either interactively or in batch, rather than a login node. (See [[cypress/Python#RunningPythonInteractively|below]].) |
| 8 | |
| 9 | To query your working version of python, you can always use the command **python ----version** regardless of whether or not you use a module or a conda virtual environment (see [PytonInstallPackage here]). |
| 10 | |
| 11 | The default version of python on Cypress is Python 2.6.6 |
| 12 | |
| 13 | {{{ |
| 14 | [tulaneID@cypress1 ~]$python --version |
| 15 | Python 2.6.6 |
| 16 | }}} |
| 17 | |
| 18 | Other versions of python are available on Cypress via modules with the following major names. (See [ModuleCommand Module command]). |
| 19 | |
| 20 | * python |
| 21 | * anaconda |
| 22 | * anaconda3 |
| 23 | |
| 24 | For example, the following is a query in short format for modules on Cypress using the search pattern **anaconda**. |
| 25 | |
| 26 | {{{ |
| 27 | [tulaneID@cypress1 ~]$module avail -t anaconda |
| 28 | /cm/local/modulefiles: |
| 29 | /cm/shared/modulefiles: |
| 30 | /share/apps/modulefiles: |
| 31 | anaconda/2.1.0 |
| 32 | anaconda/2.5.0 |
| 33 | anaconda3/2018.12 |
| 34 | anaconda3/2019.03 |
| 35 | anaconda3/2020.07 |
| 36 | anaconda3/4.0.0 |
| 37 | anaconda3/5.1.0 |
| 38 | /share/apps/centos7/modulefiles: |
| 39 | anaconda3/2023.07 |
| 40 | }}} |
| 41 | |
| 42 | In particular, for any module listed under /share/apps/centos7, you'll need to use a compute node in partition **centos7** (see [[cypress/using#Requestingpartitioncentos7withglibc2.17|here]]). |
| 43 | |