Changes between Version 3 and Version 4 of cypress/Python


Ignore:
Timestamp:
08/19/15 13:26:11 (9 years ago)
Author:
cmaggio
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/Python

    v3 v4  
    147147}}}
    148148
    149 == Submitting a Python Job using SLURM ==
     149== Running Python Interactively ==
    150150
     151Start an interactive session using idev
    151152
     153{{{
     154[tulaneID@cypress1 pp-1.6.4]$ idev
     155Requesting 1 node(s)  task(s) to normal queue of defq partition
     1561 task(s)/node, 20 cpu(s)/task, 2 MIC device(s)/node
     157Time: 0 (hr) 60 (min).
     158Submitted batch job 52311
     159Seems your requst is pending.
     160JOBID=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
     166Load 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
     171Currently 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
     176Run Python in the command line window
     177
     178{{{
     179[tulaneID@cypress01-035 pp-1.6.4]$ python
     180Python 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
     182Type "help", "copyright", "credits" or "license" for more information.
     183Anaconda is brought to you by Continuum Analytics.
     184Please check out: http://continuum.io/thanks and https://binstar.org
     185>>>
     186}}}
     187
     188== Running a Python script in Batch mode ==
    152189
    153190[[cypress/IntoToHpcWorkshop2015|Return to Workshop Homepage]]