[mpich-discuss] MPICH2 config hangs
Jayesh Krishna
jayesh at mcs.anl.gov
Thu Feb 17 16:12:22 CST 2011
Hi,
However I have noticed that I get "Resource temporarily unavailable" with Cygwin on Windows 7 (for vfork() system call) systems. Although re-running the command usually fixes the problem.
Do you get any other error messages when you configure MPICH2 ?
Regards,
Jayesh
----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: mpich-discuss at mcs.anl.gov
Sent: Thursday, February 17, 2011 3:52:01 PM
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