Recent information on 2D1263, Scientific Computing
- The exam will be held 20:th of August, 8-13, in room K53.
- Students who wish to write the next exam in August, should send Marco an e-mail.
- Please fill out the course evaluation form.
- The written exam (Mon. 24/5, 8-13) will be given in D35 and D41.
- A parallel array class. Due April 30th! Please hand in as soon as possible.
- Lab 3
formulation is found here,
together with source code
- The file
starting-point.C is found here.
- In order to set up accounts for you on the PDC computers,
we need the following information:
Name, e-mail, sw. personnr, Login name for NADA, or if you don't have
NADA account login name for .kth.se.
Please e-mail the information to me or Marco as soon as possible.
- Algebraic grid generation lab due March 5:th!
- PDC account applications are submitted.
- Lecture notes available, as promised.
Lecture notes 1 ,
Lecture notes 2 ,
Lecture notes 3 ,
Lecture notes 4 ,
Lecture notes 5 ,
Lecture notes 6 ,
Lecture notes 7 ,
Lecture notes 8 ,
Lecture notes 9 ,
Lecture notes 10 ,
Lecture notes 11 ,
Lecture notes 12 ,
Lecture notes 13 ,
Lecture notes 14 ,
Lecture notes 15 ,
Lecture notes 16 ,
Lecture notes 17 ,
Lecture notes 18
- An old exam is available as well. Exam
- The PDC accounts are set up now. For instructions read below.
Office 4518. Phone 790 7188
Marco Kupiainen. Office 1526.
Literature : Lecture notes will be handed out during
the course. In addition, extracts from books and journals will be
Schedule : Lecures are given in room 4523 at the
- 22/1, 10:15, Introduction. Lecture notes
for first lecure.
- 26/1, 10:15, Handling of geometry. Grid generation.
for second lecure. Example C program
shown during the lecture.
- 29/1, 10:15, More on grid generation. Block decomposition.
Lecture notes .
Some Matlab grid generation functions can be found
here . The file is a unix tar-archive,
which is unpacked by the command:
tar xf griddemo.tar (assuming you are using a
unix system, and saved the file under the name griddemo.tar).
- 2/2, 10:15, Computer programming. The languages C and
C++. Object oriented programming.
Some very simple C++ exercises to get started can
be found here . A summary of basic C
and C++ statements can be found here here .
- 5/2, 10:15 in Q21, More on C++.
C++ examples handed out during the
Further C++ examples shown during the
lecture, but not handed out.
Lecture notes .
- 9/2, 10:15 in D41, C++ applied to grid generation. Exercise 1.
C++ examples handed out during
- 12/2, 10:15 in L21, Differential equations, difference approximations.
Lecture notes .
- 16/2, 10:15 in Q25, Implementation of difference approximations in C++.
Data structures, array classes. Notes from the lecture . Lecture notes .
- 19/2, 10:15 in V34, Parallel computers. Domain decomposition. Notes from the lecture . www.top500.org
- 23/2, 10:15 in E35, Message passing with MPI. Exercise 2.
- 26/2, 10:15 in D35, Load balancing. Parallel I/O. Performance
- 1/3, 10:15 in E35, Performance monitoring. Code optimization.
Memory hierarchies. Exercise 3.
Other reading :
These books are not required for the course, but are recommended to
those who would like to learn more.
For grid generation:
J.Thompson, Z.Warsi, and C.Mastin, Numerical Grid Generation,
P.Knupp and S. Steinberg, Fundamentals of Grid Generation,
CRC Press, 1993, ISBN 0-8493-8987-9.
Thompson, Soni, Weatherill, Handbook of Grid Generation,
CRC Press, 1999, ISBN 0-8493-2687-7.
- For C++:
For this course, any simple book on C++ will probably do.
The standard reference for C++ is The C++ Programming Language
(3rd Edition) by Bjarne Stroustrup. This is an extensive
description of the language, and assumes previous knowledge of
computer programming. A simpler beginners book is The Object
Concept by Rick Decker and Stuart Hirschfield. Search at, e.g.,
www.amazon.com for a description of these and other C++ books.
- For parallel computing:
Building Parallel Programs by Ian Foster.
Computing by Charles Severance and Kevin Dowd.
Parallel Programming by B. Wilkinson and M. Allen.
Examination : A written exam will be given May 24th
programming exercises must be completed to pass the course. The course
gives 4 credits ("poäng"), distributed with 2 on the exam and 2
on the computer exercises.
Programming exercises : There will be
three exercises. These can be done individually or in groups of two or
three. Written reports should be handed in for each exercise.
- Algebraic grid generation. Due March 5th. The lab consists of
exercies 1-4 on pages 42-43, section 3.5, in the lecture notes.
- A parallel array class. Due April 30th.
- Solve a PDE problem on the grid using the parallel array
class. Due May 24th.
Information from PDC
- (1) If your NADA quota was under 200MB, you were given a 200MB catalog called
"PDC" directly under your home catalog. Quite a few of you have very small quotas,
so you should find it much easier to do your assignment in the "PDC"
- (2) All students are part of the charing account (CAC) called
- (3) Most students are members of just this one CAC, so you will not need to do anything special to make sure it gets changed for the batch jobs you
run. If you have more than one CAC (doing "cac members 'username'" will show them) you can use the "-c 2D1263-2004.k2.nada" option to esubmit or spsubmit to make sure the class CAC is charged, and not one of
their other ones.
- esubmit -c 2D1263-2004.k2.nada .....
- spsubmit -c 2D1263-2004.k2.nada ....