CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Using the MinGW Compiler with MPI (http://www.cfd-online.com/Forums/main/76021-using-mingw-compiler-mpi.html)

Rich May 11, 2010 18:06

Using the MinGW Compiler with MPI
 
Hello All:

Has anyone used the Open-MPI system in combination with the MinGW compiler suite? I've got MinGW (a gcc-compatible compiler collection for Windows) on my machine and I need to find an MPI release that can be used with it. Anyone have experience here?


Regards,

Rich

valgrinda May 15, 2010 17:20

code::blocks + mingw + MPICH2
 
Hei,

I use code::blocks as an IDE for mingw on windows xp 32 bit. For MPI I use the MPICH2 implementation, that works very well in a windows environment, I am not sure about Open MPI (I use it on a mac, though). For the code::blocks/MPICH2 combination, just add the linker and include paths to the compiler settings and you are all set (if you use the default install folders for MPICH2):
linker: C:\Program Files\MPICH2\lib\mpi.lib
Search Directories: C:\Program Files\MPICH2\include

cheers

Hans

Rich May 17, 2010 17:25

Quote:

Originally Posted by valgrinda (Post 258943)
Hei,

I use code::blocks as an IDE for mingw on windows xp 32 bit. For MPI I use the MPICH2 implementation, that works very well in a windows environment, I am not sure about Open MPI (I use it on a mac, though). For the code::blocks/MPICH2 combination, just add the linker and include paths to the compiler settings and you are all set (if you use the default install folders for MPICH2):
linker: C:\Program Files\MPICH2\lib\mpi.lib
Search Directories: C:\Program Files\MPICH2\include

cheers

Hans

Hello Hans:

Thanks for your response. Where did you get your MPICH2 implementation? Did it come with code::blocks, or did you find it elsewhere?


Regards,

Rich

valgrinda May 17, 2010 17:28

Mpich2
 
Hei Rich,

you can download it here: http://www.mcs.anl.gov/research/proj...hp?s=downloads

Cheers
Hans


All times are GMT -4. The time now is 19:33.