Top "Mpi" questions

MPI is the Message Passing Interface, a library for distributed memory parallel programming and the de facto standard method for using distributed memory clusters for high-performance technical computing.

Creating an MPI_Datatype for a structure containing pointers

I have the following structure. typedef struct { int *Ai; double *Ax; int nz; }column; I want to transfer this structure …

c mpi
MPI + GPU : how to mix the two techniques

My program is well-suited for MPI. Each CPU does its own, specific (sophisticated) job, produces a single double, and then …

mpi gpu hpc
Understanding Block and Block-Cyclic Matrix Distributions

In working with parallel decompositions of matrices, I'm familiar with a block distribution, where we have (say) 4 processes, each with …

matrix mpi distributed-computing scalapack
mpiexec and python mpi4py gives rank 0 and size 1

I have a problem with running a python Hello World mpi4py code on a virtual machine. The hello.py …

python mpi mpi4py mpiexec
Wrong mpi number of processors

Sorry, I'm sure making a silly mistake, but did not work out. I'm compiling a simple mpi hello world: #include &…

mpi processors
MPICH2 on multiple machines (HYDU_sock_connect error)

I am trying to execute an MPI program in 2 different PCs. However, when I ran this command in pc1: mpirun …

ssh mpi firewall mpich
Parallel Algorithms for Generating Prime Numbers (possibly using Hadoop's map reduce)

Generating Prime numbers is a toy problem that I often attempt from time to time, especially when experimenting with a …

hadoop parallel-processing mpi primes number-theory
Random Number to each Process in MPI

I'm using MPICH2 to implement an "Odd-Even" Sort. I did the implementation but when I randomize to each process his …

c++ random mpi mpich
How to use MPI_Type_create_subarray?

It is clear that its arguments are: int MPI_Type_create_subarray( int ndims, int array_of_sizes[], int array_…

c++ mpi sub-array
mpirun --cpu-set vs. --rankfile (Open MPI) 1.4.5

I want to accurately pin my MPI processes to a list of (physical) cores. I refer to the following points …

mpi openmpi pinning