Skip to content

Commit

Permalink
few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lformaggia committed Jan 13, 2024
1 parent 88876c0 commit 557022a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
Binary file removed Biblio.odt
Binary file not shown.
Binary file not shown.
34 changes: 13 additions & 21 deletions README.md
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
Expand All @@ -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:
Expand All @@ -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!




0 comments on commit 557022a

Please sign in to comment.