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

How to wait till all process receive particular data using MPI blocking fucntions?

I am distributing adjacency matrix row by row to the processes using MPI_Send and MPI_Recv functions. I used MPI_Barrier but the program is getting stuck! How do I wait till all the processes get their part of a matrix? /* Distribute the adjacency…
Dips
  • 11
  • 1
-1
votes
1 answer

How to process multiple files in sequence using OPEN MP and/or MPI?

I'm using the parallel_multicore version of the DBSCAN clustering algorithm available below: http://cucis.ece.northwestern.edu/projects/Clustering/index.html To run the code simply requires the following line: ./omp_dbscan -i trial.txt -m 4 -e 0.5…
-1
votes
1 answer

How to test MPI program

I have question about testing MPI program. I wrote FW algorithm with Open MPI. The program works fine and correct, but problem is that it takes more time than my sequential program (I have tried to test it on only one computer). Does someone have…
NightDev
  • 35
  • 6
-1
votes
1 answer

What is difference between Hydra and Torque and what is better: MPICH2 or OpenMPI

I have two questions: What is difference between Hydra and Torque, or to ask in other way: what more Hydra have to offer in compare to Torque? Do I need Hydra at all if I choose to use Torque (+ MAUI)? Also, what is an advantage of MPICH2 in…
-1
votes
1 answer

compiler used for parallel GPU computing

I have the source code which can parallel a model using GPU library. Now I was trying to compile the source code under UNIX system. However the computation time wasn't speed up when I used more than one GPU nodes (5,10,20,30......). So I think I…
-1
votes
1 answer

Mpi_recv hangs while waiting for a message that has been sent from slave process

So I'm trying to write myself a matrix multiplication that uses MPI (OpenMPI implementation). The problem is,although sending parts of a matrix from master to slaves by MPI_Send/MPI_Recv works properly, MPI_Recv in the master process that's supposed…
JJS
  • 1,086
  • 2
  • 13
  • 16
-1
votes
2 answers

How to avoid name conflicts with OpenMPI?

To set so called feature flags in our code we use an external file. There we define the macro #define LB We just ported our software to C++ and then the errors came, specificially this…
Henri Menke
  • 10,705
  • 1
  • 24
  • 42
-1
votes
1 answer

Having Open MPI related issues while making CUDA 5.0 samples (Ubuntu 12.04)

Makefile:79: *** MPI not found, not building simpleMPI.. Stop. this error is the error im getting... I saw the Mac version of this question but im using Ubuntu 12.04. Does anyone know how to fix this on Ubuntu 12.04? thanks for any help!
Alex
  • 503
  • 2
  • 6
  • 14
-1
votes
2 answers

How to fix C program error for Openmpi with netbeans running on ubuntu 12.04

I am trying to run a MPI program with C language. I have installed GCC compiler and the openmpi libraries. I am running ubuntu Linux and Netbeans IDE. My challenge is that after including ‘mpi.h’ in my header file and compiling the application, I…
shubie
  • 91
  • 2
  • 2
-2
votes
2 answers

Application based(which is used) OpenMPI

Please help me to find some working application which is using openmpi. I need any name of application which have widely/worldwide usage and based on openmpi (using it). At least the name of that kind application will be enough. Thanks
Davit Siradeghyan
  • 6,053
  • 6
  • 24
  • 29
-2
votes
1 answer

How can i use MPI_Testany and MPI_Irecv to get only the first irecv that will arrive?

In c in "mpi.h", i think it will be something like MPI_Request mpireq[2]; MPI_Status mpistat; int temp, index, flag; MPI_Irecv(temp, 1, MPI_INT, MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &mpireq[0]); MPI_Irecv(temp, 1, MPI_INT, MPI_ANY_SOURCE, 1,…
-2
votes
1 answer

"no enough slots" error of running Open MPI on databricks cluster with Linux

I try to use mpi to run a C application on databricks clusters. I have downloaded Open MPI from https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.gz and installed on databricks cluster. It was built on databricks cluster…
user3448011
  • 1,469
  • 1
  • 17
  • 39
-2
votes
1 answer

MPI_ERR_RANK: invalid rank with cluster

I'm doing a project for a class and I have used the code for sequential Bucket sort from the internet and I'm trying to make it be a parallel version using OpenMPI. This code will be running on the cluster system. When I test it, it is giving me the…
kukiduwa
  • 11
  • 1
  • 4
-2
votes
1 answer

Install OpenMPI: C C++ Compilers not link compatible

I am installing Open MPI on my Amazon EC2 server. After I installed the latest gcc-7.3 compiler, I tried to install openmpi-3.0.1 from their official website. Here is the code that I've typed in: wget…
Woodpecker Wang
  • 49
  • 3
  • 10
-2
votes
1 answer

Why I only have two slots on my mac when running a openmpi program

And I run it on Linux , it can be even 200 or 1000. It really confused me. Could anyone explain that? thx!
Maple
  • 11
1 2 3
89
90