diff -rb mpich-1.2.5/mpid/ch2/req.h mpich-1.2.5.2/mpid/ch2/req.h 232c232 < #define MPID_SendRequestCancelled(r) (r)->shandle.s.MPI_TAG == MPIR_MSG_CANCELLED --- > #define MPID_SendRequestCancelled(r) ((r)->shandle.s.MPI_TAG == MPIR_MSG_CANCELLED) diff -rb mpich-1.2.5/romio/adio/ad_pvfs/ad_pvfs.c mpich-1.2.5.2/romio/adio/ad_pvfs/ad_pvfs.c 3c3 < * $Id: ad_pvfs.c,v 1.3 2002/10/24 17:00:57 gropp Exp $ --- > * $Id: ad_pvfs.c,v 1.4 2003/04/15 22:21:37 robl Exp $ 23c23 < ADIOI_GEN_ReadStrided, /* ReadStrided */ --- > ADIOI_PVFS_ReadStrided, /* ReadStrided */ diff -rb mpich-1.2.5/romio/adio/ad_pvfs/ad_pvfs_open.c mpich-1.2.5.2/romio/adio/ad_pvfs/ad_pvfs_open.c 3c3 < * $Id: ad_pvfs_open.c,v 1.11 2002/10/24 17:00:58 gropp Exp $ --- > * $Id: ad_pvfs_open.c,v 1.16 2003/05/01 17:33:11 robl Exp $ 15a16,20 > /* some really old versions of pvfs may not have a release nr */ > /* we changed the structure of pvfs_filestat in pvfs-1.5.7 */ > #if defined(PVFS_RELEASE_NR) && PVFS_RELEASE_NR > 10506 > struct pvfs_filestat pstat = {-1,-1,-1}; > #else 16a22,23 > #endif > 71,73d77 < #ifdef PRINT_ERR_MSG < *error_code = (fd->fd_sys == -1) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else 74a79,84 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, __LINE__, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else /* MPICH-1 */ 77a88 > #endif 80d90 < #endif diff -rb mpich-1.2.5/romio/adio/ad_pvfs/ad_pvfs_read.c mpich-1.2.5.2/romio/adio/ad_pvfs/ad_pvfs_read.c 3c3 < * $Id: ad_pvfs_read.c,v 1.8 2002/10/24 17:00:58 gropp Exp $ --- > * $Id: ad_pvfs_read.c,v 1.12 2003/04/05 17:55:39 David Exp $ 51,53d50 < #ifdef PRINT_ERR_MSG < *error_code = (err == -1) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else 54a52,57 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else /* MPICH-1 */ 57a61 > #endif 60d63 < #endif 119c122 < #define MAX_ARRAY_SIZE 11 --- > #define MAX_ARRAY_SIZE 1024 diff -rb mpich-1.2.5/romio/adio/ad_pvfs/ad_pvfs_write.c mpich-1.2.5.2/romio/adio/ad_pvfs/ad_pvfs_write.c 3c3 < * $Id: ad_pvfs_write.c,v 1.10 2002/10/24 17:01:00 gropp Exp $ --- > * $Id: ad_pvfs_write.c,v 1.15 2003/04/23 00:45:15 rross Exp $ 50,52d49 < #ifdef PRINT_ERR_MSG < *error_code = (err == -1) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else 53a51,56 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, __LINE__, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else /* MPICH-1 */ 56a60 > #endif 59d62 < #endif 75d77 < struct iovec *iov; 120c122,123 < --- > char *combine_buf, *combine_buf_ptr; > ADIO_Offset combine_buf_remain; 127,129c130,133 < /* There is a limit of 16 on the number of iovecs for readv/writev! */ < < iov = (struct iovec *) ADIOI_Malloc(16*sizeof(struct iovec)); --- > /* allocate our "combine buffer" to pack data into before writing */ > combine_buf = (char *) ADIOI_Malloc(fd->hints->ind_wr_buffer_size); > combine_buf_ptr = combine_buf; > combine_buf_remain = fd->hints->ind_wr_buffer_size; 130a135 > /* seek to the right spot in the file */ 137,138c142,148 < k = 0; < for (j=0; j /* loop through all the flattened pieces. combine into buffer until > * no more will fit, then write. > * > * special case of a given piece being bigger than the combine buffer > * is also handled. > */ > for (j=0; jindices[i]; < iov[k].iov_len = flat_buf->blocklens[i]; < /*FPRINTF(stderr, "%d %d\n", iov[k].iov_base, iov[k].iov_len);*/ --- > if (flat_buf->blocklens[i] > combine_buf_remain && combine_buf != combine_buf_ptr) { > /* there is data in the buffer; write out the buffer so far */ > err = pvfs_write(fd->fd_sys, > combine_buf, > fd->hints->ind_wr_buffer_size - combine_buf_remain); > if (err == -1) err_flag = 1; 145,146c157,160 < off += flat_buf->blocklens[i]; < k = (k+1)%16; --- > /* reset our buffer info */ > combine_buf_ptr = combine_buf; > combine_buf_remain = fd->hints->ind_wr_buffer_size; > } 148,149c162,169 < if (!k) { < err = pvfs_writev(fd->fd_sys, iov, 16); --- > /* TODO: heuristic for when to not bother to use combine buffer? */ > if (flat_buf->blocklens[i] >= combine_buf_remain) { > /* special case: blocklen is as big as or bigger than the combine buf; > * write directly > */ > err = pvfs_write(fd->fd_sys, > ((char *) buf) + j*buftype_extent + flat_buf->indices[i], > flat_buf->blocklens[i]); 150a171,181 > off += flat_buf->blocklens[i]; /* keep up with the final file offset too */ > } > else { > /* copy more data into combine buffer */ > memcpy(combine_buf_ptr, > ((char *) buf) + j*buftype_extent + flat_buf->indices[i], > flat_buf->blocklens[i]); > combine_buf_ptr += flat_buf->blocklens[i]; > combine_buf_remain -= flat_buf->blocklens[i]; > off += flat_buf->blocklens[i]; /* keep up with the final file offset too */ > } 154,155c185,189 < if (k) { < err = pvfs_writev(fd->fd_sys, iov, k); --- > if (combine_buf_ptr != combine_buf) { > /* data left in buffer to write */ > err = pvfs_write(fd->fd_sys, > combine_buf, > fd->hints->ind_wr_buffer_size - combine_buf_remain); 161,164c195,196 < ADIOI_Free(iov); < #ifdef PRINT_ERR_MSG < *error_code = (err_flag) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else --- > ADIOI_Free(combine_buf); > 165a198,203 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, __LINE__, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else /* MPICH-1 */ 169,170d206 < } < else *error_code = MPI_SUCCESS; 172a209,210 > else *error_code = MPI_SUCCESS; > } /* if (!buftype_is_contig && filetype_is_contig) ... */ 345,347d382 < #ifdef PRINT_ERR_MSG < *error_code = (err_flag) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else 348a384,389 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, __LINE__, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else /* MPICH-1 */ 351a393 > #endif 354d395 < #endif 511,513d551 < #ifdef PRINT_ERR_MSG < *error_code = (err_flag) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else 514a553,558 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, __LINE__, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else 517a562 > #endif 519a565,571 > > fd->fp_sys_posn = -1; /* clear this. */ > > #ifdef HAVE_STATUS_SET_BYTES > MPIR_Status_set_bytes(status, datatype, bufsize); > /* This is a temporary way of filling in status. The right way is to > keep track of how much data was actually written by ADIOI_BUFFERED_WRITE. */ 520a573 > 1046,1048d1098 < #ifdef PRINT_ERR_MSG < *error_code = (err_flag) ? MPI_ERR_UNKNOWN : MPI_SUCCESS; < #else 1049a1100,1105 > #ifdef MPICH2 > *error_code = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, myname, __LINE__, MPI_ERR_IO, "**io", > "**io %s", strerror(errno)); > #elif defined(PRINT_ERR_MSG) > *error_code = MPI_ERR_UNKNOWN; > #else /* MPICH-1 */ 1053a1110 > #endif 1056d1112 < #endif diff -rb mpich-1.2.5/romio/adio/common/ad_hints.c mpich-1.2.5.2/romio/adio/common/ad_hints.c 3c3 < * $Id: ad_hints.c,v 1.12 2002/11/20 13:58:29 gropp Exp $ --- > * $Id: ad_hints.c,v 1.13 2003/04/23 00:16:14 rross Exp $ 288c288,290 < fd->hints->ind_wr_buffer_size = -1; --- > /* note: leave ind_wr_buffer_size alone; used for other cases > * as well. -- Rob Ross, 04/22/2003 > */ Only in mpich-1.2.5.2/romio/test: noncontig_coll2.c.rej diff -rb mpich-1.2.5/src/coll/intra_fns_new.c mpich-1.2.5.2/src/coll/intra_fns_new.c 2c2 < * $Id: intra_fns_new.c,v 1.20 2002/12/04 23:01:04 thakur Exp $ --- > * $Id: intra_fns_new.c,v 1.21 2003/02/10 21:32:37 thakur Exp $ 3207c3207 < int nprocs_completed, tmp_mask, tree_root; --- > int nprocs_completed, tmp_mask, tree_root, received; 3365a3366,3367 > received = 0; > 3375a3378 > received = 1; 3427a3431 > received = 1; 3429,3453d3432 < < if ((op_ptr->commute) || (dst_tree_root < < my_tree_root)) { < (*uop)(tmp_recvbuf, tmp_results, &blklens[0], < &datatype->self); < (*uop)(((char *)tmp_recvbuf + dis[1]*extent), < ((char *)tmp_results + dis[1]*extent), < &blklens[1], &datatype->self); < } < else { < (*uop)(tmp_results, tmp_recvbuf, &blklens[0], < &datatype->self); < (*uop)(((char *)tmp_results + dis[1]*extent), < ((char *)tmp_recvbuf + dis[1]*extent), < &blklens[1], &datatype->self); < /* copy result back into tmp_results */ < mpi_errno = MPI_Sendrecv(tmp_recvbuf, 1, < recvtype, rank, < MPIR_REDUCE_SCATTER_TAG, < tmp_results, 1, < recvtype, rank, < MPIR_REDUCE_SCATTER_TAG, < comm->self, &status); < if (mpi_errno) return mpi_errno; < } 3460,3463c3439,3443 < /* the following could have been done just after the < MPI_Sendrecv above in the (if dst < size) case . however, < for a noncommutative op, we would need an extra temp buffer so < as not to overwrite temp_recvbuf, because temp_recvbuf may have --- > /* The following reduction is done here instead of after > the MPI_Sendrecv or MPI_Recv above. This is > because to do it above, in the noncommutative > case, we would need an extra temp buffer so as not to > overwrite temp_recvbuf, because temp_recvbuf may have 3467,3468c3447 < dst = rank ^ mask; < if (dst < size) { --- > if (received) { diff -rb mpich-1.2.5/src/fortran/configure mpich-1.2.5.2/src/fortran/configure 589a590,608 > if test -w "$cache_file" ; then > # Clean the cache file (ergh) > > rm -f confcache > sed -e "s/'\\\\''//g" -e "s/'\\\\/'/" -e "s/\\\\'/'/" \ > -e "s/'\\\\''//g" $cache_file > confcache > if cmp -s $cache_file confcache ; then > : > else > if test -w $cache_file ; then > echo "updating cache $cache_file" > cat confcache > $cache_file > else > echo "not updating unwritable cache $cache_file" > fi > fi > rm -f confcache > > fi 874c893 < echo "configure:875: checking for $ac_word" >&5 --- > echo "configure:894: checking for $ac_word" >&5 905c924 < echo "configure:906: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 --- > echo "configure:925: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 916c935 < #line 917 "configure" --- > #line 936 "configure" 921c940 < if { (eval echo configure:922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 947c966 < echo "configure:948: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:967: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 952c971 < echo "configure:953: checking whether the C compiler sets its return status correctly" >&5 --- > echo "configure:972: checking whether the C compiler sets its return status correctly" >&5 962c981 < #line 963 "configure" --- > #line 982 "configure" 969c988 < if { (eval echo configure:970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 986c1005 < echo "configure:987: checking whether we are using GNU C" >&5 --- > echo "configure:1006: checking whether we are using GNU C" >&5 995c1014 < if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then --- > if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1010c1029 < echo "configure:1011: checking for working const" >&5 --- > echo "configure:1030: checking for working const" >&5 1015c1034 < #line 1016 "configure" --- > #line 1035 "configure" 1064c1083 < if { (eval echo configure:1065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:1084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1085c1104 < #line 1086 "configure" --- > #line 1105 "configure" 1092c1111 < if { (eval echo configure:1093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:1112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1104c1123 < #line 1105 "configure" --- > #line 1124 "configure" 1111c1130 < if { (eval echo configure:1112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:1131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1129c1148 < echo "configure:1130: checking for $ac_word" >&5 --- > echo "configure:1149: checking for $ac_word" >&5 1162c1181 < echo "configure:1163: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) works" >&5 --- > echo "configure:1182: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) works" >&5 1175c1194 < if { (eval echo configure:1176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:1195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1201c1220 < echo "configure:1202: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:1221: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a cross-compiler" >&5 1206c1225 < echo "configure:1207: checking whether we are using GNU Fortran 77" >&5 --- > echo "configure:1226: checking whether we are using GNU Fortran 77" >&5 1215c1234 < if { ac_try='$F77 -E conftest.fpp'; { (eval echo configure:1216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then --- > if { ac_try='$F77 -E conftest.fpp'; { (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1230c1249 < echo "configure:1231: checking whether $F77 accepts -g" >&5 --- > echo "configure:1250: checking whether $F77 accepts -g" >&5 1275c1294 < echo "configure:1276: checking for $ac_word" >&5 --- > echo "configure:1295: checking for $ac_word" >&5 1308c1327 < echo "configure:1309: checking for extension for Fortran 90 programs" >&5 --- > echo "configure:1328: checking for extension for Fortran 90 programs" >&5 1315c1334 < if { (eval echo configure:1316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then --- > if { (eval echo configure:1335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then 1324c1343 < if { (eval echo configure:1325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then --- > if { (eval echo configure:1344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then 1331c1350 < echo "configure:1332: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) works" >&5 --- > echo "configure:1351: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) works" >&5 1344c1363 < if { (eval echo configure:1345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeect} ; then --- > if { (eval echo configure:1364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeect} ; then 1369c1388 < echo "configure:1370: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:1389: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) is a cross-compiler" >&5 1453c1472 < echo "configure:1454: checking for $ac_word" >&5 --- > echo "configure:1473: checking for $ac_word" >&5 1490c1509 < echo "configure:1491: checking for $ac_word" >&5 --- > echo "configure:1510: checking for $ac_word" >&5 1527c1546 < echo "configure:1528: checking for $ac_word" >&5 --- > echo "configure:1547: checking for $ac_word" >&5 1564c1583 < echo "configure:1565: checking for $ac_word" >&5 --- > echo "configure:1584: checking for $ac_word" >&5 1602c1621 < echo "configure:1603: checking for $ac_word" >&5 --- > echo "configure:1622: checking for $ac_word" >&5 1637c1656 < echo "configure:1638: checking for $ac_word" >&5 --- > echo "configure:1657: checking for $ac_word" >&5 1672c1691 < echo "configure:1673: checking for $ac_word" >&5 --- > echo "configure:1692: checking for $ac_word" >&5 1724c1743 < echo "configure:1725: checking for $ac_word" >&5 --- > echo "configure:1744: checking for $ac_word" >&5 1761c1780 < echo "configure:1762: checking for $ac_word" >&5 --- > echo "configure:1781: checking for $ac_word" >&5 1798c1817 < echo "configure:1799: checking for $ac_word" >&5 --- > echo "configure:1818: checking for $ac_word" >&5 1835c1854 < echo "configure:1836: checking for $ac_word" >&5 --- > echo "configure:1855: checking for $ac_word" >&5 1888c1907 < echo "configure:1889: checking for MPI_Init in -lmpi" >&5 --- > echo "configure:1908: checking for MPI_Init in -lmpi" >&5 1896c1915 < #line 1897 "configure" --- > #line 1916 "configure" 1907c1926 < if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1951c1970 < echo "configure:1952: checking for $ac_word" >&5 --- > echo "configure:1971: checking for $ac_word" >&5 1982c2001 < echo "configure:1983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 --- > echo "configure:2002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1993c2012 < #line 1994 "configure" --- > #line 2013 "configure" 1998c2017 < if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2024c2043 < echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:2044: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2029c2048 < echo "configure:2030: checking whether the C compiler sets its return status correctly" >&5 --- > echo "configure:2049: checking whether the C compiler sets its return status correctly" >&5 2039c2058 < #line 2040 "configure" --- > #line 2059 "configure" 2046c2065 < if { (eval echo configure:2047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:2066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2063c2082 < echo "configure:2064: checking whether we are using GNU C" >&5 --- > echo "configure:2083: checking whether we are using GNU C" >&5 2072c2091 < if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then --- > if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2092c2111 < echo "configure:2093: checking for $ac_word" >&5 --- > echo "configure:2112: checking for $ac_word" >&5 2125c2144 < echo "configure:2126: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) works" >&5 --- > echo "configure:2145: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) works" >&5 2138c2157 < if { (eval echo configure:2139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2164c2183 < echo "configure:2165: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:2184: checking whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a cross-compiler" >&5 2169c2188 < echo "configure:2170: checking whether we are using GNU Fortran 77" >&5 --- > echo "configure:2189: checking whether we are using GNU Fortran 77" >&5 2178c2197 < if { ac_try='$F77 -E conftest.fpp'; { (eval echo configure:2179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then --- > if { ac_try='$F77 -E conftest.fpp'; { (eval echo configure:2198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2193c2212 < echo "configure:2194: checking whether $F77 accepts -g" >&5 --- > echo "configure:2213: checking whether $F77 accepts -g" >&5 2228c2247 < echo "configure:2229: checking for $ac_word" >&5 --- > echo "configure:2248: checking for $ac_word" >&5 2260c2279 < echo "configure:2261: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 --- > echo "configure:2280: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 2271c2290 < #line 2272 "configure" --- > #line 2291 "configure" 2276c2295 < if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2302c2321 < echo "configure:2303: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:2322: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 2307c2326 < echo "configure:2308: checking whether we are using GNU C++" >&5 --- > echo "configure:2327: checking whether we are using GNU C++" >&5 2316c2335 < if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then --- > if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2335c2354 < echo "configure:2336: checking whether ${CXX-g++} accepts -g" >&5 --- > echo "configure:2355: checking whether ${CXX-g++} accepts -g" >&5 2373c2392 < echo "configure:2374: checking for $ac_word" >&5 --- > echo "configure:2393: checking for $ac_word" >&5 2406c2425 < echo "configure:2407: checking for extension for Fortran 90 programs" >&5 --- > echo "configure:2426: checking for extension for Fortran 90 programs" >&5 2413c2432 < if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then --- > if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then 2422c2441 < if { (eval echo configure:2423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then --- > if { (eval echo configure:2442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } ; then 2429c2448 < echo "configure:2430: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) works" >&5 --- > echo "configure:2449: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) works" >&5 2442c2461 < if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeect} ; then --- > if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeect} ; then 2467c2486 < echo "configure:2468: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) is a cross-compiler" >&5 --- > echo "configure:2487: checking whether the Fortran 90 compiler ($F90 $F90FLAGS $LDFLAGS) is a cross-compiler" >&5 2512c2531 < echo "configure:2513: checking for $ac_word" >&5 --- > echo "configure:2532: checking for $ac_word" >&5 2545c2564 < echo "configure:2546: checking whether clock skew breaks make" >&5 --- > echo "configure:2565: checking whether clock skew breaks make" >&5 2574c2593 < echo "configure:2575: checking whether make echos directory changes" >&5 --- > echo "configure:2594: checking whether make echos directory changes" >&5 2614c2633 < echo "configure:2615: checking whether make supports include" >&5 --- > echo "configure:2634: checking whether make supports include" >&5 2647c2666 < echo "configure:2648: checking whether make allows comments in actions" >&5 --- > echo "configure:2667: checking whether make allows comments in actions" >&5 2681c2700 < echo "configure:2682: checking for virtual path format" >&5 --- > echo "configure:2701: checking for virtual path format" >&5 2730c2749 < echo "configure:2731: checking whether make sets CFLAGS" >&5 --- > echo "configure:2750: checking whether make sets CFLAGS" >&5 2761c2780 < echo "configure:2762: checking whether ${MAKE-make} sets \${MAKE}" >&5 --- > echo "configure:2781: checking whether ${MAKE-make} sets \${MAKE}" >&5 2814c2833 < echo "configure:2815: checking for MPI F2C and C2F routines" >&5 --- > echo "configure:2834: checking for MPI F2C and C2F routines" >&5 2820c2839 < #line 2821 "configure" --- > #line 2840 "configure" 2827c2846 < if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:2847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2852c2871 < echo "configure:2853: checking for mpi.h" >&5 --- > echo "configure:2872: checking for mpi.h" >&5 2857c2876 < #line 2858 "configure" --- > #line 2877 "configure" 2863c2882 < if { (eval echo configure:2864: \"$ac_compile_for_cpp\") 1>&5; (eval $ac_compile_for_cpp) 2>&5; }; then --- > if { (eval echo configure:2883: \"$ac_compile_for_cpp\") 1>&5; (eval $ac_compile_for_cpp) 2>&5; }; then 2930c2949 < echo "configure:2931: checking how to run the C preprocessor" >&5 --- > echo "configure:2950: checking how to run the C preprocessor" >&5 2945c2964 < #line 2946 "configure" --- > #line 2965 "configure" 2951c2970 < { (eval echo configure:2952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2962c2981 < #line 2963 "configure" --- > #line 2982 "configure" 2968c2987 < { (eval echo configure:2969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2979c2998 < #line 2980 "configure" --- > #line 2999 "configure" 2985c3004 < { (eval echo configure:2986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:3005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3031c3050 < if { (eval echo configure:3032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:3051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 3037c3056 < if { (eval echo configure:3038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:3057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 3044c3063 < if { (eval echo configure:3045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:3064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 3052c3071 < echo "configure:3053: checking for $ac_word" >&5 --- > echo "configure:3072: checking for $ac_word" >&5 3112c3131 < #line 3113 "configure" --- > #line 3132 "configure" 3117c3136 < if { (eval echo configure:3118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:3137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3157c3176 < if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3192c3211 < #line 3193 "configure" --- > #line 3212 "configure" 3197c3216 < if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3278c3297 < echo "configure:3279: checking for routines to access the command line from Fortran 77" >&5 --- > echo "configure:3298: checking for routines to access the command line from Fortran 77" >&5 3315,3316c3334,3335 < echo "configure:3316: checking if ${F77-f77} $flags $libs works with GETARG and IARGC" >&5 < if { (eval echo configure:3317: \"$ac_fcompilelink\") 1>&5; (eval $ac_fcompilelink) 2>&5; } && test -x conftest ; then --- > echo "configure:3335: checking if ${F77-f77} $flags $libs works with GETARG and IARGC" >&5 > if { (eval echo configure:3336: \"$ac_fcompilelink\") 1>&5; (eval $ac_fcompilelink) 2>&5; } && test -x conftest ; then 3360,3361c3379,3380 < echo "configure:3361: checking whether Fortran 77 links with $libs" >&5 < if { (eval echo configure:3362: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then --- > echo "configure:3380: checking whether Fortran 77 links with $libs" >&5 > if { (eval echo configure:3381: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then 3424c3443 < echo "configure:3425: checking that Fortran 77 compiler accepts option $flag" >&5 --- > echo "configure:3444: checking that Fortran 77 compiler accepts option $flag" >&5 3439,3440c3458,3459 < if { (eval echo configure:3440: \"$ac_fscompilelink\") 1>&5; (eval $ac_fscompilelink) 2>&5; } && test -x conftest ; then < if { (eval echo configure:3441: \"$ac_fscompilelink2\") 1>&5; (eval $ac_fscompilelink2) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:3459: \"$ac_fscompilelink\") 1>&5; (eval $ac_fscompilelink) 2>&5; } && test -x conftest ; then > if { (eval echo configure:3460: \"$ac_fscompilelink2\") 1>&5; (eval $ac_fscompilelink2) 2>&5; } && test -x conftest ; then 3444c3463 < echo "configure:3445: checking that routines compiled with $flag can be linked with ones compiled without $flag" >&5 --- > echo "configure:3464: checking that routines compiled with $flag can be linked with ones compiled without $flag" >&5 3449,3450c3468,3469 < if { (eval echo configure:3450: \"$ac_fscompile3\") 1>&5; (eval $ac_fscompile3) 2>&5; } && test -s conftest2.o ; then < if { (eval echo configure:3451: \"$ac_fscompilelink4\") 1>&5; (eval $ac_fscompilelink4) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:3469: \"$ac_fscompile3\") 1>&5; (eval $ac_fscompile3) 2>&5; } && test -s conftest2.o ; then > if { (eval echo configure:3470: \"$ac_fscompilelink4\") 1>&5; (eval $ac_fscompilelink4) 2>&5; } && test -x conftest ; then 3511c3530 < echo "configure:3512: checking that Fortran 77 routine names are case-insensitive $flagval" >&5 --- > echo "configure:3531: checking that Fortran 77 routine names are case-insensitive $flagval" >&5 3513c3532 < if { (eval echo configure:3514: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:3533: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then 3623c3642 < echo "configure:3624: checking if ${F77-f77} $flags $libs works with $MSG" >&5 --- > echo "configure:3643: checking if ${F77-f77} $flags $libs works with $MSG" >&5 3627c3646 < if { (eval echo configure:3628: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:3647: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then 3693c3712 < echo "configure:3694: checking how to compile and link Fortran 90 programs with Fortran 77 programs that access the command line" >&5 --- > echo "configure:3713: checking how to compile and link Fortran 90 programs with Fortran 77 programs that access the command line" >&5 3720c3739 < echo "configure:3721: checking if $F90 $flags $libs works" >&5 --- > echo "configure:3740: checking if $F90 $flags $libs works" >&5 3723c3742 < echo "configure:3724: checking if $F90 $flags $libs works with $MSG" >&5 --- > echo "configure:3743: checking if $F90 $flags $libs works with $MSG" >&5 3726c3745 < if { (eval echo configure:3727: \"$ac_f90compilelink_test\") 1>&5; (eval $ac_f90compilelink_test) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:3746: \"$ac_f90compilelink_test\") 1>&5; (eval $ac_f90compilelink_test) 2>&5; } && test -x conftest ; then 3765c3784 < echo "configure:3766: checking host system type" >&5 --- > echo "configure:3785: checking host system type" >&5 3786c3805 < echo "configure:3787: checking for Fortran 77 libraries" >&5 --- > echo "configure:3806: checking for Fortran 77 libraries" >&5 3945c3964 < echo "configure:3946: checking whether C can link with $FLIBS" >&5 --- > echo "configure:3965: checking whether C can link with $FLIBS" >&5 3950c3969 < #line 3951 "configure" --- > #line 3970 "configure" 3957c3976 < if { (eval echo configure:3958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:3977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3971c3990 < echo "configure:3972: checking which libraries can be used" >&5 --- > echo "configure:3991: checking which libraries can be used" >&5 3987c4006 < #line 3988 "configure" --- > #line 4007 "configure" 3994c4013 < if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4013c4032 < #line 4014 "configure" --- > #line 4033 "configure" 4020c4039 < if { (eval echo configure:4021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:4040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4032c4051 < echo "configure:4033: checking for linker for Fortran main programs" >&5 --- > echo "configure:4052: checking for linker for Fortran main programs" >&5 4049c4068 < if { (eval echo configure:4050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:4069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4065c4084 < if { (eval echo configure:4066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:4085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4088c4107 < echo "configure:4089: checking for Fortran 77 name mangling" >&5 --- > echo "configure:4108: checking for Fortran 77 name mangling" >&5 4112c4131 < if { (eval echo configure:4113: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:4132: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then 4130c4149 < #line 4131 "configure" --- > #line 4150 "configure" 4137c4156 < if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4147c4166 < #line 4148 "configure" --- > #line 4167 "configure" 4154c4173 < if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4165c4184 < #line 4166 "configure" --- > #line 4185 "configure" 4172c4191 < if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4183c4202 < #line 4184 "configure" --- > #line 4203 "configure" 4190c4209 < if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4201c4220 < #line 4202 "configure" --- > #line 4221 "configure" 4208c4227 < if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4219c4238 < #line 4220 "configure" --- > #line 4239 "configure" 4226c4245 < if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4254c4273 < #define F77_NAME_LOWER --- > #define F77_NAME_LOWER 1 4260c4279 < #define F77_NAME_LOWER_USCORE --- > #define F77_NAME_LOWER_USCORE 1 4266c4285 < #define F77_NAME_LOWER_2USCORE --- > #define F77_NAME_LOWER_2USCORE 1 4272c4291 < #define F77_NAME_UPPER --- > #define F77_NAME_UPPER 1 4278c4297 < #define F77_NAME_MIXED --- > #define F77_NAME_MIXED 1 4284c4303 < #define F77_NAME_MIXED_USCORE --- > #define F77_NAME_MIXED_USCORE 1 4296c4315 < echo "configure:4297: checking what Fortran libraries are needed to link C with Fortran" >&5 --- > echo "configure:4316: checking what Fortran libraries are needed to link C with Fortran" >&5 4306c4325 < if { (eval echo configure:4307: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:4326: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then 4319c4338 < #line 4320 "configure" --- > #line 4339 "configure" 4333c4352 < if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4349c4368 < #line 4350 "configure" --- > #line 4369 "configure" 4363c4382 < if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4385c4404 < #line 4386 "configure" --- > #line 4405 "configure" 4399c4418 < if { (eval echo configure:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4446c4465 < echo "configure:4447: checking whether Fortran accepts ! for comments" >&5 --- > echo "configure:4466: checking whether Fortran accepts ! for comments" >&5 4464c4483 < if { (eval echo configure:4465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:4484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4491c4510 < echo "configure:4492: checking whether Fortran supports new-style character declarations" >&5 --- > echo "configure:4511: checking whether Fortran supports new-style character declarations" >&5 4509c4528 < if { (eval echo configure:4510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:4529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4538c4557 < echo "configure:4539: checking for include directory flag for Fortran" >&5 --- > echo "configure:4558: checking for include directory flag for Fortran" >&5 4557c4576 < if { (eval echo configure:4558: \"$ac_fcompiletest\") 1>&5; (eval $ac_fcompiletest) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:4577: \"$ac_fcompiletest\") 1>&5; (eval $ac_fcompiletest) 2>&5; } && test -s conftest.o ; then 4585c4604 < echo "configure:4586: checking for Fortran 77 flag for library directories" >&5 --- > echo "configure:4605: checking for Fortran 77 flag for library directories" >&5 4602c4621 < if { (eval echo configure:4603: \"$ac_fcompileforlib\") 1>&5; (eval $ac_fcompileforlib) 2>&5; } && test -s conftest1.o ; then --- > if { (eval echo configure:4622: \"$ac_fcompileforlib\") 1>&5; (eval $ac_fcompileforlib) 2>&5; } && test -s conftest1.o ; then 4604,4605c4623,4624 < { ac_try='${ARCMD-"ar"} cr conftest2/libconftest.a conftest1.o'; { (eval echo configure:4605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } < { ac_try='${RANLIB-ranlib} conftest2/libconftest.a'; { (eval echo configure:4606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } --- > { ac_try='${ARCMD-"ar"} cr conftest2/libconftest.a conftest1.o'; { (eval echo configure:4624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } > { ac_try='${RANLIB-ranlib} conftest2/libconftest.a'; { (eval echo configure:4625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } 4608c4627 < if { (eval echo configure:4609: \"$ac_fcompileldtest\") 1>&5; (eval $ac_fcompileldtest) 2>&5; } && test -s conftest ; then --- > if { (eval echo configure:4628: \"$ac_fcompileldtest\") 1>&5; (eval $ac_fcompileldtest) 2>&5; } && test -s conftest ; then 4636c4655 < echo "configure:4637: checking whether Fortran allows unused externals" >&5 --- > echo "configure:4656: checking whether Fortran allows unused externals" >&5 4652c4671 < if { (eval echo configure:4653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:4672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4686c4705 < echo "configure:4687: checking whether Fortran has pointer declaration" >&5 --- > echo "configure:4706: checking whether Fortran has pointer declaration" >&5 4706c4725 < if { (eval echo configure:4707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:4726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4763c4782 < echo "configure:4764: checking for size of Fortran type integer" >&5 --- > echo "configure:4783: checking for size of Fortran type integer" >&5 4779c4798 < if { (eval echo configure:4780: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:4799: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then 4795c4814 < #line 4796 "configure" --- > #line 4815 "configure" 4819c4838 < if { (eval echo configure:4820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4855c4874 < echo "configure:4856: checking for size of Fortran type real" >&5 --- > echo "configure:4875: checking for size of Fortran type real" >&5 4871c4890 < if { (eval echo configure:4872: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:4891: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then 4887c4906 < #line 4888 "configure" --- > #line 4907 "configure" 4911c4930 < if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4947c4966 < echo "configure:4948: checking for size of Fortran type double precision" >&5 --- > echo "configure:4967: checking for size of Fortran type double precision" >&5 4963c4982 < if { (eval echo configure:4964: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:4983: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then 4979c4998 < #line 4980 "configure" --- > #line 4999 "configure" 5003c5022 < if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5045c5064 < if { (eval echo configure:5046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5060c5079 < if { (eval echo configure:5061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5075c5094 < if { (eval echo configure:5076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5090c5109 < if { (eval echo configure:5091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5105c5124 < if { (eval echo configure:5106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5121c5140 < if { (eval echo configure:5122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5136c5155 < if { (eval echo configure:5137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5151c5170 < if { (eval echo configure:5152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:5171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5174c5193 < echo "configure:5175: checking for ANSI C header files" >&5 --- > echo "configure:5194: checking for ANSI C header files" >&5 5179c5198 < #line 5180 "configure" --- > #line 5199 "configure" 5187c5206 < { (eval echo configure:5188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:5207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5204c5223 < #line 5205 "configure" --- > #line 5224 "configure" 5222c5241 < #line 5223 "configure" --- > #line 5242 "configure" 5243c5262 < #line 5244 "configure" --- > #line 5263 "configure" 5254c5273 < if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5281c5300 < echo "configure:5282: checking for $ac_hdr" >&5 --- > echo "configure:5301: checking for $ac_hdr" >&5 5286c5305 < #line 5287 "configure" --- > #line 5306 "configure" 5292c5311 < if { (eval echo configure:5293: \"$ac_compile_for_cpp\") 1>&5; (eval $ac_compile_for_cpp) 2>&5; }; then --- > if { (eval echo configure:5312: \"$ac_compile_for_cpp\") 1>&5; (eval $ac_compile_for_cpp) 2>&5; }; then 5320c5339 < echo "configure:5321: checking for stdarg.h" >&5 --- > echo "configure:5340: checking for stdarg.h" >&5 5325c5344 < #line 5326 "configure" --- > #line 5345 "configure" 5331c5350 < if { (eval echo configure:5332: \"$ac_compile_for_cpp\") 1>&5; (eval $ac_compile_for_cpp) 2>&5; }; then --- > if { (eval echo configure:5351: \"$ac_compile_for_cpp\") 1>&5; (eval $ac_compile_for_cpp) 2>&5; }; then 5350c5369 < echo "configure:5351: checking whether stdarg is oldstyle" >&5 --- > echo "configure:5370: checking whether stdarg is oldstyle" >&5 5421c5440 < echo "configure:5422: checking whether stdarg works" >&5 --- > echo "configure:5441: checking whether stdarg works" >&5 5515c5534 < echo "configure:5516: checking size of char" >&5 --- > echo "configure:5535: checking size of char" >&5 5523c5542 < #line 5524 "configure" --- > #line 5543 "configure" 5534c5553 < if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5554c5573 < echo "configure:5555: checking size of short" >&5 --- > echo "configure:5574: checking size of short" >&5 5562c5581 < #line 5563 "configure" --- > #line 5582 "configure" 5573c5592 < if { (eval echo configure:5574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5593c5612 < echo "configure:5594: checking size of int" >&5 --- > echo "configure:5613: checking size of int" >&5 5601c5620 < #line 5602 "configure" --- > #line 5621 "configure" 5612c5631 < if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5632c5651 < echo "configure:5633: checking size of long" >&5 --- > echo "configure:5652: checking size of long" >&5 5640c5659 < #line 5641 "configure" --- > #line 5660 "configure" 5651c5670 < if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5671c5690 < echo "configure:5672: checking size of long long" >&5 --- > echo "configure:5691: checking size of long long" >&5 5679c5698 < #line 5680 "configure" --- > #line 5699 "configure" 5690c5709 < if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5710c5729 < echo "configure:5711: checking size of float" >&5 --- > echo "configure:5730: checking size of float" >&5 5718c5737 < #line 5719 "configure" --- > #line 5738 "configure" 5729c5748 < if { (eval echo configure:5730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5749c5768 < echo "configure:5750: checking size of double" >&5 --- > echo "configure:5769: checking size of double" >&5 5757c5776 < #line 5758 "configure" --- > #line 5777 "configure" 5768c5787 < if { (eval echo configure:5769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5788c5807 < echo "configure:5789: checking size of long double" >&5 --- > echo "configure:5808: checking size of long double" >&5 5796c5815 < #line 5797 "configure" --- > #line 5816 "configure" 5807c5826 < if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5828c5847 < echo "configure:5829: checking size of void*" >&5 --- > echo "configure:5848: checking size of void*" >&5 5836c5855 < #line 5837 "configure" --- > #line 5856 "configure" 5847c5866 < if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:5867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5891c5910 < echo "configure:5892: checking for C type matching Fortran integer*$len" >&5 --- > echo "configure:5911: checking for C type matching Fortran integer*$len" >&5 5915c5934 < echo "configure:5916: checking for C type matching Fortran real*$len" >&5 --- > echo "configure:5935: checking for C type matching Fortran real*$len" >&5 5944c5963 < echo "configure:5945: checking for C type matching Fortran integer" >&5 --- > echo "configure:5964: checking for C type matching Fortran integer" >&5 5975c5994 < echo "configure:5976: checking whether C compiler allows unaligned doubles" >&5 --- > echo "configure:5995: checking whether C compiler allows unaligned doubles" >&5 5984c6003 < #line 5985 "configure" --- > #line 6004 "configure" 6008c6027 < if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6036c6055 < echo "configure:6037: checking for type of weak symbol support" >&5 --- > echo "configure:6056: checking for type of weak symbol support" >&5 6045c6064 < #line 6046 "configure" --- > #line 6065 "configure" 6056c6075 < if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6066a6086,6088 > # Note that there is an extern int PFoo declaration before the > # pragma. Some compilers require this in order to make the weak symbol > # extenally visible. 6069a6092 > extern int PFoo(int); 6095c6118 < #line 6096 "configure" --- > #line 6119 "configure" 6106c6129 < if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6117c6140 < #line 6118 "configure" --- > #line 6141 "configure" 6128c6151 < if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6139a6163,6165 > if test -n "$pragma_extra_message" ; then > echo $pragma_extra_message > fi 6144,6146d6169 < if test -n "$pragma_extra_message" ; then < echo $pragma_extra_message < fi 6152c6175 < #define HAVE_PRAGMA_WEAK --- > #define HAVE_PRAGMA_WEAK 1 6157c6180 < #define HAVE_PRAGMA_HP_SEC_DEF --- > #define HAVE_PRAGMA_HP_SEC_DEF 1 6162c6185 < #define HAVE_PRAGMA_CRI_DUP --- > #define HAVE_PRAGMA_CRI_DUP 1 6171a6195,6221 > echo $ac_n "checking whether __attribute__ ((weak)) allowed""... $ac_c" 1>&6 > echo "configure:6197: checking whether __attribute__ ((weak)) allowed" >&5 > if eval "test \"`echo '$''{'pac_cv_attr_weak'+set}'`\" = set"; then > echo $ac_n "(cached) $ac_c" 1>&6 > else > > cat > conftest.$ac_ext < #line 6203 "configure" > #include "confdefs.h" > int foo(int) __attribute__ ((weak)); > int main() { > int a; > ; return 0; } > EOF > if { (eval echo configure:6210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then > rm -rf conftest* > pac_cv_attr_weak=yes > else > echo "configure: failed program was:" >&5 > cat conftest.$ac_ext >&5 > rm -rf conftest* > pac_cv_attr_weak=no > fi > rm -f conftest* > fi > > echo "$ac_t""$pac_cv_attr_weak" 1>&6 6179c6229 < echo "configure:6180: checking for values of Fortran logicals" >&5 --- > echo "configure:6230: checking for values of Fortran logicals" >&5 6199c6249 < if { (eval echo configure:6200: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then --- > if { (eval echo configure:6250: \"$ac_fcompile\") 1>&5; (eval $ac_fcompile) 2>&5; } && test -s conftest.o ; then 6215c6265 < #line 6216 "configure" --- > #line 6266 "configure" 6237c6287 < if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null --- > if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6318c6368 < echo "configure:6319: checking for mpir_iargc provided for command line in Fortran" >&5 --- > echo "configure:6369: checking for mpir_iargc provided for command line in Fortran" >&5 6330c6380 < if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6354c6404 < echo "configure:6355: checking how to run the C preprocessor" >&5 --- > echo "configure:6405: checking how to run the C preprocessor" >&5 6369c6419 < #line 6370 "configure" --- > #line 6420 "configure" 6375c6425 < { (eval echo configure:6376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:6426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6386c6436 < #line 6387 "configure" --- > #line 6437 "configure" 6392c6442 < { (eval echo configure:6393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:6443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6403c6453 < echo "configure:6404: checking how to run the C++ preprocessor" >&5 --- > echo "configure:6454: checking how to run the C++ preprocessor" >&5 6416c6466 < #line 6417 "configure" --- > #line 6467 "configure" 6421c6471 < { (eval echo configure:6422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:6472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6445c6495 < #line 6446 "configure" --- > #line 6496 "configure" 6451c6501 < { (eval echo configure:6452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:6502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6497c6547 < if { (eval echo configure:6498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:6548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 6503c6553 < if { (eval echo configure:6504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:6554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 6510c6560 < if { (eval echo configure:6511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:6561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 6518c6568 < echo "configure:6519: checking for $ac_word" >&5 --- > echo "configure:6569: checking for $ac_word" >&5 6578c6628 < #line 6579 "configure" --- > #line 6629 "configure" 6583c6633 < if { (eval echo configure:6584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6621c6671 < if { (eval echo configure:6622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6654c6704 < #line 6655 "configure" --- > #line 6705 "configure" 6659c6709 < if { (eval echo configure:6660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6725c6775 < echo "configure:6726: checking for routines to access the command line from Fortran 77" >&5 --- > echo "configure:6776: checking for routines to access the command line from Fortran 77" >&5 6762,6763c6812,6813 < echo "configure:6763: checking if ${F77-f77} $flags $libs works with GETARG and IARGC" >&5 < if { (eval echo configure:6764: \"$ac_fcompilelink\") 1>&5; (eval $ac_fcompilelink) 2>&5; } && test -x conftest ; then --- > echo "configure:6813: checking if ${F77-f77} $flags $libs works with GETARG and IARGC" >&5 > if { (eval echo configure:6814: \"$ac_fcompilelink\") 1>&5; (eval $ac_fcompilelink) 2>&5; } && test -x conftest ; then 6807,6808c6857,6858 < echo "configure:6808: checking whether Fortran 77 links with $libs" >&5 < if { (eval echo configure:6809: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then --- > echo "configure:6858: checking whether Fortran 77 links with $libs" >&5 > if { (eval echo configure:6859: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then 6871c6921 < echo "configure:6872: checking that Fortran 77 compiler accepts option $flag" >&5 --- > echo "configure:6922: checking that Fortran 77 compiler accepts option $flag" >&5 6886,6887c6936,6937 < if { (eval echo configure:6887: \"$ac_fscompilelink\") 1>&5; (eval $ac_fscompilelink) 2>&5; } && test -x conftest ; then < if { (eval echo configure:6888: \"$ac_fscompilelink2\") 1>&5; (eval $ac_fscompilelink2) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:6937: \"$ac_fscompilelink\") 1>&5; (eval $ac_fscompilelink) 2>&5; } && test -x conftest ; then > if { (eval echo configure:6938: \"$ac_fscompilelink2\") 1>&5; (eval $ac_fscompilelink2) 2>&5; } && test -x conftest ; then 6891c6941 < echo "configure:6892: checking that routines compiled with $flag can be linked with ones compiled without $flag" >&5 --- > echo "configure:6942: checking that routines compiled with $flag can be linked with ones compiled without $flag" >&5 6896,6897c6946,6947 < if { (eval echo configure:6897: \"$ac_fscompile3\") 1>&5; (eval $ac_fscompile3) 2>&5; } && test -s conftest2.o ; then < if { (eval echo configure:6898: \"$ac_fscompilelink4\") 1>&5; (eval $ac_fscompilelink4) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:6947: \"$ac_fscompile3\") 1>&5; (eval $ac_fscompile3) 2>&5; } && test -s conftest2.o ; then > if { (eval echo configure:6948: \"$ac_fscompilelink4\") 1>&5; (eval $ac_fscompilelink4) 2>&5; } && test -x conftest ; then 6958c7008 < echo "configure:6959: checking that Fortran 77 routine names are case-insensitive $flagval" >&5 --- > echo "configure:7009: checking that Fortran 77 routine names are case-insensitive $flagval" >&5 6960c7010 < if { (eval echo configure:6961: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:7011: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then 7070c7120 < echo "configure:7071: checking if ${F77-f77} $flags $libs works with $MSG" >&5 --- > echo "configure:7121: checking if ${F77-f77} $flags $libs works with $MSG" >&5 7074c7124 < if { (eval echo configure:7075: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then --- > if { (eval echo configure:7125: \"$ac_fcompilelink_test\") 1>&5; (eval $ac_fcompilelink_test) 2>&5; } && test -x conftest ; then 7158c7208 < echo "configure:7159: checking for MPIR_Err_setmsg" >&5 --- > echo "configure:7209: checking for MPIR_Err_setmsg" >&5 7163c7213 < #line 7164 "configure" --- > #line 7214 "configure" 7186c7236 < if { (eval echo configure:7187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:7237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7213c7263 < echo "configure:7214: checking whether TWO_WORD_FCDs are used" >&5 --- > echo "configure:7264: checking whether TWO_WORD_FCDs are used" >&5 7215c7265 < #line 7216 "configure" --- > #line 7266 "configure" 7222c7272 < if { (eval echo configure:7223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:7273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7237c7287 < echo "configure:7238: checking whether program compiles if _TWO_WORD_FCD is defined " >&5 --- > echo "configure:7288: checking whether program compiles if _TWO_WORD_FCD is defined " >&5 7239c7289 < #line 7240 "configure" --- > #line 7290 "configure" 7246c7296 < if { (eval echo configure:7247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then --- > if { (eval echo configure:7297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7298c7348 < echo "configure:7299: checking how to run the C preprocessor" >&5 --- > echo "configure:7349: checking how to run the C preprocessor" >&5 7313c7363 < #line 7314 "configure" --- > #line 7364 "configure" 7319c7369 < { (eval echo configure:7320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:7370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7330c7380 < #line 7331 "configure" --- > #line 7381 "configure" 7336c7386 < { (eval echo configure:7337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:7387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7347c7397 < #line 7348 "configure" --- > #line 7398 "configure" 7353c7403 < { (eval echo configure:7354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --- > { (eval echo configure:7404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7399c7449 < if { (eval echo configure:7400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:7450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 7405c7455 < if { (eval echo configure:7406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:7456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 7412c7462 < if { (eval echo configure:7413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then --- > if { (eval echo configure:7463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ; then 7420c7470 < echo "configure:7421: checking for $ac_word" >&5 --- > echo "configure:7471: checking for $ac_word" >&5 7480c7530 < #line 7481 "configure" --- > #line 7531 "configure" 7485c7535 < if { (eval echo configure:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7525c7575 < if { (eval echo configure:7526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7560c7610 < #line 7561 "configure" --- > #line 7611 "configure" 7565c7615 < if { (eval echo configure:7566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then --- > if { (eval echo configure:7616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7653c7703 < echo "configure:7654: checking for Fortran 90 integer kind for ${testsize}-byte integers" >&5 --- > echo "configure:7704: checking for Fortran 90 integer kind for ${testsize}-byte integers" >&5 7683c7733 < if { (eval echo configure:7684: \"$ac_f90link\") 1>&5; (eval $ac_f90link) 2>&5; } && test -s conftest ; then --- > if { (eval echo configure:7734: \"$ac_f90link\") 1>&5; (eval $ac_f90link) 2>&5; } && test -s conftest ; then 7709c7759 < echo "configure:7710: checking for Fortran 90 integer kind for 8-byte integers" >&5 --- > echo "configure:7760: checking for Fortran 90 integer kind for 8-byte integers" >&5 7739c7789 < if { (eval echo configure:7740: \"$ac_f90link\") 1>&5; (eval $ac_f90link) 2>&5; } && test -s conftest ; then --- > if { (eval echo configure:7790: \"$ac_f90link\") 1>&5; (eval $ac_f90link) 2>&5; } && test -s conftest ; then 7767c7817 < echo "configure:7768: checking for Fortran 90 integer kind for ${pac_cv_f77_sizeof_integer}-byte integers" >&5 --- > echo "configure:7818: checking for Fortran 90 integer kind for ${pac_cv_f77_sizeof_integer}-byte integers" >&5 7797c7847 < if { (eval echo configure:7798: \"$ac_f90link\") 1>&5; (eval $ac_f90link) 2>&5; } && test -s conftest ; then --- > if { (eval echo configure:7848: \"$ac_f90link\") 1>&5; (eval $ac_f90link) 2>&5; } && test -s conftest ; then 7900c7950 < echo "configure:7901: checking whether using gcc and g77 together" >&5 --- > echo "configure:7951: checking whether using gcc and g77 together" >&5 diff -rb mpich-1.2.5/src/pt2pt/testall.c mpich-1.2.5.2/src/pt2pt/testall.c 160,162c160,167 < if ((array_of_statuses && < array_of_statuses[i].MPI_TAG != MPIR_MSG_CANCELLED) || < !MPID_SendRequestCancelled(request)) { --- > /* There was a test on > array_of_statuses[i].MPI_TAG != MPIR_MSG_CANCELLED > here to avoid the MPID_SendRequestCancelled call, > but that depends on setting the MPI_TAG field > in the array of statuses. It would be better to > make the MPID_SendRequestCancelled routine a > macro */ > if (!MPID_SendRequestCancelled(request)) { 165c170 < array_of_requests[i] = 0; --- > array_of_requests[i] = MPI_REQUEST_NULL; 188c193 < array_of_requests[i] = 0; --- > array_of_requests[i] = MPI_REQUEST_NULL; Only in mpich-1.2.5.2/src/pt2pt: testall.c~ .