[MPICH] libmpich2.a in cygwin under WinXP

madfran madfran at set-ezine.org
Fri Feb 1 16:50:20 CST 2008


Hi,...

Trying to compile the hellow.c found under the examples of the MPICH2/cygwin 
distribution, I receive this error,

****************************************************************************
$ make hellow
gcc  -I../src/include -I../src/include -I/cygdrive/c/Progra~1/MPICH2/include -
L/
cygdrive/c/Progra~1/MPICH2/lib  -c hellow.c
make: *** No rule to make target `../lib/libmpich.a', needed by `hellow'.  
Stop.
****************************************************************************

The origin of the error is the instruction in makefile,

****************************************************************************
MPILIBNAME      = mpich
hellow: hellow.o   ../lib/lib${MPILIBNAME}.a
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o hellow hellow.o  ${LIBS}
****************************************************************************

I find in c:\Program Files\MPICH2\lib
these files,
libfmpich2g.a
libmpi.a
libmpicxx.a

Which is the equivalent to libmpich.a under WinXP ?







More information about the mpich-discuss mailing list