Hamid Haghdoost
Hamid Haghdoost

Reputation: 867

Install OpenMpi on windows 10

I am a computer science student and this season we have a course in MPI programming in C language. I don't have enough hard disk space to install visual studio on my computer and I have installed codeblocks, and MinGW as compiler, and I also installed Microsoft MPI to run mpi .exe code. Now I think that I need to install Open mpi to compile my code to exe and run it using MSMPI. Please correct me if I'm wrong until now :)

In OpenMPI download page we just have binary codes, and I don't know how to install binary code in windows...

Thanks all

Upvotes: 8

Views: 31594

Answers (1)

Gilles Gouaillardet
Gilles Gouaillardet

Reputation: 8395

If you plan to build your code with Open MPI and then run it with Microsoft MPI, then just drop that idea ! MPI is standard in a sense that a code can be built with any MPI implementation. There is no guarantee a binary can be ran with any MPI implementation.

Open MPI is not supported under windows, but you can use cygwin and install the openmpi packages. Linux subsystem for Ubuntu is an option i never tried but that might work too.

Upvotes: 4

Related Questions