Giter VIP home page Giter VIP logo

gompi's Introduction

CI

GoMPI: Message Passing Interface for Parallel Computing

The gompi package is a lightweight wrapper to the OpenMPI C++ library designed to develop algorithms for parallel computing.

GoMPI is a fork of the gosl MPI library with additional methods.

Installation

  1. install OpenMPI for your system
  2. ensure golang.org/x/tools/cmd/stringer is installed (go get if not)
  3. run make install

(Other make options include test, build, and clean.)

Performance

The latency benchmarks are as follows (note: the Go benchmark does not test a message size of zero bytes):

message size (bytes) GoMPI (µs) OSU MPI Latency Test v5.8 (µs)
0 n/a 0.36
1 0.45 0.33
2 0.45 0.32
4 0.42 0.31
8 0.45 0.30
16 0.43 0.32
32 0.43 0.32
64 0.43 0.32
128 0.45 0.35
256 0.47 0.37
512 0.60 0.41
1024 0.66 0.34
2048 0.74 0.45
4096 2.01 1.51
8192 2.75 1.82
16384 3.61 2.36
32768 4.83 3.32
65536 9.24 4.96
131072 17.15 10.53
262144 31.09 23.07
524288 57.01 43.78
1048576 117.72 84.43
2097152 235.34 220.47
4194304 599.43 619.64

Benchmark code may be found in cmd/latency.go.

gompi's People

Contributors

norunners avatar sbromberger 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  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wahello norunners

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.