Giter VIP home page Giter VIP logo

cudaawarempitest's Introduction

cudaAwareMPITest

This program tests asynchronous bidirectional cuda-aware MPI calls on any number of processes.

Prerequisites

Download and install CUDA and a cuda-aware MPI implementation.

Download

Clone the repository of cudaAwareMPITest using the command below.

git clone https://github.com/lukas-mazur/cudaAwareMPITest.git

Build

The code is built using cmake. Change the current directory to the directory of the repository and use the command below to build the code.

mkdir build && cd build
cmake ../
make

Run

Call cudaAwareMPITest as follows:

mpiexec -n <processCount> ./cudaAwareMPITest <path> <onDevice>

where you need to specify:

<processCount>  : Number of processes.
<path>          : Path to communication list. Some examples are available in the sub-folder communicationLists/.
<onDevice>      : Set it to "true" in order to communicate gpu memory. Set it to "false" in order to communicate cpu memory.

Creating a communication list

Each row in the list describes a bidirectional communication call. The first column is the number of bytes which should be transfered, while the second and third columns are the ranks which are communicating.

In the example below two bidirectional communication calls will be performed. The first call communicates 123 Bytes between rank 0 and 1, while the second call communicates 12345 Bytes between rank 0 and 2.

Bytes,RankA,RankB
123,0,1
12345,0,2

Some more examples are available in the sub-folder communicationLists/.

cudaawarempitest's People

Contributors

lukas-mazur avatar

Stargazers

Luis Altenkort avatar

Watchers

 avatar Luis Altenkort 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.