[mvapich-discuss] mvapich2-1.7a: configure: error: Unable to convert MPI_SIZEOF_AINT to a hex string

Jonathan Perkins perkinjo at cse.ohio-state.edu
Wed Jun 1 09:11:07 EDT 2011


Maik:
Thanks for sending this helpful hint for other users who may have faced this.

As far as configure is concerned, the failed tests just indicate that
some feature or set of features are not available.  In this particular
case however, the root cause is often do to an issue with locating a
library at runtime as in your case.  We'll try to improve this area
and provide this type of hint in the error message.  We may also add
this information into the FAQ section of our userguide.

Thanks again!

On Wed, Jun 1, 2011 at 3:41 AM, Maik Nijhuis
<maik.nijhuis at clustervision.com> wrote:
> Dear all,
>
> While building mvapich2-1.7a, from a downloaded .tar.gz file, I got this
> rather cryptic error:
>
> "configure: error: Unable to convert MPI_SIZEOF_AINT to a hex string.  This
> is either because we are building on a very strange platform or there is a
> bug somewhere in configure."
>
> After tracing the issue, I found that MPI_SIZEOF_AINT is 0, and so is
> ac_cv_sizeof_int, ac_cv_sizeof_double, etc.
>
> The error occurs when 'configure' determines the ac_cv_size_* sizes. Since
> my LD_LIBRARY_PATH did not contain the proper paths, a generated executable
> does not properly run, and 'configure' sets the size to 0 instead of
> printing an error and aborting.
>
> Even though config.log contains multiple linker and runtime errors about
> missing libraries, the configure script seems to ignore those...
>
> So, if you get MPI_SIZEOF_AINT errors, check your config.log for missing
> library errors and check your LD_LIBRARY_PATH!
>
> Maik
>
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list