-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88876c0
commit 557022a
Showing
3 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file removed
BIN
-831 KB
...ectures/Modern Template Metaprogramming - A Compendium - Walter E Brown - CppCon 2014.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
EXAMPLES AND EXERCISES FOR PACS COURSE | ||
-------------------------------------- | ||
|
||
This repo contains source code and descriptions for the examples and exercises | ||
that will be explained during the PACS (Programmazione Avanzata per il Calcolo | ||
Scientifico - Advanced Programming for Scientific Computing) course at | ||
Politecnico di Milano. | ||
that will be explained during the APSC (Advanced Programming for Scientific Computing) course at | ||
Politecnico di Milano, also known as PACS (Programmazioen Avanzata per il Calcolo Scientifico) | ||
|
||
The repository contains submodules, so to check it out properly you have to type | ||
|
||
``` | ||
git clone --recursive https://github.com/pacs-course/pacs-examples.git | ||
``` | ||
|
||
or | ||
or (preferred choice!) | ||
|
||
``` | ||
git clone --recursive [email protected]:pacs-course/pacs-examples.git | ||
|
@@ -33,9 +31,11 @@ or just, from this directory, | |
``` | ||
|
||
|
||
The software requires a c++ compiler, i.e. gcc >= 8.0 or clang >= 8. | ||
The software requires a c++ compiler, i.e. gcc >= 8.0 or clang >= 8, and the [Eigen library](https://eigen.tuxfamily.org) for linear algebra | ||
version 8. | ||
|
||
You may check the version of you compiler with the option -v. Several examples have now been ported to c++17 | ||
and some examples of c++20 are being added. Check wether your compile support those standards. You may have a look | ||
and some examples to c++20. Check wether your compile support those standards. You may have a look | ||
on https://en.cppreference.com/w/cpp/compiler_support | ||
|
||
This directory contains some utilities: | ||
|
@@ -51,34 +51,26 @@ or | |
. load_modules.sh | ||
``` | ||
|
||
will load the main modules used in the examples, a part hdf5 wich is used only on the example on iostreams (binary file). | ||
will load the main modules used in the examples, a part `hdf5` which is used only on the example on input-output streams. | ||
|
||
** install_modules.sh | ||
## Installing git submodules ## | ||
|
||
If you do not have used --recursive when cloning this repo and you want to use | ||
the git submodules containing third party software type: | ||
``` | ||
./install_modules | ||
./install_git_submodules.sh | ||
``` | ||
|
||
The file submodule_commands.txt contains some reminder of useful git commands for operating with submodules | ||
The file submodule_commands.txt contains some reminder of useful git commands for operating with submodules. We also have the following utilities | ||
|
||
- `change_submodules_url.sh` changes the protocol of the submodules to https. You should not need it! | ||
|
||
** change_submodules_url.sh | ||
Change the protocol of the submodules to https. You should not need it! | ||
|
||
** change_submodules_url_ssh.sh | ||
Change the protocol of the submodules to ssh. You should not need it! | ||
- `change_submodules_url_ssh.sh` changes the protocol of the submodules to ssh. You should not need it! | ||
|
||
## WHAT DO DO NEXT? ## | ||
|
||
- Go to the `Extras/` directory that contains additional software used by some examples and follow the instructions in the local `README.md` file. | ||
- Go to the `Examples/` directory and follow the instructions in the local `README.md` file. | ||
|
||
## What ELSE? ## | ||
|
||
* Labs/` Directory with the laboratory sessions of the course, subdivided by year! Enjoy! | ||
|
||
|
||
|
||
|