Difference between revisions of "Python for Scientific programming"

From Gridkaschool
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
GridKa School has provided machines with the above software pre-installed, to which you can log in remotely, but if you install the required packages on your laptop you will be more comfortable working in a familiar environment.
 
GridKa School has provided machines with the above software pre-installed, to which you can log in remotely, but if you install the required packages on your laptop you will be more comfortable working in a familiar environment.
   
  +
====Assigned exercise machines====
  +
UID Host name IP address
  +
060 gks-140.scc.kit.edu 141.52.174.140
  +
001 gks-141.scc.kit.edu 141.52.174.141
  +
065 gks-142.scc.kit.edu 141.52.174.142
  +
067 gks-143.scc.kit.edu 141.52.174.143
  +
072 gks-145.scc.kit.edu 141.52.174.145
  +
076 gks-212.scc.kit.edu 141.52.174.212
  +
053 gks-213.scc.kit.edu 141.52.174.213
  +
080 gks-214.scc.kit.edu 141.52.174.214
  +
083 gks-215.scc.kit.edu 141.52.174.215
  +
087 gks-026.scc.kit.edu 141.52.174.26
  +
091 gks-216.scc.kit.edu 141.52.174.216
  +
093 gks-217.scc.kit.edu 141.52.174.217
  +
094 gks-218.scc.kit.edu 141.52.174.218
  +
096 gks-219.scc.kit.edu 141.52.174.219
  +
100 gks-220.scc.kit.edu 141.52.174.220
  +
101 gks-221.scc.kit.edu 141.52.174.221
  +
106 gks-222.scc.kit.edu 141.52.174.222
  +
006 gks-223.scc.kit.edu 141.52.174.223
  +
109 gks-225.scc.kit.edu 141.52.174.225
  +
111 gks-226.scc.kit.edu 141.52.174.226
  +
007 gks-227.scc.kit.edu 141.52.174.227
  +
118 gks-228.scc.kit.edu 141.52.174.228
  +
119 gks-229.scc.kit.edu 141.52.174.229
  +
009 gks-230.scc.kit.edu 141.52.174.230
  +
122 gks-231.scc.kit.edu 141.52.174.231
  +
127 gks-232.scc.kit.edu 141.52.174.232
  +
056 gks-233.scc.kit.edu 141.52.174.233
   
 
== Testing your installation ==
 
== Testing your installation ==
Line 22: Line 51:
   
 
should pop up a picture of the Mandelbrot set.
 
should pop up a picture of the Mandelbrot set.
  +
  +
==[[Course Material]]==
  +
  +
There are three ways of accessing the course material:
  +
  +
* [http://cern.ch/jacek/courses/py-for-sci-in-6-hours/course.html On-line]
  +
* Download this tarball: [[Media:py-for-sci-in-6-hours.tgz]]
  +
* During the course, on the school-provided machines, at <tt>/home/tutors/generowicz/course</tt>

Latest revision as of 03:52, 30 August 2012

Technical specification/requirements

To take part in this course you will need the following software packages

  • Python (>= 2.6 > 3.0)
  • IPython (>= 0.12)
  • Numpy
  • Matplotlib
  • Cython (>= 0.15)

GridKa School has provided machines with the above software pre-installed, to which you can log in remotely, but if you install the required packages on your laptop you will be more comfortable working in a familiar environment.

Assigned exercise machines

UID             Host name                  IP address
060		gks-140.scc.kit.edu	   141.52.174.140
001		gks-141.scc.kit.edu	   141.52.174.141
065		gks-142.scc.kit.edu	   141.52.174.142
067		gks-143.scc.kit.edu	   141.52.174.143
072		gks-145.scc.kit.edu	   141.52.174.145
076		gks-212.scc.kit.edu	   141.52.174.212
053		gks-213.scc.kit.edu	   141.52.174.213 
080		gks-214.scc.kit.edu	   141.52.174.214
083		gks-215.scc.kit.edu	   141.52.174.215
087		gks-026.scc.kit.edu	   141.52.174.26
091		gks-216.scc.kit.edu	   141.52.174.216
093		gks-217.scc.kit.edu	   141.52.174.217
094		gks-218.scc.kit.edu	   141.52.174.218
096		gks-219.scc.kit.edu	   141.52.174.219
100		gks-220.scc.kit.edu	   141.52.174.220
101		gks-221.scc.kit.edu	   141.52.174.221
106		gks-222.scc.kit.edu	   141.52.174.222
006		gks-223.scc.kit.edu	   141.52.174.223
109		gks-225.scc.kit.edu	   141.52.174.225 
111		gks-226.scc.kit.edu	   141.52.174.226
007		gks-227.scc.kit.edu	   141.52.174.227
118		gks-228.scc.kit.edu	   141.52.174.228
119		gks-229.scc.kit.edu	   141.52.174.229
009		gks-230.scc.kit.edu	   141.52.174.230
122		gks-231.scc.kit.edu	   141.52.174.231 
127		gks-232.scc.kit.edu	   141.52.174.232
056		gks-233.scc.kit.edu	   141.52.174.233

Testing your installation

Download Media:installation-test.tgz. Then

   tar zxvf installation-test.tgz
   cd installation-test
   python setup.py build_ext --inplace
   ipython --pylab -i mandelbrot.py

should pop up a picture of the Mandelbrot set.

Course Material

There are three ways of accessing the course material: