Questions tagged [openmpi]

Open MPI is an open source implementation of the Message Passing Interface, a library for distributed memory parallel programming.

The Open MPI Project is an open-source implementation of the Message Passing Interface, a standardized and portable message-passing system designed to leverage to computational power of massively parallel, distributed memory computers.

Message passing is one of the distributed memory models most often used, with MPI being the most used message passing API, offering two types of communication between processes: point-to-point or collective. MPI can run in distributed and shared memory architectures.

An application using MPI consists usually of multiple simultaneously running processes, normally on different CPUs, which are able to communicate with each other. Normally, this type of application is programmed using the SPMD model. Nevertheless, most MPI implementations also support the MPMD model.

More information about the MPI standard may be found on the official MPI Forum website, in the official documentation, and in the Open MPI documentation.

1341 questions
10
votes
2 answers

Processor/socket affinity in openMPI?

I know,there are some basic function in openMPI implementation for mapping the different processes to different cores of different sockets(if the system have more than one sockets). --bind-to-socket(first come first…
Ankur Gautam
  • 1,412
  • 5
  • 15
  • 27
9
votes
6 answers

MPI implementation for Java

Is there a current Java MPI implementation. I have programmed in MPI a bit, and I enjoy programming in Java. I have seen this implementation in Java, but it seems dated. Is there a more up to date Java implementation that is being kept up?
Milhous
  • 14,473
  • 16
  • 63
  • 82
9
votes
3 answers

How to get mpi4py to work on Windows

I'm trying to use mpi4py. I have mpi4py installed from the Anaconda package, and pip install mpi4py recognizes this. But when i run from mpi4py import MPI says MPI module doen't exist. I've looked in the mpi4py folder and indeed i can't find…
alxg
  • 368
  • 1
  • 4
  • 15
9
votes
1 answer

Prevent MPI from busy looping

I have an MPI program which oversubscribes/overcommits its processors. That is: there are many more processes than processors. Only a few of these processes are active at a given time, though, so there shouldn't be contention for computational…
Richard
  • 56,349
  • 34
  • 180
  • 251
8
votes
1 answer

Can you transpose array when sending using MPI_Type_create_subarray?

I'm trying to transpose a matrix using MPI in C. Each process has a square submatrix, and I want to send that to the right process (the 'opposite' one on the grid), transposing it as part of the communication. I'm using MPI_Type_create_subarray…
robintw
  • 27,571
  • 51
  • 138
  • 205
8
votes
3 answers

CentOS 7 undefined symbol: ompi_mpi_logical8

I'm trying to install a python(3) package which depends on mpi4py on a CentOS 7 machine. I have tried multiple ways of doing everything, even start from clean virtualenvs but I keep getting: ImportError:…
ClonedOne
  • 569
  • 4
  • 20
8
votes
2 answers

suggest a Benchmark program to compare MPICH and OpenMPI

I am new to HPC and the task in hand is to do a performance analysis and comparison between MPICH and OpenMPI on a cluster which comprises of IBM servers equipped with dual-core AMD Opteron processors, running on a ClusterVisionOS. Which benchmark…
Param
  • 197
  • 2
  • 7
8
votes
1 answer

Install OpenMpi on windows 10

I am a computer science student and this season we have a course in MPI programming in C language. I don't have enough hard disk space to install visual studio on my computer and I have installed codeblocks, and MinGW as compiler, and I also…
Hamid Haghdoost
  • 740
  • 1
  • 6
  • 15
8
votes
2 answers

docker, openmpi and unexpected end of /proc/mounts line

I have build environment to run code in a Docker container. One of the components is OpenMPI, which I think is the source of problem or manifest it. When I run code using MPI I getting message, Unexpected end of /proc/mounts line `overlay /…
likask
  • 215
  • 3
  • 7
8
votes
2 answers

How to force OpenMPI to use GCC instead of ICC? Is recompiling OpenMPI necessary?

I have a C-code for parallel computing written for gcc, and I want to compile it on a cluster, which apparently uses icc via mpicc. Correcting the code to be icc-friendly seems to be too time-demanding, so I wonder if I can ask OpenMPI to use gcc…
Andrei
  • 10,918
  • 12
  • 76
  • 110
8
votes
1 answer

Strange result of MPI_AllReduce for 16 byte real

Compiler: gfortran-4.8.5 MPI library: OpenMPI-1.7.2 (preinstalled OpenSuSE 13.2) This program: use mpi implicit none real*16 :: x integer :: ierr, irank, type16 call MPI_Init(ierr) call MPI_Comm_Rank(MPI_Comm_World, irank, ierr) if…
8
votes
1 answer

Immidiate vs synchronous communication in openmpi

I got slightly mixed up regarding the concept of synchronous - asynchronous in the context of blocking & non blocking operations (in OpenMPI) from here: link 1 : MPI_Isend is not necessarily asynchronous ( so it can synchronous ?) link 2 :The…
Puneet S. Chauhan
  • 745
  • 1
  • 8
  • 17
7
votes
1 answer

Implicit barrier at the end of #pragma for

Friends, I am trying to learn the openMP paradigm. I used the following code to understand the #omp for pragma. int main(void){ int tid; int i; omp_set_num_threads(5); #pragma omp parallel \ private(tid) { tid=omp_get_thread_num(); …
prathmesh.kallurkar
  • 5,468
  • 8
  • 39
  • 50
7
votes
1 answer

Differences between LAM MPI and OpenMPI

I was wondering how these two are related to each other. Could anyone here explain? Cheers.
cpp_noname
  • 2,031
  • 3
  • 17
  • 30
7
votes
3 answers

How do MPI implementations (OpenMPI, MPICH) handle security/authentication

How do OpenMPI and MPICH handle security when I send MPI messages between the processes over TCP/IP sockets? In particular, how do they prevent other users of the same network from connecting to a listening socket and sending fake MPI messages? The…
Jukka Suomela
  • 12,070
  • 6
  • 40
  • 46
1 2
3
89 90