To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit ae13d181 authored by Roger Kaeppeli's avatar Roger Kaeppeli
Browse files

Init from HS20

parents
.DS_Store
*.out
*~
*.a
*.aux
*.dat
*.log
*.o
*.out
*.synctex.gz
*.pyc
build/
install/
*.swp
# Programming Techniques for Scientific Simulations I ([402-0811-00L](http://www.vvz.ethz.ch/Vorlesungsverzeichnis/lerneinheit.view?semkez=2021W&ansicht=KATALOGDATEN&lerneinheitId=148080&lang=en))
### General information
The course will take place in a **hybrid presence / online** format:
* **Presence**: Thursday 13:45 - 17:30, [HCI](http://www.mapsearch.ethz.ch/map/mapSearchPre.do?gebaeudeMap=HCI&geschossMap=G&raumMap=3&farbcode=c010&lang=en) [J 3](http://www.rauminfo.ethz.ch/Rauminfo/grundrissplan.gif?gebaeude=HCI&geschoss=J&raumNr=3&lang=en) [>>](http://www.rauminfo.ethz.ch/Rauminfo/RauminfoPre.do?gebaeude=HCI&geschoss=J&raumNr=3&lang=en)
* **Online**: Live stream over Zoom. All Meeting IDs can be found
[here](http://www.sam.math.ethz.ch/~karoger/pt/hs2021/)
(Login credentials were sent by Email on Monday, September 20.
If you were not enrolled in the course then, please
send an email to the mailing list [below](#questions)).
* **Recordings**: All recordings can be found [here](http://www.sam.math.ethz.ch/~karoger/pt/hs2021/).
(See remark above for the login credentials.)
We kindly ask **all participants** to comply with the up-to-date Coronavirus
COVID-19 measures:
* <https://ethz.ch/services/en/news-and-events/coronavirus.html>
### Summary
This lecture provides an overview of programming techniques for scientific
simulations.
The focus is on advanced C++ programming techniques and scientific software
libraries.
Based on an overview over the hardware components of PCs and supercomputers,
optimization methods for scientific simulation codes are explained.
### Questions
For questions or remarks we have a mailing list where you can reach us:
<pt1_hs21@sympa.ethz.ch >.
## Lecture slides, script, exercises and solutions
Lecture slides, exercise sheets and solutions will be provided as part of this
git repository.
## Submission
If you want to receive feedback on your exercises, please push your solutions
to your own git repository before **Monday night** of the week after we hand
out the exercise sheet.
Then send a notification / request for correction email (possibly with specific
questions) to the mailing list.
Advanced users may use `GitLab` issues (make sure to tag all the assistants,
but not the professor, with their @name in the issue description).
Your exercise will then be corrected before the next exercise session.
Make sure to give *maintainer* access to the following people:
@karoger, @engelerp, @ilabarca, @lbloin, @msudwoj and @rworreby.
Of course, working in small groups is allowed (and even encouraged using a
collaborative workflow with `git` and `GitLab`).
However, please make sure that you understand every part of the group's
proposed solution (you will have to e.g., at the exam!).
If several group members submit the exercises, please indicate clearly in the
notification/request for correction email all the group members and indicate
which parts of the solution you would like to have looked at individually
(although we try to run data comparison tools carefully during the correction,
we may miss some individual solution of group members).
## Course confirmation (Testat)
For students needing the confirmation (Testat) for this course, we require
that 70% of the exercises have been solved reasonably (sinnvoll).
The submission deadline is every Wednesday midnight (Zurich time!).
Please announce that you want the confirmation (Testat) for this course
explicitly at the beginning of the semester. Contact us either in person or
through the mailing list.
## Exam information
* For general information, see the performance assessment tab in the course
catalogue [here](http://www.vvz.ethz.ch/Vorlesungsverzeichnis/lerneinheit.view?semkez=2021W&ansicht=LEISTUNGSKONTROLLE&lerneinheitId=148080&lang=en).
* The exam will have two parts: A written theoretical part, and a programming
part that you will solve on the exam computers.
* The exam computers will run Fedora Linux, similar to those that you find in
the computer rooms in the ETH main building.
The system language of the computers is English.
A list of the installed software can be found [here](https://www.ethz.ch/services/en/it-services/catalogue/managed-client/computer-rooms.html).
* By default, the keyboards will have the Swiss layout.
There will be a poll for those who want to get a US keyboard instead.
* Provided on the computers are:
* The full lecture repository
* The C++ standard ([draft version](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf))
* An offline version of http://www.cppreference.com
(See *Html book* https://en.cppreference.com/w/Cppreference:Archives)
We recommend that you try it out before the exam.
Also note that the search function is absent: use the Index page and the
search function of the browser.
* An offline version of [the Python documentation](https://docs.python.org/3.8/index.html)
(See https://docs.python.org/3.8/download.html)
We recommend that you try it out before the exam.
* As needed, offline versions of the documentation for Python libraries.
* This is an open-book exam, which means that you can bring any written
material (books, notes, printed code, ...).
However, you may **not** use any digital devices (other than the exam
computer) during the exam.
* Don't forget to bring your student card (Legi).
## Useful resources
### Literature
C/C++ primers and references:
* Stroustrup, "The C++ Programming Language", 2013.
Available online within the ETH network [here](https://search.library.ethz.ch/permalink/f/823s1o/nebis_sfx3280000000036330).
* Kernighan and Ritchie, "C Programming Language", 1988.
Available online within the ETH network [here](https://search.library.ethz.ch/permalink/f/13kse66/nebis_sfx3710000000220165).
Practical/Advanced C++ programming:
* Meyers, "Effective STL", 2001.
Available online within the ETH network [here](https://search.library.ethz.ch/permalink/f/13kse66/nebis_sfx1000000000385265).
* Meyers, "Effective C : 50 Specific Ways to Improve Your Programs and
Designs", 2005.
Available online within the ETH network [here](https://search.library.ethz.ch/permalink/f/823s1o/ebi01_prod009837972).
* Meyers, "Effective Modern C++", 2014.
Available online within the ETH network [here](https://search.library.ethz.ch/permalink/f/13kse66/nebis_sfx3800000000006955).
* Vandevoorde, Gregor, and Josuttis, "C++ Templates: The Complete Guide", 2017.
Available online within the ETH network [here](https://search.library.ethz.ch/permalink/f/823s1o/nebis_sfx4100000000880644).
### Web resources
* [C++ reference](https://en.cppreference.com)
* [C++ standard](https://isocpp.org/)
* [C++ core guidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment