Code Monkey home page Code Monkey logo

single-variable-calculus-integration-mpi-vs-openmp's Introduction

single-variable-calculus-integration-mpi-vs-openmp

To compare OpenMP and MPI speedups let us look on such simple example of single valued integration problem: alt text

OpenMP result:

Number of quantization steps 500M
Start working thread # 0 of 2
Start working thread # 1 of 2
Result with OpenMP: 3.815784
real 17.042s
user 33.700s
sys 0.020s

MPI result:

Start working
Number of quantization steps 500M
Start working
Job is done! [250000000; 500000000] Result = 0.307341
Job is done! [0; 250000000] Result = 3.508443
Result with MPI: 3.815784
real 17.342s
user 0.090s
sys 0.030s

single-variable-calculus-integration-mpi-vs-openmp's People

Contributors

karimelgammal avatar

Watchers

 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.