How to run OpenMPI C code under Windows 7
I'm trying to get OpenMPI C code to run under Windows 7 any way that I can. Evidently there is no current support for running OpenMPI directly under Windows 7, so I installed Cygwin. Is there a better way to run OpenMPI C code under Windows 7?
Under Cygwin, I installed a GCC C compiler, which works.
I also installed an OpenMPI package. Here is a link to a list of the files in the Cygwin OpenMPI package:
My PATH variable is as follows:
/usr/local/bin:/usr/bin
mpicc will compile, but it won't link. It can't find the following:
-lmpi
-lopen-rte
-lopen-pal
The test program includes stdio.h and is nothing more than printf hello world. I can compile and run it using the GCC C compiler.
Presumably I need to update the PATH variable so that the link step will find the missing components. Are those components file names or info contained in some other files? Can I verify that the needed files have been installed?
I would also be pleased to obtain a link to material that explains the OpenMPI system, in general, and the OpenMPI C functions, in particular, so that I can write C programs to use the OpenMPI system.
I looked for this kind of info on the web, but I haven't found it yet. Maybe it's on the OpenMPI site, and I missed it.
Thanks for your help!
Philip Bitar