| 153 | {{{ |
| 154 | [tulaneID@cypress1 pp-1.6.4]$ idev |
| 155 | Requesting 1 node(s) task(s) to normal queue of defq partition |
| 156 | 1 task(s)/node, 20 cpu(s)/task, 2 MIC device(s)/node |
| 157 | Time: 0 (hr) 60 (min). |
| 158 | Submitted batch job 52311 |
| 159 | Seems your requst is pending. |
| 160 | JOBID=52311 begin on cypress01-035 |
| 161 | --> Creating interactive terminal session (login) on node cypress01-035. |
| 162 | --> You have 0 (hr) 60 (min). |
| 163 | [tulaneID@cypress01-035 pp-1.6.4]$ |
| 164 | }}} |
| 165 | |
| 166 | Load the desired Python module |
| 167 | |
| 168 | {{{ |
| 169 | [tulaneID@cypress01-035 pp-1.6.4]$ module load anaconda |
| 170 | [tulaneID@cypress01-035 pp-1.6.4]$ module list |
| 171 | Currently Loaded Modulefiles: |
| 172 | 1) git/2.4.1 3) idev 5) anaconda/2.1.0 |
| 173 | 2) slurm/14.03.0 4) bbcp/amd64_rhel60 |
| 174 | }}} |
| 175 | |
| 176 | Run Python in the command line window |
| 177 | |
| 178 | {{{ |
| 179 | [tulaneID@cypress01-035 pp-1.6.4]$ python |
| 180 | Python 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Aug 21 2014, 18:22:21) |
| 181 | [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 |
| 182 | Type "help", "copyright", "credits" or "license" for more information. |
| 183 | Anaconda is brought to you by Continuum Analytics. |
| 184 | Please check out: http://continuum.io/thanks and https://binstar.org |
| 185 | >>> |
| 186 | }}} |
| 187 | |
| 188 | == Running a Python script in Batch mode == |