Tagged Questions
0
votes
0answers
39 views
mpirun has exited due to process rank 3 with PID 4204 on
I am running a code on MPI (not with openMP). The code has 2 cases
case 1 is running properly on MPI. but when i run my case 2 then i got following the error:
forrtl: severe (174): SIGSEGV, ...
-1
votes
0answers
56 views
parallel programming, across multiple OS & hardware platforms [closed]
I am working on a parallel implementation of a particular text parsing software, which may have mathematical tools built in later.
The program is being built in C.
I have a few queries I would like ...
0
votes
1answer
18 views
Weak vs Strong Scaling Speedup and Efficiency
I have a theoretical question. As you know, for the analysis of scaling, the speedup is defined as S(N) = T(1) / T(N) where T(i) is the runtime with i processors. The efficiency is then defined as ...
-1
votes
1answer
27 views
mpi parallel program to find prime numbers. Please help me dubug
enter code hereI wrote the following program to find prime number with the #defined value. It is parallel program using mpi. Can anyone help me find a error in it. It compile well but crashes while ...
1
vote
0answers
30 views
sudoku parallelization with MPI
I want to parallelize my sudoku solver program with MPI. The current serial code relies on backtracking with depth-first search. I did some research, but I am still not sure how to do it.
Some say ...
0
votes
0answers
24 views
Replacement MPI_Send and MPI_Recv function with MPI_ALLTOALL
I want to replace Send and Recv fucntion with ALLTOALL function, so can i do that.
I know, that in MPI_ALLTOALL(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm) function each process ...
0
votes
2answers
54 views
Partition a lifegame-like program for parallel computing with load balance
Consider a lifegame-like computing on a m*n matrix, it takes O(m*n) to develop each cycle.
I'm going to modify this program to a parallel version using Pthread and MPI. The simplest way is static ...
1
vote
1answer
22 views
Will MPI_Send block if matching MPI_IRecv takes less data elements?
Assume the following MPI Code.
MPI_Comm_Rank(MPI_COMM_WORLD, &rank);
if (rank == 0){
MPI_Send(a, count, MPI_CHAR, 1, 0, MPI_COMM_WORLD);
MPI_Send(b, count, MPI_CHAR, 1, 0, MPI_COMM_WORLD);
...
2
votes
1answer
36 views
MPI_Send is blocking in ring communication with large data size
I am trying to form a ring communication using MPI, where my each process is sending its result to next process and last process is sending result to 0th process. Lets assume I have 4 processes then ...
0
votes
1answer
66 views
Flattening a 3D array in c++ for use with MPI
Can anyone help with the general format for flattening a 3D array using MPI? I think I can get the array 1 dimensional just by using (i+xlength*j+xlength*ylength*k), but then I have trouble using ...
1
vote
1answer
36 views
Sending MPI_Comm handler via MPI_Send
I have a quick question: is it possible to send type MPI_Comm (handler of communicator) via MPI_Send/MPI_ISend? Will receiving process be able to use this communicator handler normally?
3
votes
2answers
111 views
MPI virtual graph topology broadcast
I have a following problem:
I would like to create a virtual topology based on tree graph for example:
0
/ \
1 5
| \ |
2 4 3
Vertices' numbers are ranks of processes.
I managed to do ...
0
votes
0answers
30 views
NON Blocking buffered communication in MPI
I am trying to implement a token ring system with MPI.
I need to dispatch various tokens around the ring with some rate.
A cycle will end if the token reaches back to the root.
The objective is to ...
1
vote
1answer
51 views
Can more than 1 process use MPI_Scatter?
Assume I have 3 processes that have the following arrays:
P0 - int sendBuff[3] = {1,2,3};
P1 - int sendBuff[3] = {4,5,6};
P2 - int sendBuff[3] = {7,8,9};
Assume each process has a int recvBuff[3];
...
-4
votes
1answer
76 views
Ideas for final year project, Clusters and MPI? [closed]
Dear friends,
I am doing bachelors in computer science, and I intend to build a 16-node Linux HPC cluster, do some MPI programming on it. I am in the initial stages of learning MPI and ...