[mpich-discuss] MPICH2 config hangs

Oleg Gamov gamov at kipt.kharkov.ua
Fri Feb 18 09:20:55 CST 2011


Hi Kerry,

I am thankful to you for the prompt reply. 

I feel that I have missed one valuable thing: my system is Windows 7 x64.
(BTW, the same happens for 64-bit XP and  Windows 2008 Server versions as
well).

Sincerely,
Oleg


-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dungan, Kerry
Sent: Friday, February 18, 2011 5:06 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] MPICH2 config hangs

I did a clean install of cygwin and was able to install mpich2 this time.
The one change that I made was to use gcc version 4.3 instead of 4.5.
Perhaps this made the difference.  Thanks for your help.

Kerry

________________________________________
From: Jayesh Krishna [jayesh at mcs.anl.gov]
Sent: Thursday, February 17, 2011 4:52 PM
To: mpich-discuss at mcs.anl.gov
Cc: Dungan, Kerry
Subject: Re: [mpich-discuss] MPICH2 config hangs

Hi,
 I just tried compiling MPICH2 1.3.2p1 with the same configuration
parameters on Cygwin (1.7.7(0.230/5/3)) and it did not hang for me. Can you
compile any previous versions of MPICH2, say 1.3.1
(http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/)?

Regards,
Jayesh

----- Original Message -----
From: "Kerry Dungan" <kdungan at hpti.com>
To: mpich-discuss at mcs.anl.gov
Sent: Thursday, February 17, 2011 2:12:21 PM
Subject: Re: [mpich-discuss] MPICH2 config hangs

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

_______________________________________________
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



More information about the mpich-discuss mailing list