problem in install mpi on windows

38 views
Skip to first unread message

masoud aghili

unread,
May 5, 2012, 2:59:05 PM5/5/12
to omn...@googlegroups.com

hi
 I want to use mpi library on windows.
I tried to set MPI_CFLAGS and MPI_LIBS in configure.user
MPI_CFLAGS="-I D:\learning\arshad\finalproj\
DeinoMPI"
MPI_LIBS="-L D:\learning\arshad\finalproj\DeinoMPI\lib -lcxx -lmpi"   #SGI

 all path in configure.user are linux address, are these windwos address  setting correct?
but i get error. these are lines of config.log file

| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <mpi.h>
| int
| main ()
| {
| MPI_Init(0,0);
|   ;
|   return 0;
| }

configure:6672: result: no
configure:6699: checking for MPI with CFLAGS=" -O2 -DNDEBUG=1   -I/usr/include -fno-stack-protector -I D:\learning\arshad\finalproj\DeinoMPI" LIBS="  -Wl,--enable-auto-import -shared-libgcc -L/usr/bin -L/usr/lib -Wl,-rpath,$(OMNETPP_LIB_DIR) -Wl,-rpath,. -L D:\learning\arshad\finalproj\DeinoMPI\lib -lcxx -lmpi"
configure:6723: g++ -o conftest.exe  -O2 -DNDEBUG=1   -I/usr/include -fno-stack-protector -I D:\learning\arshad\finalproj\DeinoMPI    -Wl,--enable-auto-import -shared-libgcc -L/usr/bin -L/usr/lib -Wl,-rpath,$(OMNETPP_LIB_DIR) -Wl,-rpath,. conftest.cpp   -Wl,--enable-auto-import -shared-libgcc -L/usr/bin -L/usr/lib -Wl,-rpath,$(OMNETPP_LIB_DIR) -Wl,-rpath,. -L D:\learning\arshad\finalproj\DeinoMPI\lib -lcxx -lmpi >&5
conftest.cpp:8:17: fatal error: mpi.h: No such file or directory
compilation terminated.
configure:6729: $? = 1
configure: failed program was:
I'm looking forward to hearing from you.

Reply all
Reply to author
Forward
0 new messages