GithubHelp home page GithubHelp logo

pacs-course / pacs-examples Goto Github PK

View Code? Open in Web Editor NEW
36.0 12.0 123.0 102.92 MB

The examples for the course on advanced programming for scientific computing (aka PACS), Politecnico di Milano

License: GNU General Public License v3.0

Shell 100.00%
course-materials cpp-course example-code

pacs-examples's Introduction

EXAMPLES AND EXERCISES FOR PACS COURSE

This repo contains source code and descriptions for the examples and exercises 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 (preferred choice!)

git clone --recursive [email protected]:pacs-course/pacs-examples.git

In the latter case you have to register your ssh keys on a github account.

To keep your local repo update with changes upstream do frequently

git pull --recurse-submodules

or just, from this directory,

./update.sh

The software requires a c++ compiler, i.e. gcc >= 8.0 or clang >= 8, and the Eigen library 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 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:

** load_modules If you use the module system, typing

source load_modules

or

. load_modules.sh

will load the main modules used in the examples, a part hdf5 which is used only on the example on input-output streams.

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_git_submodules.sh

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_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.

pacs-examples's People

Contributors

10054442 avatar 10261597 avatar 10322028 avatar 10322057 avatar 10359056 avatar 10376920 avatar 10383154 avatar 10397436 avatar 10458355 avatar alessiofumagalli avatar ariannaformenti avatar capitalaslash avatar carlodefalco avatar deatinor avatar federicasottocasa avatar fprimon avatar francescolohengrinromeo avatar frarega avatar lformaggia avatar ludodelpop10377670 avatar matteocaldana avatar niccolof avatar pcafrica avatar pjbaioni avatar soblinsky avatar zaninandrea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.