[mpich2-dev] top-level configure.in chokes on --enable-error-checking=yes

David Gingold david.gingold at sicortex.com
Wed Nov 19 10:09:50 CST 2008


I tripped on this: Specifying --enable-error-checking or --enable- 
error-checking=yes results in setting MPID_ERROR_LEVEL_YES, which  
doesn't exist.  The bug is below.

-dg

....

# error-checking
case "$enable_error_checking" in
     no)
     # if error checking has been diabled, then automatically diable  
the error
     # checking tests in the test suite
     ac_configure_args="${ac_configure_args} --disable-checkerrors"
     ;;
     all|yes|runtime)
     error_checking_kind=`echo $enable_error_checking | \
     tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     error_checking_kind=MPID_ERROR_LEVEL_$error_checking_kind
     AC_DEFINE_UNQUOTED(HAVE_ERROR_CHECKING,$error_checking_kind, 
[Define to enable error checking])
     ;;
     *)
     AC_MSG_WARN([Unknown value $enable_error_checking for enable- 
error-checking])
     ;;
esac




More information about the mpich2-dev mailing list