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
5
votes
2 answers

How to compile and run C/C++ MPI codes in cmd on windows without Visual Studio

I install MS-MPI I like to code in sublime text specially C/C++ I run code in cmd using gcc/g++ How can I compile and run MPI codes from cmd I don't like visual studio So, is there any way i can compile and run my C/C++ MPI codes with MS-MPI in…
SHAH MD IMRAN HOSSAIN
  • 2,558
  • 2
  • 25
  • 44
4
votes
1 answer

How to get mpi4py processes to finish printing before executing time.sleep()?

When I run the code below using mpiexec -n 5 python mpiTest.py, I expect every process to print its message immediately, then sleep for the specified amount of time. Instead, it executes as if I put the print command AFTER the sleep command. Why…
endlesse
  • 141
  • 1
  • 6
4
votes
1 answer

ms mpi error: unable to allocate launching block

I created simple console programm in VS 2015, using ms mpi. #include #include #include int main(int argc, char **argv) { int rank=0, size=0; MPI_Init(&argc, &argv); /* starts MPI */ …
2
votes
1 answer

mpi4py conflicts with MS-MPI (msmpi.dll) on Anaconda3

Besides the mpi4py package, conda-forge is also offering a msmpi package which is probably intended to be used with the mpi4py package. This is probably the reason why installing mpi4py on the Anaconda Prompt (Anaconda3) on Windows 10 (Microsoft)…
NicolasBourbaki
  • 853
  • 1
  • 6
  • 19
2
votes
1 answer

Running OpenFOAM native compile on a non-admin Windows

I have downloaded and installed a Windows native compiled OpenFOAM from here. But when I try to run any of the OF commands (e.g., blockMesh, foamDictionary, ...) in the MSYS2 terminal I get the…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
2
votes
1 answer

MSMPI in-place MPI_Allreduce not working with MinGW-w64 gfortran

I am trying to use the in-place MPI_Allreduce with the combination of MinGW-w64 gfortran (version 9.2 provided by MSYS64) and Microsoft MPI (version 10), call MPI_Allreduce(MPI_IN_PLACE, srcdst, n, MPI_REAL8, MPI_SUM, MPI_COMM_WORLD, ierr) The…
jacob
  • 1,535
  • 1
  • 11
  • 26
2
votes
1 answer

MPI4Py comm.Barrier() not blocking on MSMPI?

While implementing a parallel algorithm in Python 3.7.0 using MPI4PY 3.0.0 on MSMPI on Windows 10, I was having problems with the Gatherv not gathering everything... When cheking printing of various bits it seemed to be executing things in the wrong…
Ash Pera
  • 158
  • 1
  • 10
2
votes
1 answer

The -bind-to command in Microsoft MPI

On Ubuntu with Open MPI installed, I can use -bind-to command to bind each of the processes to a physical core like mpiexec -np 4 -bind-to core python mycode.py. Now I have to work on Windows with MS-MPI installed, I don't know if there is a similar…
Jiaqi
  • 21
  • 1
2
votes
1 answer

How can I detect if my application is started by MS MPI mpiexec?

My application is sequential and I want to make it parallel. Hence I want to check if I am in MPI environment or not to adapt to parallel processing.
Sanjaya
  • 21
  • 4
2
votes
2 answers

MPI messages across libraries

Can you send MPI messages across two libraries? Example - If I have MS-MPI installed on a windows machine and then Open-MPI on a linux cluster (Same Network), can I get messages between code running on the two different OS. Basically multiple…
runfastman
  • 927
  • 2
  • 11
  • 31
2
votes
0 answers

MS-MPI MPI_Barrier: sometimes hangs indefinitely, sometimes doesn't

I'm using the MPI.NET library, and I've recently moved my application to a bigger cluster (more COMPUTE-NODES). I've started seeing various collective functions hang indefinitely, but only sometimes. About half the time a job will complete, the rest…
mattyB
  • 1,094
  • 10
  • 21
2
votes
0 answers

Compile C++ MPI Code on Windows

I have just installed Microsoft MPI (MS-MPI) which "is a Microsoft implementation of the Message Passing Interface standard for developing and running parallel applications on the Windows platform". The site also contains a link to a featured…
Sandu Ursu
  • 1,181
  • 1
  • 18
  • 28
2
votes
0 answers

MS-MPI application failed on more than one node

I have two virtual boxes with windows 7. Their IPs are 10.0.0.20 and 10.0.0.22. From one virtual box I can ping the other one. On both boxes I open an smpd connection: smpd -p 8677 On both box I can see that port 8677 is listening. From one box,…
user1482030
  • 777
  • 11
  • 23
1
vote
1 answer

MPI on Windows: how to detect available library and processor count

I would like to automate detection of an MPI library under Windows 10/11 via a script. So far the only options would be MPICH2 or MS-MPI, so I'd like to: Find an available installation (search for mpiexec.exe or spmd.exe) For this, I'm currently…
Federico Perini
  • 1,414
  • 8
  • 13
1
vote
1 answer

Cannot compile program with MSMPI and GCC

I'm trying to compile a MSMPI program in C with gcc. Here is what I am including in my code: #define MSMPI_NO_SAL #include "mpi.h" #include #include #include I'm using Vscode with the following task: { "version":…
Etienne Berube
  • 547
  • 1
  • 7
  • 21
1
2 3