Coder Social home page Coder Social logo

microsoft-mpi's Introduction

microsoft-mpi's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

microsoft-mpi's Issues

Scrambled stderr output

Sometimes output from an application's stderr that was started with mpiexec is scrambled. For example the following line is as it actually should look like:
Exit error: ...
but is outputted like
E
x
i
t

e
r
r
o
r
:

Error when creating a shared memory window of size 0

We see an error with MS-MPI 10.1.1 when we try to allocate a shared memory window of size 0, e.g.:

MPI_Aint size = 0;
err = MPI_Win_allocate_shared(size, sizeof(int), MPI_INFO_NULL, MPI_COMM_WORLD, &shared, &win);
mpi_assert(err);

The associated error message is:

[0] fatal error
Fatal error in MPI_Win_allocate_shared: Other MPI error, error stack:
MPI_Win_allocate_shared(size=1169160520, disp_unit=0, info=0x4, comm=0x1c000000, baseptr=0x000000E144000000, win=0x000000E145AFF938) failed
CreateFileMapping failed, error 87

I know that creating a window of size 0 is not that useful. The error does not occur as soon I change the requested size from 0 to 1. However, the MPI 3 standard allows size to be 0, as the requirement for size is to be non-negative. Furthermore there is an extra note for MPI_Win_allocate_shared:

The size argument may be different at each process and size = 0 is valid.

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.