Index: configure =================================================================== RCS file: /MPIhome/mpich/configure,v retrieving revision 1.122 diff -r1.122 configure 43c43 < [-listener_sig=name] --- > [-listener_sig=SIGNAL_NAME] 80a81,83 > SIGNAL_NAME = name of the signal for the P4 (device=ch_p4) device to > use to indicate that a new connection is needed. By > default, it is SIGUSR1. 539a543,546 > -listener_sig=*) > listener_sig=`echo A$arg|sed -e 's/A-listener_sig=//g'` > ;; > 564c571 < -strict) --- > --enable-strict|-enable-strict|-strict) 566,568c573,576 < CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes" < USER_CFLAGS="$USER_CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes" < ROMIO_CFLAGS="$ROMIO_CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes" --- > # To get -Wuninitialized, we need -O > CFLAGS="$CFLAGS -O -Wall -Wstrict-prototypes -Wmissing-prototypes" > USER_CFLAGS="$USER_CFLAGS -O -Wall -Wstrict-prototypes -Wmissing-prototypes" > ROMIO_CFLAGS="$ROMIO_CFLAGS -O -Wall -Wstrict-prototypes -Wmissing-prototypes" 6589a6598,6672 > # XOPEN mandates that union semun NOT be defined(!) > if test -z "$ac_echo_n" ; then > ac_echo_n=yes > if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then > # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. > if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then > ac_n= ac_c=' > ' ac_t=' ' > else > ac_n=-n ac_c= ac_t= > fi > else > ac_n= ac_c='\c' ac_t= > fi > ac_echo_test=`echo foo 1>&1` > if test -z "$ac_echo_test" ; then > print_error "Your sh shell does not handle the output redirection" > print_error "1>&1 correctly. Configure will work around this problem," > print_error "but you should report the problem to your vendor." > fi > > fi > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo $ac_n "checking for for union semun""... $ac_c" > else > echo $ac_n "checking for for union semun""... $ac_c" 1>&1 > fi > if test ! -f confdefs.h ; then > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo "$ac_t"""!! SHELL ERROR !!"" > else > echo "$ac_t"""!! SHELL ERROR !!"" 1>&1 > fi > echo "The file confdefs.h created by configure has been removed" > echo "This may be a problem with your shell; some versions of LINUX" > echo "have this problem. See the Installation guide for more" > echo "information." > exit 1 > fi > cat > conftest.c < #include "confdefs.h" > #include > int main() { exit(0); } > int t() { > union semun arg;arg.val=0; } > EOF > if eval $compile; then > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo "$ac_t""yes" > else > echo "$ac_t""yes" 1>&1 > fi > : > else > rm -rf conftest* > > { > test -n "$verbose" && \ > echo " defining SEMUN_UNDEFINED" > echo "#define" SEMUN_UNDEFINED 1 >> confdefs.h > DEFS="$DEFS -DSEMUN_UNDEFINED=1" > SEDDEFS="${SEDDEFS}\${SEDdA}SEMUN_UNDEFINED\${SEDdB}SEMUN_UNDEFINED\${SEDdC}1\${SEDdD} > \${SEDuA}SEMUN_UNDEFINED\${SEDuB}SEMUN_UNDEFINED\${SEDuC}1\${SEDuD} > \${SEDeA}SEMUN_UNDEFINED\${SEDeB}SEMUN_UNDEFINED\${SEDeC}1\${SEDeD} > " > } > > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo "$ac_t""no" > else > echo "$ac_t""no" 1>&1 > fi > fi > rm -f conftest* > 11239a11323,11392 > if test -n "$F90" ; then > > if test -z "$ac_echo_n" ; then > ac_echo_n=yes > if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then > # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. > if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then > ac_n= ac_c=' > ' ac_t=' ' > else > ac_n=-n ac_c= ac_t= > fi > else > ac_n= ac_c='\c' ac_t= > fi > ac_echo_test=`echo foo 1>&1` > if test -z "$ac_echo_test" ; then > print_error "Your sh shell does not handle the output redirection" > print_error "1>&1 correctly. Configure will work around this problem," > print_error "but you should report the problem to your vendor." > fi > > fi > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo $ac_n "checking for Fortran 90 KIND parameter for 8-byte integers""... $ac_c" > else > echo $ac_n "checking for Fortran 90 KIND parameter for 8-byte integers""... $ac_c" 1>&1 > fi > rm -f conftest* > cat < conftest.f > program main > integer i > i = selected_int_kind(16) > open(8, file="conftest1.out", form="formatted") > write (8,*) i > close(8) > stop > end > EOF > if test -z "$F90" ; then > F90=f90 > fi > KINDVAL="" > if $F90 -o conftest conftest.f >conftest.out 2>&1 ; then > ./conftest >>conftest.out 2>&1 > if test -s conftest1.out ; then > KINDVAL=`cat conftest1.out` > else > if test -s conftest.out ; then cat conftest.out >> config.log ; fi > KINDVAL=-1 > fi > fi > rm -f conftest* > if test -n "$KINDVAL" -a "$KINDVAL" != "-1" -a "$KINDVAL" != " -1" ; then > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo "$ac_t""$KINDVAL" > else > echo "$ac_t""$KINDVAL" 1>&1 > fi > > else > if test -z "$ac_echo_test" -a 1 = 1 ; then > echo "$ac_t""unavailable" > else > echo "$ac_t""unavailable" 1>&1 > fi > > fi > > fi 12697a12851 > GENCAT="true" 12773a12928 > GENCAT="gencat" 12917a13073 > 15923c16079 < CFLAGS="$CFLAGS -DHAVE_CONFIG_H -DHAVE_MPICHCONF_H" --- > CFLAGS="$CFLAGS -DHAVE_MPICHCONF_H" 16242,16319d16397 < # first test that romio will configure if on LINUX. < # ROMIO uses this test for LINUX < if test `bin/tarch` = "LINUX" ; then < if test -z "$ac_echo_n" ; then < ac_echo_n=yes < if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then < # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. < if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then < ac_n= ac_c=' < ' ac_t=' ' < else < ac_n=-n ac_c= ac_t= < fi < else < ac_n= ac_c='\c' ac_t= < fi < ac_echo_test=`echo foo 1>&1` < if test -z "$ac_echo_test" ; then < print_error "Your sh shell does not handle the output redirection" < print_error "1>&1 correctly. Configure will work around this problem," < print_error "but you should report the problem to your vendor." < fi < < fi < if test -z "$ac_echo_test" -a 1 = 1 ; then < echo $ac_n "checking that linux/nfs_fs.h is correct""... $ac_c" < else < echo $ac_n "checking that linux/nfs_fs.h is correct""... $ac_c" 1>&1 < fi < if test ! -f confdefs.h ; then < if test -z "$ac_echo_test" -a 1 = 1 ; then < echo "$ac_t"""!! SHELL ERROR !!"" < else < echo "$ac_t"""!! SHELL ERROR !!"" 1>&1 < fi < echo "The file confdefs.h created by configure has been removed" < echo "This may be a problem with your shell; some versions of LINUX" < echo "have this problem. See the Installation guide for more" < echo "information." < exit 1 < fi < cat > conftest.c < < #include < #include < int main() { exit(0); } < int t() { return 0; } < EOF < if eval $compile; then < < : < else < rm -rf conftest* < ROMIO=0 < < fi < rm -f conftest* < < if test $ROMIO = 1 ; then < if test -z "$ac_echo_test" -a 1 = 1 ; then < echo "$ac_t""yes" < else < echo "$ac_t""yes" 1>&1 < fi < else < if test -z "$ac_echo_test" -a 1 = 1 ; then < echo "$ac_t""no" < else < echo "$ac_t""no" 1>&1 < fi < print_error "ROMIO cannot be built because linux/nfs_fs.h is broken" < print_error "Get an updated version of LINUX to fix this" < fi < fi < fi < if test $ROMIO = 1 -a -d romio ; then 16429a16508 > GENCAT='$GENCAT' 16582a16662 > s%@GENCAT@%$GENCAT%g 16593,16594c16673,16674 < s%@CONFIGURE_ARGS_CLEAN@%$CONFIGURE_ARGS_CLEAN%g < s%@NODEVDEBUG@%$NODEVDEBUG%g" | sed -e " --- > s%@CONFIGURE_ARGS_CLEAN@%$CONFIGURE_ARGS_CLEAN%g" | sed -e " > s%@NODEVDEBUG@%$NODEVDEBUG%g 16635,16636c16715,16716 < s%@INCLUDE_PATH@%$INCLUDE_PATH%g < s%@LIB_LIST@%$LIB_LIST%g" | sed -e " --- > s%@INCLUDE_PATH@%$INCLUDE_PATH%g" | sed -e " > s%@LIB_LIST@%$LIB_LIST%g 16677,16678c16757,16758 < s%@JUMPSHOT_OPTS@%$JUMPSHOT_OPTS%g < s%@F77IARGC@%$F77IARGC%g" | sed -e " --- > s%@JUMPSHOT_OPTS@%$JUMPSHOT_OPTS%g" | sed -e " > s%@F77IARGC@%$F77IARGC%g 16983c17063 < if test -f romio/include/mpiof.h ; then --- > if test -f romio/include/mpiof.h -a $ROMIO = 1 ; then Index: configure.in =================================================================== RCS file: /MPIhome/mpich/configure.in,v retrieving revision 1.135 diff -r1.135 configure.in 51c51 < [-listener_sig=name] --- > [-listener_sig=SIGNAL_NAME] 88a89,91 > SIGNAL_NAME = name of the signal for the P4 (device=ch_p4) device to > use to indicate that a new connection is needed. By > default, it is SIGUSR1. 547a551,554 > -listener_sig=*) > listener_sig=`echo A$arg|sed -e 's/A-listener_sig=//g'` > ;; > 572c579 < -strict) --- > --enable-strict|-enable-strict|-strict) 574,576c581,584 < CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes" < USER_CFLAGS="$USER_CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes" < ROMIO_CFLAGS="$ROMIO_CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes" --- > # To get -Wuninitialized, we need -O > CFLAGS="$CFLAGS -O -Wall -Wstrict-prototypes -Wmissing-prototypes" > USER_CFLAGS="$USER_CFLAGS -O -Wall -Wstrict-prototypes -Wmissing-prototypes" > ROMIO_CFLAGS="$ROMIO_CFLAGS -O -Wall -Wstrict-prototypes -Wmissing-prototypes" 1716a1725,1727 > # XOPEN mandates that union semun NOT be defined(!) > AC_COMPILE_CHECK(for union semun,[#include ],[ > union semun arg;arg.val=0;],,AC_DEFINE(SEMUN_UNDEFINED)) 2601a2613,2615 > if test -n "$F90" ; then > PAC_FORTRAN_INT_KIND(F90_INT8_KIND) > fi 2773a2788 > GENCAT="true" 2785a2801 > GENCAT="gencat" 2819a2836 > AC_SUBST(GENCAT) 3147c3164 < CFLAGS="$CFLAGS -DHAVE_CONFIG_H -DHAVE_MPICHCONF_H" --- > CFLAGS="$CFLAGS -DHAVE_MPICHCONF_H" 3278,3295d3294 < # first test that romio will configure if on LINUX. < # ROMIO uses this test for LINUX < if test `bin/tarch` = "LINUX" ; then < AC_MSG_CHECKING(that linux/nfs_fs.h is correct) < AC_COMPILE_CHECK(,[ < #include < #include < #include ],return 0;,,ROMIO=0) < if test $ROMIO = 1 ; then < AC_MSG_RESULT(yes) < else < AC_MSG_RESULT(no) < print_error "ROMIO cannot be built because linux/nfs_fs.h is broken" < print_error "Get an updated version of LINUX to fix this" < fi < fi < fi < if test $ROMIO = 1 -a -d romio ; then 3590c3589 < if test -f romio/include/mpiof.h ; then --- > if test -f romio/include/mpiof.h -a $ROMIO = 1 ; then Index: examples/test/context/attrtest.f =================================================================== RCS file: /MPIhome/mpich/examples/test/context/attrtest.f,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -r1.1.1.1 -r1.2 6a7 > integer PM_GLOBAL_ERROR, PM_NUM_NODES 12c13 < integer Faz_World --- > integer Faz_World, FazTag 28a30,31 > C. Make sure that we can get an attribute that hasn't been set yet (flag > C. is false) 31a35,39 > if (FazFlag) then > print *, 'Did not get flag==false when attr_get of key that' > print *, 'had not had a value set with attr_put' > endif > 33a42,45 > > C. Check that the put worked > call MPI_attr_get (MPI_COMM_WORLD, FazTag, FazAttr, > & FazFlag, Error) Index: examples/test/env/timertest.c =================================================================== RCS file: /MPIhome/mpich/examples/test/env/timertest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -r1.2 -r1.3 15c15 < fprintf( stderr, "Two successive calls to MPI_Wtime gave: (%f) (%f)\n", --- > fprintf( stdout, "Two successive calls to MPI_Wtime gave: (%f) (%f)\n", 17c17 < fprintf( stderr, "Five approximations to one second:\n"); --- > fprintf( stdout, "Five approximations to one second:\n"); 23c23 < fprintf( stderr, "%f seconds\n", t2 - t1 ); --- > fprintf( stdout, "%f seconds\n", t2 - t1 ); 26c26 < fprintf( stderr, "MPI_Wtick gave: (%10.8f)\n", tick ); --- > fprintf( stdout, "MPI_Wtick gave: (%10.8f)\n", tick ); Index: examples/test/pt2pt/sendcplx.f =================================================================== RCS file: /MPIhome/mpich/examples/test/pt2pt/sendcplx.f,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -r1.1.1.1 -r1.2 6c6 < INTEGER myid,IERR,NPROCS --- > INTEGER myid,IERR,NPROCS, stat(MPI_STATUS_SIZE) Index: mpid/ch_p4/p4/servers/serv_p4.c =================================================================== RCS file: /MPIhome/mpich/mpid/ch_p4/p4/servers/serv_p4.c,v retrieving revision 1.6 diff -r1.6 serv_p4.c 136c136 < FILE *stdin_fp = stdin; --- > FILE *stdin_fp = 0; /* = stdin; */ 138c138 < FILE *stdout_fp = stdout; --- > FILE *stdout_fp = 0; /* = stdout; */ 140c140 < FILE *stderr_fp = stderr; --- > FILE *stderr_fp = 0; /* = stderr; */ 163a164,168 > > /* Initialize the FILE handles */ > stdin_fp = stdin; > stdout_fp = stdout; > stderr_fp = stderr; Index: mpid/globus/adi2pack.c =================================================================== RCS file: /MPIhome/mpich/mpid/globus/adi2pack.c,v retrieving revision 1.5 retrieving revision 1.6 diff -r1.5 -r1.6 8c8 < * Version: $Id: adi2pack.c,v 1.5 1998/06/25 19:53:16 karonis Exp $ --- > * Version: $Id: adi2pack.c,v 1.6 1999/03/02 17:01:46 gropp Exp $ 31a32 > #if 0 /* not needed by globus device */ 40a42 > #endif Index: mpid/globus/adi2probe.c =================================================================== RCS file: /MPIhome/mpich/mpid/globus/adi2probe.c,v retrieving revision 1.3 diff -r1.3 adi2probe.c 8c8 < * Version: $Id: adi2probe.c,v 1.3 1998/06/08 19:39:54 karonis Exp $ --- > * Version: $Id: adi2probe.c,v 1.4 1999/03/02 17:01:48 gropp Exp $ 104a105 > int mpi_errno = MPI_SUCCESS; 107a109 > if (mpi_errno) return mpi_errno; 198c200 < globus_nexus_printf("FATAL ERROR: MPID_Get_count(): encountered invalid status->private_count %0 which is STATUSCOUNT_RCVBUFSIZE\n"); --- > globus_nexus_printf("FATAL ERROR: MPID_Get_count(): encountered invalid status->private_count %d which is STATUSCOUNT_RCVBUFSIZE\n", status->private_count); 227a230 > int mpi_errno = MPI_SUCCESS; 230a234 > if (mpi_errno) return mpi_errno; 308c312 < globus_nexus_printf("FATAL ERROR: MPID_Get_elements(): encountered invalid status->private_count %0 which is STATUSCOUNT_RCVBUFSIZE\n"); --- > globus_nexus_printf("FATAL ERROR: MPID_Get_elements(): encountered invalid status->private_count %d which is STATUSCOUNT_RCVBUFSIZE\n", status->private_count); Index: mpid/server/serv_p4.c =================================================================== RCS file: /MPIhome/mpich/mpid/server/serv_p4.c,v retrieving revision 1.13 diff -r1.13 serv_p4.c 236c236 < FILE *stdin_fp = stdin; --- > FILE *stdin_fp = 0; /* stdin; */ 238c238 < FILE *stdout_fp = stdout; --- > FILE *stdout_fp = 0; /* stdout; */ 240c240 < FILE *stderr_fp = stderr; --- > FILE *stderr_fp = 0; /* stderr; */ 266a267,271 > > /* Initialize the FILE handles */ > stdin_fp = stdin; > stdout_fp = stdout; > stderr_fp = stderr; Index: romio/adio/common/ad_fstype.c =================================================================== RCS file: /MPIhome/romio/adio/common/ad_fstype.c,v retrieving revision 1.3 retrieving revision 1.4 diff -r1.3 -r1.4 2c2 < * $Id: ad_fstype.c,v 1.3 1998/06/15 17:45:25 thakur Exp $ --- > * $Id: ad_fstype.c,v 1.4 1999/02/22 16:16:57 thakur Exp $ 14c14,15 < #include --- > /* #include this file is broken in newer versions of linux */ > #define NFS_SUPER_MAGIC 0x6969 Index: src/pt2pt/testany.c =================================================================== RCS file: /MPIhome/mpich/src/pt2pt/testany.c,v retrieving revision 1.7 retrieving revision 1.8 diff -r1.7 -r1.8 2c2 < * $Id: testany.c,v 1.7 1998/04/28 21:47:20 swider Exp $ --- > * $Id: testany.c,v 1.8 1999/03/01 16:10:43 gropp Exp $ 113c113 < *index = -1; --- > *index = MPI_UNDEFINED; Index: src/pt2pt/waitany.c =================================================================== RCS file: /MPIhome/mpich/src/pt2pt/waitany.c,v retrieving revision 1.6 retrieving revision 1.7 diff -r1.6 -r1.7 2c2 < * $Id: waitany.c,v 1.6 1998/07/01 19:56:17 gropp Exp $ --- > * $Id: waitany.c,v 1.7 1999/03/01 16:10:42 gropp Exp $ 22a23,26 > Notes: > If all of the requests are 'MPI_REQUEST_NULL', then 'index' is returned as > 'MPI_UNDEFINED', and 'status' is returned as an empty status. > 65c69 < *index = -1; --- > *index = MPI_UNDEFINED; .