Questions tagged [ms-mpi]

MS-MPI is Microsoft's MPI implementation based on MPICH. The [ms-mpi] tag should be used for questions concerning programs developed using MS-MPI.

Microsoft MPI (MS-MPI) is a Microsoft implementation of the Message Passing Interface standard for developing and running parallel applications on the Windows platform.

Documentation resources at MSDN.

44 questions
1
vote
0 answers

How to use MS MPI with Clion

i try to use MS MPI with the Clion ide. The msmpisdk.msi and the msmpisetup is already installed. How can i include the MS MPI sdk in Clion? Thanks for your Help
Philipp Fu
  • 75
  • 1
  • 6
1
vote
0 answers

Running MSMPI in CLion (Windows)

I am a newbie at MPI. I am running my very first hello-world program in Win10 using Clion but I failed. I have searched for many sources on how to modify my cmakelist. The closest I found was an official Microsoft-MPI instruction that shows how to…
Billy Yan
  • 11
  • 3
1
vote
0 answers

Which version of MPI is in MS-MPI v9.0.1

I have been searching the internet to find the version of MPI in the Microsoft's MSMPI v9.0.1. Is it MPICH1 (1.0, 1.1, 1.2 etc) or MPICH2 (2.1, 2.2) ? Does anybody know the full version number? Thanks!
JKC
  • 109
  • 1
  • 10
1
vote
0 answers

Debugging "Attempting to use an MPI routine after finalizing MPI"

Is there an easy way to get at "Attempting to use an MPI routine after finalizing MPI"? It is for sure being called by a logging message, possibly in a destructor, but I can't find the call.
Carbon
  • 3,828
  • 3
  • 24
  • 51
1
vote
2 answers

Passing and pushing into a vector in MPI_Reduce

I need the reducing node to get a copy of a list of elements (stored in a vector) from the other nodes. I defined my own reducing function but it is not working. The program terminates/crashes. This is the code: #include #include…
Jack
  • 131
  • 1
  • 8
1
vote
1 answer

MPI Reduce and Broadcast work, but cause a future return value to fail

I am using MPI to implement Dijkstras algorithm for a class. My teacher also has no idea of why this is broken and has given me permission to post here. My problem is happening in the chooseVertex function. The program works fine for 1 processor,…
Dave D
  • 307
  • 1
  • 3
  • 8
0
votes
0 answers

Matrix multiplication using serial and parallel algorithm with c++ and MPI

the program supposed to calculate matrices multiplication using two methods and compare their value , speedup and efficiency. Both take two same matrices and return the resulting matrix product The program have two methods to calculate the matrix…
0
votes
0 answers

C++ Matrix multiplication program with MPI using serial algorithm and another one using parallel version

The program have two methods to calculate the matrix product: one using serial algorithm //Function to multiply matrices using serial algorithm int** multiplySerial(int** matrixA, int** matrixB, int rowsA, int colsA, int colsB) { int** result =…
0
votes
0 answers

mpi application performace get worse when adding more process

i write parallel binary search algorithm with MPI it works as expected in term of searching for a value but when the -n is 1 (serial) the total time is much lower than any value above that like 2, 4, 8, etc.... when i increase number of process it…
baha
  • 13
  • 2
0
votes
1 answer

Why does the "MPI_Comm_split" funtion always fail to split them into different subcommunicators?

#include #include #include //Please run this program with 4 processes int main(int argc, char* argv[]) { MPI_Init(&argc, &argv); // Check that 4 MPI processes are used int comm_size; …
user19470144
0
votes
1 answer

Fatal error in MPI_Bcast: Message truncated, error stack

My program crashes after doing MPI_Bcast. Below is the code and the error. int size_of_simple = 0; long long* simple = malloc(50000 * sizeof(long long)); if (rank == 0) { size_of_simple =…
0
votes
1 answer

Usage of all available threads for OMP inside Master MPI only part - hybrid parallel programming

Is it possible to use all available threads for OMP on a region where only master MPI is active?. I mean something like this: START | MPI-I --------- MPI-II (master) | | omp1-omp2 -skip- REGION1…
Costagol
  • 1
  • 1
0
votes
1 answer

Difference between MPICH and MS MPI

I implemented a Sudoku solver which runs as expected with MPICH on my Linux machine. Every process is working, which can be seen on the task manager. The log file confirms everything too. But somehow I get a weird behavior when I compile and run the…
Cano707
  • 181
  • 1
  • 10
0
votes
1 answer

How to prevent local msmpi installation from loading system wide msmpi.dll

I'm writing a console app for windows that sets up an environment and launches (popen) various hpc-apps using msmpi mpiexec.exe. I have an msmpi installation installed locally to the application I'm writing. All works fine and parallel processing is…
0
votes
1 answer

MPI end program with Broadcast when some process finds a solution

I am having problems with ending my program using MS-MPI. All return values seems fine but I have to ctrl + c in cmd to end it (it doesn't look like it's still computing so the exit condition looks fine). I want to run a program using N processes.…