[mpich-discuss] MPICH2 config hangs

Dungan, Kerry kdungan at hpti.com
Thu Feb 17 14:12:21 CST 2011


It is still hanging.  I also tried updating cygwin to add fortran so I could simplify the configure options.  Any other suggestions?
________________________________________
From: mpich-discuss-bounces at mcs.anl.gov [mpich-discuss-bounces at mcs.anl.gov] on behalf of Anthony Chan [chan at mcs.anl.gov]
Sent: Thursday, February 17, 2011 2:27 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] MPICH2 config hangs

I don't exactly know what went wrong.  AC_HEADER_STDC should trigger a test to look
for EGREP in mpich2's main configure.  But your c.txt indicates that the various
*GREP tests are not carried out before AC_HEADER_STDC in main configure.

For now, can you configure as follows:

configure --disable-f77 --disable-fc --enable-timer-type=gettimeofday ac_cv_path_EGREP="/usr/bin/grep -E" --prefix=....

Let us know if that works.

A.Chan



----- Original Message -----
> updated c.txt with echo attached...
>
> Here are the last comments before hanging:
>
> checking for ANSI C header files... + test '' = set
> + cat
> + cat confdefs.h
> + cat
> + rm -f conftest.o
> + ac_try='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
> + case "(($ac_try" in
> + ac_try_echo='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
> + eval 'ac_try_echo="$as_me:24264: $CC -c $CFLAGS $CPPFLAGS
> conftest.$ac_ext >&5"'
> ++ ac_try_echo='configure:24264: gcc -c -O2
> -I/tmp/kdungan/mpich2-1.3.2p1/src/mpl/include
> -I/home/kdungan/libraries/mpich2-1.3.2p1/src/mpl/include
> -I/home/kdungan/libraries/mpich2-1.3.2p1/src/openpa/src
> -I/tmp/kdungan/mpich2-1.3.2p1/src/openpa/src conftest.c >&5'
> + printf '%s\n' 'configure:24264: gcc -c -O2
> -I/tmp/kdungan/mpich2-1.3.2p1/src/mpl/include
> -I/home/kdungan/libraries/mpich2-1.3.2p1/src/mpl/include
> -I/home/kdungan/libraries/mpich2-1.3.2p1/src/openpa/src
> -I/tmp/kdungan/mpich2-1.3.2p1/src/openpa/src conftest.c >&5'
> + ac_status=0
> + grep -v '^ *+' conftest.er1
> + rm -f conftest.er1
> + cat conftest.err
> + printf '%s\n' 'configure:24271: $? = 0'
> + exit 0
> + test -z ''
> + test -s conftest.o
> + ac_cv_header_stdc=yes
> + rm -f core conftest.err conftest.o conftest.c
> + test yes = yes
> + cat
> + cat confdefs.h
> + cat
> + memchr
>
>
> ________________________________________
> From: Anthony Chan [chan at mcs.anl.gov]
> Sent: Thursday, February 17, 2011 12:34 PM
> To: Dungan, Kerry
> Cc: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] MPICH2 config hangs
>
> Can you add --enable-echo to your configure and send us the configure
> output ?
>
> A.Chan
>
> ----- Original Message -----
> > Setting gcc-4 was my attempt to solve the problem. The default gives
> > the same problem.
> >
> > ________________________________________
> > From: mpich-discuss-bounces at mcs.anl.gov
> > [mpich-discuss-bounces at mcs.anl.gov] on behalf of Anthony Chan
> > [chan at mcs.anl.gov]
> > Sent: Thursday, February 17, 2011 11:17 AM
> > To: mpich-discuss at mcs.anl.gov
> > Subject: Re: [mpich-discuss] MPICH2 config hangs
> >
> > The ANSI C header test actually returns OK but configure just stops
> > for
> > no good reason. The test after the AC_HEADER_STDC looks for
> > stddef.h(the
> > same test returns OK earlier) but the record is in a different
> > config.log.
> > Is there any reason that you set CPP/CXXCPP to cpp-4 instead of
> > letting configure
> > looks for what it wants ?
> >
> > ----- Original Message -----
> > > During the configure phase of installing MPICH2 in cygwin, the
> > > tool
> > > hangs at
> > >
> > > checking for ANSI C header files...
> > >
> > > The same command is successful two times earlier in the script.
> > > c.txt
> > > is attached.
> > >
> > > Thanks,
> > >
> > > Kerry E. Dungan, Ph.D.
> > > Senior Staff Scientist
> > > High-Performance Technologies, Inc.
> > >
> > >
> > > _______________________________________________
> > > mpich-discuss mailing list
> > > mpich-discuss at mcs.anl.gov
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: c.txt
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110217/7368332f/attachment-0001.txt>


More information about the mpich-discuss mailing list