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
0
votes
1 answer

MPI_Free_mem fails with a segmentation fault using OpenMPI

I am using OpenMPI with the Intel C++ compiler on an Intel Ubuntu system. Whenever I try to replace new[] and delete[] calls with MPI_Alloc_mem and MPI_Free_mem calls, respectively, I always get a segmentation fault. The MPI_Alloc_mem calls return…
0
votes
1 answer

Sending Section of 3D array using MPI

I have the following 3D array. U[Timesteps][X][Y] With Ranges Timesteps ( 0 to 100) X ( 0 to 480) Y ( 0 to 480) I need to split the array send across the nodes for processing using MPI. I want to split like the following way Process ( Node 0)…
Anup Buchke
  • 5,210
  • 5
  • 22
  • 38
0
votes
0 answers

Is there a clever way for exchanging boundary data in mpi?

I'm faced with dividing a 2d fluid dynamics model amongst a number a processors. The model is represented in a number of arrays, and each processer gets a nxn block of the array to work on, but each coordinate is affected by horizontally and…
Chironex
  • 809
  • 3
  • 10
  • 28
0
votes
1 answer

Submitting Open MPI jobs to SGE

I've installed openmpi , not in /usr/... but in a /commun/data/packages/openmpi/ , it was compiled with --with-sge. I've added a new PE in SGE as descibed in http://docs.oracle.com/cd/E19080-01/n1.grid.eng6/817-5677/6ml49n2c0/index.html #…
Pierre
  • 34,472
  • 31
  • 113
  • 192
0
votes
1 answer

Parallelize a Function using openMP in C

I wrote a program which inputs matrix size and number of threads and then generated a random binary matrix of 0's and 1's. Then I need to find clusters of 1's and give each cluster a unique number. I am getting the output correctly but I am having…
0
votes
1 answer

Why OpenMPI uses a different server given a different -n setting?

I am testing out OpenMPI, provided and compiled by another user, (I am using soft link to his directories for all bin, include, etc - all the mandatory directories) but I ran into this weird thing: First of all, if I ran mpirun with -n setting <=…
Karl
  • 5,613
  • 13
  • 73
  • 107
0
votes
0 answers

MPI_Iprobe sets flag to 0 when there is message

I am trying to probe for messages in order to communicate between MPI processes (8 processes). The first process to reach a certain part of the code will signal all the other processes, and the others will terminate upon reaching there. Here is what…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
0
votes
1 answer

Compiling an MPI program with mingw and MPICH2 in eclipse juno

Ive been trying to setup mpich2 to compile some programs using MPI on windows 7. The problem that I encounter is that it wont create the binary files when I build a project. I use the stadard mpi program to test (hello world) and I get this message…
BugShotGG
  • 5,008
  • 8
  • 47
  • 63
0
votes
1 answer

Installing Open MPI via MacPorts

I want to use MPI in XCode. There is a page when installation process of Open MPI is described. But it says I should have openmpi in /usr/local/openmpi but I haven't. Instead of this I have /opt/local/include/openmpi for headers and…
efpies
  • 3,625
  • 6
  • 34
  • 45
0
votes
2 answers

Installed OpenMPI library, but cannot use mpicc command in Linux

I am following openmpi install file. Firstly, I am a normal user in this linux system. I do not have rights to access /usr/local . If I configure with: ./configure --prefix=/usr/local make will complain about permission. Therefore, I put the place…
Karl
  • 5,613
  • 13
  • 73
  • 107
0
votes
1 answer

OpenMPI 1.6.3- 64 bit installation failure in CentOS 6.3

How to install OpenMPI 1.6.3 - 64 bit version in a machine with CUDA 5.0 installed already. OS using is CentOS 6.3 x86_64. After doing the configure i gave the command make. At last it is showing some conflict with the CUDA include files. I have…
Sijo
  • 619
  • 1
  • 7
  • 25
0
votes
1 answer

Wierd C++ vector error? In file included from c++/4.7.2/vector:70:0

I am getting something like: [jiewmeng@JM Assignment 2]$ mpic++ basketball-match.cpp -o basketball-match && mpirun -np 12 basketball-match In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/vector:70:0, …
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
1 answer

Customise a generic makefile for OS X ( using homebrew/gfortran/open-mpi)

I'm trying to compile a piece of scientific code called DLPOLY (with multicore processing support). Instructions online for how to do this seem to be out of date, and the makefile only includes examples for big computing clusters and not a home…
Matthew
  • 1,366
  • 2
  • 15
  • 28
0
votes
1 answer

Other processes hang after MPI_Sendrecv

I think using MPI_Sendrecv MPI_Sendrecv(&ballPos, 2, MPI_INT, FIELD, NEW_BALL_POS_TAG, &ballPos, 2, MPI_INT, winner, NEW_BALL_POS_TAG, MPI_COMM_WORLD, MPI_STATUS_IGNORE); But I noticed only the root (recieving party continues to run?). Having cout…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
2 answers

OpenMPI How to override include compiler option prefix

Hello I try to compile openmpi application in Eclipse. But it returned error gcc.exe: Error: /IC:\OpenMPI/include: Invalid argument As I understand gcc need dash "-" as argument prefix insetade of slash "/". (I have overrided compiler from ms-cl to…
KirillX86
  • 49
  • 7