mpi Questions

3

Here is a simple MPI "Hello, World!" program. #include <stdio.h> #include <mpi.h> int main(int argc, char **argv) { int size, rank; MPI_Init(&argc, &argv); MPI_Comm_size(MP...
Narcoma asked 25/12, 2012 at 6:2

2

I tried installing Intel MPI Benchmark on my computer and I got this error: fork: retry: Resource temporarily unavailable Then I received this error again when I ran ls and top command. W...
Pewit asked 22/8, 2012 at 18:19

1

Solved

So far, my application is reading in a txt file with a list of integers. These integers needs to be stored in an array by the master process i.e. processor with rank 0. This is working fine. Now,...
Gerardgerardo asked 13/12, 2012 at 20:20

7

With the recent buzz on multicore programming is anyone exploring the possibilities of using MPI ?
Sirreverence asked 29/9, 2008 at 7:12

2

Solved

In general, is it possible for a parallel code to be slower than the serial code? mine is and I am really frustrated at it! what can I do?

1

Solved

I have 3 questions, all related to MPI (in C). I think the first 2 have the same answer, but I'm not positive. Question 1 When using MPI_Dims_create to create a 2D grid, which dimension of the ...
Graduation asked 8/12, 2012 at 22:43

2

I am trying to do some MPI, and here is a simple program using MPI_Send, MPI_Recv (yes, blocking). Rank 0 sends messages to all other processes and the others receive it. However, my MPI_Send never...
Sectionalism asked 10/5, 2011 at 4:54

3

I have a code with heavy symbolic calculations (many multiple symbolic integrals). Also I have access to both an 8-core cpu computer (with 18 GB RAM) and a small 32 cpu cluster. I prefer to remain ...
Schlemiel asked 29/11, 2012 at 0:48

3

Solved

I'm trying to install Rmpi package on a LAM MPI cluster machine. Previously I had been compiling and testing some stuff (mpi4py and small C++ programs) so I'm sure the MPI itself works. However ins...
Gorham asked 26/11, 2012 at 18:25

1

Solved

I'm trying to make a parallel version of "Harmonic Progression Sum" problem using MPI and opemMP together. But the output are differents each other process. Could someone help me to finish this p...
Lavenialaver asked 24/11, 2012 at 19:27

1

Solved

I have a number of processes (of the order of 100 to 1000) and each of them has to send some data to some (say about 10) of the other processes. (Typically, but not necessary always, if A sends to ...
Markland asked 22/11, 2012 at 4:14

1

Solved

I have a bit of research related question. Currently I have finished implementation of structure skeleton frame work based on MPI (specifically using openmpi 6.3). the frame work is supposed to be...

4

Solved

I want to run a program with mpirun on different sets of machines (All linux machines with Open Mpi 1.5). Right now I have machines where I can log on with username A, and another set of machines...
Av asked 29/6, 2011 at 9:20

1

Solved

It is clear that its arguments are: int MPI_Type_create_subarray( int ndims, int array_of_sizes[], int array_of_subsizes[], int array_of_starts[], int order, MPI_Datatype oldtype, MPI_Datat...
Koal asked 12/11, 2012 at 14:5

1

Solved

I searched for my problem in Google and at this site but i still don't understand the solution. I have piece of MPI program which RECV some data. Program crashes on big arrays with error of insuff...
Barberabarberry asked 9/11, 2012 at 13:8

1

Solved

I have an int I intend to broadcast from root (rank==(FIELD=0)). int winner if (rank == FIELD) { winner = something; } MPI_Barrier(MPI_COMM_WORLD); MPI_Bcast(&winner, 1, MPI_INT, FIELD, MP...
Riordan asked 8/11, 2012 at 14:8

2

Solved

I have a machine with 8 processors. I want to alternate using OpenMP and MPI on my code like this: OpenMP phase: ranks 1-7 wait on a MPI_Barrier rank 0 uses all 8 processors with OpenMP MPI ph...
Kries asked 30/10, 2012 at 17:30

2

While dividing my application in various tasks and convert it for a multi thread environment, I have realized that fundamentally I've got the base concept wrong: OpenCL is not suited for the kind o...
Turpitude asked 31/10, 2012 at 1:19

2

Solved

Debugging my program on big counts of kernels, I faced with very strange error of insufficient virtual memory. My investigations lead to peace of code, where master sends small messages to each sla...
Post asked 26/10, 2012 at 14:23

1

Solved

I am learning to program in MPI and I came across this question. Lets say I have a .txt file with 100,000 rows/lines, how do I chunk them for processing by 4 processors? i.e. I want to let processo...
Nuclei asked 17/10, 2012 at 16:48

1

Solved

I have a project which requires 'n' number of processes to work until the problem is solved. Each slave process executes the same code. When a certain condition arises, the process needs to notify ...
Brutus asked 10/10, 2012 at 0:40

2

Solved

How can my MPI program detect, if it was launched as a standalone application or via mpirun?
mpi
Sewer asked 1/10, 2012 at 17:49

1

Solved

Generating Prime numbers is a toy problem that I often attempt from time to time, especially when experimenting with a new programming language, platform or style. I was thinking of attempting to ...
Frear asked 24/9, 2012 at 6:18

1

Solved

I have an application that stores a vector of structs. These structs hold information about each GPU on a system like memory and giga-flop/s. There are a different number of GPUs on each system. ...
Hibbs asked 22/8, 2012 at 20:25

2

I want to use multi-processes in a function and how can I make it. As you know, MPI_Init needs two parameter: "int argc, char **argv". Does it mean that I must add these two parameters in the func...
Pricefixing asked 28/7, 2012 at 12:3

© 2022 - 2024 — McMap. All rights reserved.