[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bgl-discuss] blrts_xlc and configure
On Wed, 9 Feb 2005, Robert Latham wrote:
> On Tue, Feb 08, 2005 at 12:19:20AM -0600, Boyana Norris wrote:
> > When I use the blrts_xlc script instead of xlc directly, configure is
> > unable to determine the size of short (and crashes, I haven't had time
> > to investigate which of the three abnormal exits happens). Has anyone
> > run into this problem? The relevant ac macro is AC_CHECK_SIZEOF(short),
> > and this particular configure is in netCDF 3.6.0, generated using
> > autoconf version >= 2.59.
>
> Guess i'm a little late to the party...
>
> We ran into a problem like this with PVFS2. If we run configure like
> this:
>
> configure --build powerpc32-unknown-gnu --host powerpc-suse-linux
>
> then through some magic i don't fully understand autoconf does not use
> runtime tests to figure out sizes.
>
AC_CHECK_SIZEOF test does not require MPI's runtime, it can run with
xlc (not blrts_xlc or xlc -F /etc/opt/ibmcmp/blrts-ppcfloor.cfg).
If the configure.in switches between xlc and blrts_xlc when invoking
runtime tests like AC_CHECK_SIZEOF, AC_C_BIGENDIAN, autoconf runtime tests
should work fine on bgl. One example, MPE's configure take 2 set of
compilers: CC/F77 for serial tests and MPI_CC/MPI_F77/MPI_INC/MPI_LIBS for
MPI related tests. I was able to configure MPE for bgl's MPI without
invoking its cross-compilation support.
A.Chan
- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.