- #1
FunkyDwarf
- 489
- 0
Hey gang,
I'm trying to get started with OpenMPI on my windows machine (crazy/stupid I know, one day I will man up and dual boot linux) but I'm running into a few problems.
I can get mpiexec to work fine to run jobs, i.e. examples that come with various installs, but mpicc doesn't seem to want to work.
Specifically, it doesn't seem to find basic libraries used by mpi.h. I get errors like:
fatal error c1083: Cannot open include file: 'stdio.h' no such file or directory.
I have MingW installed for gcc/g++ and they work fine. My environment variable paths are as follows:
C:\OpenMPI\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C:\MinGW\bin;
The only reason Visual studio is there is for cl.exe which is apparently needed by MPI. The IDE path is there for some .dll.
Am I doing something stupid (apart from using windows to code on) or missing something obvious?
Thanks!
EDIT:
I tried including
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
to the path as well and now it can't find stddef.h even though it resides in this folder as well :\
I'm trying to get started with OpenMPI on my windows machine (crazy/stupid I know, one day I will man up and dual boot linux) but I'm running into a few problems.
I can get mpiexec to work fine to run jobs, i.e. examples that come with various installs, but mpicc doesn't seem to want to work.
Specifically, it doesn't seem to find basic libraries used by mpi.h. I get errors like:
fatal error c1083: Cannot open include file: 'stdio.h' no such file or directory.
I have MingW installed for gcc/g++ and they work fine. My environment variable paths are as follows:
C:\OpenMPI\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C:\MinGW\bin;
The only reason Visual studio is there is for cl.exe which is apparently needed by MPI. The IDE path is there for some .dll.
Am I doing something stupid (apart from using windows to code on) or missing something obvious?
Thanks!
EDIT:
I tried including
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
to the path as well and now it can't find stddef.h even though it resides in this folder as well :\