Install OpenMpi on windows 10

19,807

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.

Share:
19,807
Hamid Haghdoost
Author by

Hamid Haghdoost

Another Web Developer.

Updated on June 20, 2022

Comments

  • Hamid Haghdoost
    Hamid Haghdoost over 1 year

    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