LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-01-22 17:06:54


I think what's happening is that mpicc is not creating valid
executables.

What happens when you try to mpicc a trivial MPI program, such as the
canonical hello world?

If you're using an IB network, you should be using Open MPI -- its IB
support is *WAY* better than LAM's IB support...

On Jan 22, 2008, at 3:52 PM, Brian O'Gorman wrote:

> I'm having lamtest errors and problems. See some of the error that
> are being returned in the attached packages. Anyone have any
> suggestions or recommendations? Thanks in advanced.
>
> the uname -a is
>
> Linux mg56 2.6.5-7.276-smp #1 SMP Fri Sep 28 20:33:22 AKDT 2007
> x86_64 x86_64 x86_64 GNU/Linux
>
> mg56 116% laminfo
> LAM/MPI: 7.1.4
> Prefix: /import/home/u1/uaf/ogorman/lam
> Architecture: x86_64-unknown-linux-gnu
> Configured by: ogorman
> Configured on: Tue Jan 22 11:24:19 AKST 2008
> Configure host: mg56
> Memory manager: ptmalloc2
> C bindings: yes
> C++ bindings: yes
> Fortran bindings: yes
> C compiler: gcc
> C++ compiler: g++
> Fortran compiler: g77
> Fortran symbols: double_underscore
> C profiling: yes
> C++ profiling: yes
> Fortran profiling: yes
> C++ exceptions: no
> Thread support: yes
> ROMIO support: yes
> IMPI support: no
> Debug support: no
> Purify clean: no
> SSI boot: globus (API v1.1, Module v0.6)
> SSI boot: rsh (API v1.1, Module v1.1)
> SSI boot: slurm (API v1.1, Module v1.0)
> SSI coll: lam_basic (API v1.1, Module v7.1)
> SSI coll: shmem (API v1.1, Module v1.0)
> SSI coll: smp (API v1.1, Module v1.2)
> SSI rpi: crtcp (API v1.1, Module v1.1)
> SSI rpi: ib (API v1.1, Module v1.0)
> SSI rpi: lamd (API v1.0, Module v7.1)
> SSI rpi: sysv (API v1.0, Module v7.1)
> SSI rpi: tcp (API v1.0, Module v7.1)
> SSI rpi: usysv (API v1.0, Module v7.1)
> SSI cr: self (API v1.0, Module v1.0)
> mg56 117% mpicc -showme
> gcc -I/import/home/u1/uaf/ogorman/lam/include -pthread -L/import/
> home/u1/uaf/ogorman/lam/lib -llammpio -llamf77mpi -lmpi -llam -laio -
> laio -lutil -lmosal -lmpga -lmtl_common -lvapi -ldl
> mg56 121% ./configure "CFLAGS=-fPIC" --prefix=/import/home/u1/uaf/
> ogorman/lam ; make
> Configuring LAM test suite version 7.1.4
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for mpicc... yes
> checking for gcc... mpicc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot
> run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make: *** No targets specified and no makefile found. Stop.
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by configure, which was
> generated by GNU Autoconf 2.59. Invocation command line was
>
> $ ./configure CFLAGS=-fPIC --prefix=/import/home/u1/uaf/ogorman/lam
> --enable-shared --disable-static
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = mg56
> uname -m = x86_64
> uname -r = 2.6.5-7.276-smp
> uname -s = Linux
> uname -v = #1 SMP Fri Sep 28 20:33:22 AKDT 2007
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = x86_64
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
>
> PATH: /usr/local/pkg/pathscale/pathscale-2.5/bin
> PATH: /usr/local/pkg/voltairempi/voltairempi-S-1/mpi.pathcc.rsh/bin
> PATH: /usr/mellanox/bin
> PATH: /usr/voltaire/scripts
> PATH: /usr/voltaire/bin
> PATH: /usr/software/krb5/bin
> PATH: /usr/software/bin
> PATH: /opt/gnome/bin
> PATH: /usr/games
> PATH: /usr/bin/X11
> PATH: /usr/software/krb5/bin
> PATH: /usr/sbin
> PATH: /sbin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/local/bin
> PATH: /usr/software/pkg/ssh/openssh-4.4p1a/bin
> PATH: /usr/lib/java/jre/bin
> PATH: /usr/local/bin
> PATH: /usr/pbs/bin
> PATH: /usr/local/pkg/gmt/current/bin
> PATH: /usr/local/pkg/gmt/current/share
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1730: checking for a BSD-compatible install
> configure:1785: result: /usr/bin/install -c
> configure:1796: checking whether build environment is sane
> configure:1839: result: yes
> configure:1904: checking for gawk
> configure:1920: found /usr/bin/gawk
> configure:1930: result: gawk
> configure:1940: checking whether make sets $(MAKE)
> configure:1960: result: yes
> configure:2124: builddir: /u1/uaf/ogorman/lam-7.1.4
> configure:2126: srcdir: /u1/uaf/ogorman/lam-7.1.4
> configure:2162: checking build system type
> configure:2180: result: x86_64-unknown-linux-gnu
> configure:2208: checking host system type
> configure:2222: result: x86_64-unknown-linux-gnu
> configure:2670: checking if want debugging output support
> configure:2684: result: no
> configure:2745: checking for gcc
> configure:2761: found /usr/bin/gcc
> configure:2771: result: gcc
> configure:3015: checking for C compiler version
> configure:3018: gcc --version </dev/null >&5
> gcc (GCC) 3.3.3 (SuSE Linux)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> configure:3021: $? = 0
> configure:3023: gcc -v </dev/null >&5
> Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr --
> with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/
> share/man --enable-languages=c,c++,f77,objc,java,ada --disable-
> checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/
> usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-
> shared --enable-__cxa_atexit x86_64-suse-linux
> Thread model: posix
> gcc version 3.3.3 (SuSE Linux)
> configure:3026: $? = 0
> configure:3028: gcc -V </dev/null >&5
> gcc: `-V' option must have argument
> configure:3031: $? = 1
> configure:3054: checking for C compiler default output file name
> configure:3057: gcc -fPIC conftest.c >&5
> configure:3060: $? = 0
> configure:3106: result: a.out
> configure:3111: checking whether the C compiler works
> configure:3117: ./a.out
> configure:3120: $? = 0
> configure:3137: result: yes
> configure:3144: checking whether we are cross compiling
> configure:3146: result: no
> configure:3149: checking for suffix of executables
> configure:3151: gcc -o conftest -fPIC conftest.c >&5
> configure:3154: $? = 0
> configure:3179: result:
> configure:3185: checking for suffix of object files
> configure:3206: gcc -c -fPIC conftest.c >&5
> configure:3209: $? = 0
> configure:3231: result: o
> configure:3235: checking whether we are using the GNU C compiler
> configure:3259: gcc -c -fPIC conftest.c >&5
> configure:3265: $? = 0
> configure:3269: test -z
> || test ! -s conftest.err
> configure:3272: $? = 0
> configure:3275: test -s conftest.o
> configure:3278: $? = 0
> configure:3291: result: yes
> configure:3297: checking whether gcc accepts -g
> configure:3318: gcc -c -g conftest.c >&5
> configure:3324: $? = 0
> configure:3328: test -z
> || test ! -s conftest.err
> configure:3331: $? = 0
> configure:3334: test -s conftest.o
> configure:3337: $? = 0
> configure:3348: result: yes
> configure:3365: checking for gcc option to accept ANSI C
> configure:3435: gcc -c -fPIC conftest.c >&5
> configure:3441: $? = 0
> configure:3445: test -z
> || test ! -s conftest.err
> configure:3448: $? = 0
> configure:3451: test -s conftest.o
> configure:3454: $? = 0
> configure:3472: result: none needed
> configure:3490: gcc -c -fPIC conftest.c >&5
> conftest.c:2: error: parse error before "me"
> configure:3496: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> | choke me
> | #endif
> configure:3640: checking for style of include used by make
> configure:3668: result: GNU
> configure:3696: checking dependency style of gcc
> configure:3786: result: gcc3
> configure:3809: checking how to run the C preprocessor
> configure:3844: gcc -E conftest.c
> configure:3850: $? = 0
> configure:3882: gcc -E conftest.c
> conftest.c:19:28: ac_nonexistent.h: No such file or directory
> configure:3888: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_MAJOR_VERSION 7
> | #define LAM_MINOR_VERSION 1
> | #define LAM_RELEASE_VERSION 4
> | #define LAM_ALPHA_VERSION 0
> | #define LAM_BETA_VERSION 0
> | #define LAM_SVN_VERSION 0
> | #define LAM_VERSION "7.1.4"
> | #define LAM_DEPENDENCY_PREFIX "/import/home/u1/uaf/ogorman/lam"
> | #define LAM_ARCH "x86_64-unknown-linux-gnu"
> | #define LAM_WANT_DEBUG 0
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:3927: result: gcc -E
> configure:3951: gcc -E conftest.c
> configure:3957: $? = 0
> configure:3989: gcc -E conftest.c
> conftest.c:19:28: ac_nonexistent.h: No such file or directory
> configure:3995: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_MAJOR_VERSION 7
> | #define LAM_MINOR_VERSION 1
> | #define LAM_RELEASE_VERSION 4
> | #define LAM_ALPHA_VERSION 0
> | #define LAM_BETA_VERSION 0
> | #define LAM_SVN_VERSION 0
> | #define LAM_VERSION "7.1.4"
> | #define LAM_DEPENDENCY_PREFIX "/import/home/u1/uaf/ogorman/lam"
> | #define LAM_ARCH "x86_64-unknown-linux-gnu"
> | #define LAM_WANT_DEBUG 0
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:4039: checking for egrep
> configure:4049: result: grep -E
> configure:4055: checking whether gcc needs -traditional
> configure:4097: result: no
> configure:4115: checking for AIX
> configure:4137: result: no
> configure:4147: checking if need special C compiler/linker flags
> configure:4180: result: none needed
> configure:4392: checking for C optimization flags
> configure:4394: result: -O3 -fPIC
> configure:4402: checking whether the C compiler (gcc -O3 -fPIC)
> accepts ANSI prototypes
> configure:4415: result: yes
> configure:4550: checking for type int2
> configure:4568: $CPP $CPPFLAGS conftest.c
> configure:4578: $? = 0
> configure:4587: ...some ugly egrepping...
> configure:4597: $? = 1
> configure:4616: result: no
> configure:4625: checking for type uint2
> configure:4643: $CPP $CPPFLAGS conftest.c
> configure:4653: $? = 0
> configure:4662: ...some ugly egrepping...
> configure:4672: $? = 1
> configure:4691: result: no
> configure:4700: checking for type int4
> configure:4718: $CPP $CPPFLAGS conftest.c
> configure:4728: $? = 0
> configure:4737: ...some ugly egrepping...
> configure:4747: $? = 1
> configure:4766: result: no
> configure:4775: checking for type uint4
> configure:4793: $CPP $CPPFLAGS conftest.c
> configure:4803: $? = 0
> configure:4812: ...some ugly egrepping...
> configure:4822: $? = 1
> configure:4841: result: no
> configure:4850: checking for type int8
> configure:4868: $CPP $CPPFLAGS conftest.c
> configure:4878: $? = 0
> configure:4887: ...some ugly egrepping...
> configure:4897: $? = 1
> configure:4916: result: no
> configure:4925: checking for type uint8
> configure:4943: $CPP $CPPFLAGS conftest.c
> configure:4953: $? = 0
> configure:4962: ...some ugly egrepping...
> configure:4972: $? = 1
> configure:4991: result: no
> configure:5000: checking for type float4
> configure:5018: $CPP $CPPFLAGS conftest.c
> configure:5028: $? = 0
> configure:5037: ...some ugly egrepping...
> configure:5047: $? = 1
> configure:5066: result: no
> configure:5075: checking for type float8
> configure:5093: $CPP $CPPFLAGS conftest.c
> configure:5103: $? = 0
> configure:5112: ...some ugly egrepping...
> configure:5122: $? = 1
> configure:5141: result: no
> configure:5156: checking size of char
> configure:5179: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5182: $? = 0
> configure:5184: ./conftest
> configure:5187: $? = 0
> configure:5201: result: 1
> configure:5229: checking size of short
> configure:5252: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5255: $? = 0
> configure:5257: ./conftest
> configure:5260: $? = 0
> configure:5274: result: 2
> configure:5302: checking size of wchar_t
> configure:5325: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5328: $? = 0
> configure:5330: ./conftest
> configure:5333: $? = 0
> configure:5347: result: 4
> configure:5375: checking size of int
> configure:5398: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5401: $? = 0
> configure:5403: ./conftest
> configure:5406: $? = 0
> configure:5420: result: 4
> configure:5448: checking size of long
> configure:5471: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5474: $? = 0
> configure:5476: ./conftest
> configure:5479: $? = 0
> configure:5493: result: 8
> configure:5521: checking size of long long
> configure:5544: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5547: $? = 0
> configure:5549: ./conftest
> configure:5552: $? = 0
> configure:5566: result: 8
> configure:5594: checking size of float
> configure:5617: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5620: $? = 0
> configure:5622: ./conftest
> configure:5625: $? = 0
> configure:5639: result: 4
> configure:5667: checking size of double
> configure:5690: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5693: $? = 0
> configure:5695: ./conftest
> configure:5698: $? = 0
> configure:5712: result: 8
> configure:5740: checking size of long double
> configure:5763: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5766: $? = 0
> configure:5768: ./conftest
> configure:5771: $? = 0
> configure:5785: result: 16
> configure:5813: checking size of void *
> configure:5836: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5839: $? = 0
> configure:5841: ./conftest
> configure:5844: $? = 0
> configure:5858: result: 8
> configure:5892: checking alignment of char
> configure:5921: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:5924: $? = 0
> configure:5926: ./conftest
> configure:5929: $? = 0
> configure:5953: result: 1
> configure:5969: checking alignment of short
> configure:5998: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6001: $? = 0
> configure:6003: ./conftest
> configure:6006: $? = 0
> configure:6030: result: 2
> configure:6046: checking alignment of wchar_t
> configure:6075: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6078: $? = 0
> configure:6080: ./conftest
> configure:6083: $? = 0
> configure:6107: result: 4
> configure:6123: checking alignment of int
> configure:6152: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6155: $? = 0
> configure:6157: ./conftest
> configure:6160: $? = 0
> configure:6184: result: 4
> configure:6200: checking alignment of long
> configure:6229: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6232: $? = 0
> configure:6234: ./conftest
> configure:6237: $? = 0
> configure:6261: result: 8
> configure:6277: checking alignment of long long
> configure:6306: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6309: $? = 0
> configure:6311: ./conftest
> configure:6314: $? = 0
> configure:6338: result: 8
> configure:6354: checking alignment of float
> configure:6383: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6386: $? = 0
> configure:6388: ./conftest
> configure:6391: $? = 0
> configure:6415: result: 4
> configure:6431: checking alignment of double
> configure:6460: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6463: $? = 0
> configure:6465: ./conftest
> configure:6468: $? = 0
> configure:6492: result: 8
> configure:6508: checking alignment of long double
> configure:6537: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6540: $? = 0
> configure:6542: ./conftest
> configure:6545: $? = 0
> configure:6569: result: 16
> configure:6585: checking alignment of void *
> configure:6614: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c >&5
> configure:6617: $? = 0
> configure:6619: ./conftest
> configure:6622: $? = 0
> configure:6646: result: 8
> configure:6792: checking for g++
> configure:6808: found /usr/bin/g++
> configure:6818: result: g++
> configure:6834: checking for C++ compiler version
> configure:6837: g++ --version </dev/null >&5
> g++ (GCC) 3.3.3 (SuSE Linux)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> configure:6840: $? = 0
> configure:6842: g++ -v </dev/null >&5
> Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr --
> with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/
> share/man --enable-languages=c,c++,f77,objc,java,ada --disable-
> checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/
> usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-
> shared --enable-__cxa_atexit x86_64-suse-linux
> Thread model: posix
> gcc version 3.3.3 (SuSE Linux)
> configure:6845: $? = 0
> configure:6847: g++ -V </dev/null >&5
> g++: `-V' option must have argument
> configure:6850: $? = 1
> configure:6853: checking whether we are using the GNU C++ compiler
> configure:6877: g++ -c -DLAM_BUILDING=1 conftest.cc >&5
> configure:6883: $? = 0
> configure:6887: test -z
> || test ! -s conftest.err
> configure:6890: $? = 0
> configure:6893: test -s conftest.o
> configure:6896: $? = 0
> configure:6909: result: yes
> configure:6915: checking whether g++ accepts -g
> configure:6936: g++ -c -g -DLAM_BUILDING=1 conftest.cc >&5
> configure:6942: $? = 0
> configure:6946: test -z
> || test ! -s conftest.err
> configure:6949: $? = 0
> configure:6952: test -s conftest.o
> configure:6955: $? = 0
> configure:6966: result: yes
> configure:7008: g++ -c -g -O2 -DLAM_BUILDING=1 conftest.cc >&5
> configure:7014: $? = 0
> configure:7018: test -z
> || test ! -s conftest.err
> configure:7021: $? = 0
> configure:7024: test -s conftest.o
> configure:7027: $? = 0
> configure:7053: g++ -c -g -O2 -DLAM_BUILDING=1 conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:53: error: `exit' undeclared (first use this function)
> conftest.cc:53: error: (Each undeclared identifier is reported only
> once for
> each function it appears in.)
> configure:7059: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_MAJOR_VERSION 7
> | #define LAM_MINOR_VERSION 1
> | #define LAM_RELEASE_VERSION 4
> | #define LAM_ALPHA_VERSION 0
> | #define LAM_BETA_VERSION 0
> | #define LAM_SVN_VERSION 0
> | #define LAM_VERSION "7.1.4"
> | #define LAM_DEPENDENCY_PREFIX "/import/home/u1/uaf/ogorman/lam"
> | #define LAM_ARCH "x86_64-unknown-linux-gnu"
> | #define LAM_WANT_DEBUG 0
> | #define LAM_CC "gcc"
> | #define LAM_CONFIG_FORCE_PROTOS 1
> | #define LAM_HAVE_int2 0
> | #define LAM_HAVE_uint2 0
> | #define LAM_HAVE_int4 0
> | #define LAM_HAVE_uint4 0
> | #define LAM_HAVE_int8 0
> | #define LAM_HAVE_uint8 0
> | #define LAM_HAVE_float4 0
> | #define LAM_HAVE_float8 0
> | #define LAM_SIZEOF_CHAR 1
> | #define LAM_SIZEOF_SHORT 2
> | #define LAM_SIZEOF_WCHAR 4
> | #define LAM_SIZEOF_INT 4
> | #define LAM_SIZEOF_LONG 8
> | #define LAM_SIZEOF_LONG_LONG 8
> | #define LAM_SIZEOF_FLOAT 4
> | #define LAM_SIZEOF_DOUBLE 8
> | #define LAM_SIZEOF_LONG_DOUBLE 16
> | #define LAM_SIZEOF_VOID_P 8
> | #define LAM_ALIGNMENT_CHAR 1
> | #define LAM_ALIGNMENT_SHORT 2
> | #define LAM_ALIGNMENT_WCHAR 4
> | #define LAM_ALIGNMENT_INT 4
> | #define LAM_ALIGNMENT_LONG 8
> | #define LAM_ALIGNMENT_LONG_LONG 8
> | #define LAM_ALIGNMENT_FLOAT 4
> | #define LAM_ALIGNMENT_DOUBLE 8
> | #define LAM_ALIGNMENT_LONG_DOUBLE 16
> | #define LAM_ALIGNMENT_VOID_P 8
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> | exit (42);
> | ;
> | return 0;
> | }
> configure:7008: g++ -c -g -O2 -DLAM_BUILDING=1 conftest.cc >&5
> configure:7014: $? = 0
> configure:7018: test -z
> || test ! -s conftest.err
> configure:7021: $? = 0
> configure:7024: test -s conftest.o
> configure:7027: $? = 0
> configure:7053: g++ -c -g -O2 -DLAM_BUILDING=1 conftest.cc >&5
> configure:7059: $? = 0
> configure:7063: test -z
> || test ! -s conftest.err
> configure:7066: $? = 0
> configure:7069: test -s conftest.o
> configure:7072: $? = 0
> configure:7097: checking dependency style of g++
> configure:7187: result: gcc3
> configure:7209: checking how to run the C++ preprocessor
> configure:7240: g++ -E -DLAM_BUILDING=1 conftest.cc
> configure:7246: $? = 0
> configure:7278: g++ -E -DLAM_BUILDING=1 conftest.cc
> conftest.cc:52:28: ac_nonexistent.h: No such file or directory
> configure:7284: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_MAJOR_VERSION 7
> | #define LAM_MINOR_VERSION 1
> | #define LAM_RELEASE_VERSION 4
> | #define LAM_ALPHA_VERSION 0
> | #define LAM_BETA_VERSION 0
> | #define LAM_SVN_VERSION 0
> | #define LAM_VERSION "7.1.4"
> | #define LAM_DEPENDENCY_PREFIX "/import/home/u1/uaf/ogorman/lam"
> | #define LAM_ARCH "x86_64-unknown-linux-gnu"
> | #define LAM_WANT_DEBUG 0
> | #define LAM_CC "gcc"
> | #define LAM_CONFIG_FORCE_PROTOS 1
> | #define LAM_HAVE_int2 0
> | #define LAM_HAVE_uint2 0
> | #define LAM_HAVE_int4 0
> | #define LAM_HAVE_uint4 0
> | #define LAM_HAVE_int8 0
> | #define LAM_HAVE_uint8 0
> | #define LAM_HAVE_float4 0
> | #define LAM_HAVE_float8 0
> | #define LAM_SIZEOF_CHAR 1
> | #define LAM_SIZEOF_SHORT 2
> | #define LAM_SIZEOF_WCHAR 4
> | #define LAM_SIZEOF_INT 4
> | #define LAM_SIZEOF_LONG 8
> | #define LAM_SIZEOF_LONG_LONG 8
> | #define LAM_SIZEOF_FLOAT 4
> | #define LAM_SIZEOF_DOUBLE 8
> | #define LAM_SIZEOF_LONG_DOUBLE 16
> | #define LAM_SIZEOF_VOID_P 8
> | #define LAM_ALIGNMENT_CHAR 1
> | #define LAM_ALIGNMENT_SHORT 2
> | #define LAM_ALIGNMENT_WCHAR 4
> | #define LAM_ALIGNMENT_INT 4
> | #define LAM_ALIGNMENT_LONG 8
> | #define LAM_ALIGNMENT_LONG_LONG 8
> | #define LAM_ALIGNMENT_FLOAT 4
> | #define LAM_ALIGNMENT_DOUBLE 8
> | #define LAM_ALIGNMENT_LONG_DOUBLE 16
> | #define LAM_ALIGNMENT_VOID_P 8
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:7323: result: g++ -E
> configure:7347: g++ -E -DLAM_BUILDING=1 conftest.cc
> configure:7353: $? = 0
> configure:7385: g++ -E -DLAM_BUILDING=1 conftest.cc
> conftest.cc:52:28: ac_nonexistent.h: No such file or directory
> configure:7391: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_MAJOR_VERSION 7
> | #define LAM_MINOR_VERSION 1
> | #define LAM_RELEASE_VERSION 4
> | #define LAM_ALPHA_VERSION 0
> | #define LAM_BETA_VERSION 0
> | #define LAM_SVN_VERSION 0
> | #define LAM_VERSION "7.1.4"
> | #define LAM_DEPENDENCY_PREFIX "/import/home/u1/uaf/ogorman/lam"
> | #define LAM_ARCH "x86_64-unknown-linux-gnu"
> | #define LAM_WANT_DEBUG 0
> | #define LAM_CC "gcc"
> | #define LAM_CONFIG_FORCE_PROTOS 1
> | #define LAM_HAVE_int2 0
> | #define LAM_HAVE_uint2 0
> | #define LAM_HAVE_int4 0
> | #define LAM_HAVE_uint4 0
> | #define LAM_HAVE_int8 0
> | #define LAM_HAVE_uint8 0
> | #define LAM_HAVE_float4 0
> | #define LAM_HAVE_float8 0
> | #define LAM_SIZEOF_CHAR 1
> | #define LAM_SIZEOF_SHORT 2
> | #define LAM_SIZEOF_WCHAR 4
> | #define LAM_SIZEOF_INT 4
> | #define LAM_SIZEOF_LONG 8
> | #define LAM_SIZEOF_LONG_LONG 8
> | #define LAM_SIZEOF_FLOAT 4
> | #define LAM_SIZEOF_DOUBLE 8
> | #define LAM_SIZEOF_LONG_DOUBLE 16
> | #define LAM_SIZEOF_VOID_P 8
> | #define LAM_ALIGNMENT_CHAR 1
> | #define LAM_ALIGNMENT_SHORT 2
> | #define LAM_ALIGNMENT_WCHAR 4
> | #define LAM_ALIGNMENT_INT 4
> | #define LAM_ALIGNMENT_LONG 8
> | #define LAM_ALIGNMENT_LONG_LONG 8
> | #define LAM_ALIGNMENT_FLOAT 4
> | #define LAM_ALIGNMENT_DOUBLE 8
> | #define LAM_ALIGNMENT_LONG_DOUBLE 16
> | #define LAM_ALIGNMENT_VOID_P 8
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:7601: checking if want C++ exception handling
> configure:7603: result: no
> configure:7891: checking whether g++ has new(std::nothrow)
> configure:7904: g++ conftest.cc -o conftest
> configure:7909: result: yes
> configure:7961: checking for C++ template repository directory
> configure:8020: g++ -c conftest1.C
> configure:8031: g++ -c conftest2.C
> configure:8082: result: not used
> configure:8107: checking for C++ compiler template parameters
> configure:8115: result: none needed
> configure:8206: checking for C++ optimization flags
> configure:8208: result: -O3
> configure:8242: checking for ANSI C header files
> configure:8267: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8273: $? = 0
> configure:8277: test -z
> || test ! -s conftest.err
> configure:8280: $? = 0
> configure:8283: test -s conftest.o
> configure:8286: $? = 0
> configure:8372: g++ -o conftest -O3 -DLAM_BUILDING=1 conftest.cc
> >&5
> configure:8375: $? = 0
> configure:8377: ./conftest
> configure:8380: $? = 0
> configure:8395: result: yes
> configure:8419: checking for sys/types.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for sys/stat.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for stdlib.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for string.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for memory.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for strings.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for inttypes.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for stdint.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8419: checking for unistd.h
> configure:8435: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8441: $? = 0
> configure:8445: test -z
> || test ! -s conftest.err
> configure:8448: $? = 0
> configure:8451: test -s conftest.o
> configure:8454: $? = 0
> configure:8465: result: yes
> configure:8487: checking map usability
> configure:8499: g++ -c -O3 -DLAM_BUILDING=1 conftest.cc >&5
> configure:8505: $? = 0
> configure:8509: test -z
> || test ! -s conftest.err
> configure:8512: $? = 0
> configure:8515: test -s conftest.o
> configure:8518: $? = 0
> configure:8528: result: yes
> configure:8532: checking map presence
> configure:8542: g++ -E -DLAM_BUILDING=1 conftest.cc
> configure:8548: $? = 0
> configure:8568: result: yes
> configure:8603: checking for map
> configure:8610: result: yes
> configure:8673: checking for type bool
> configure:8689: g++ -O3 conftest.cc -o conftest
> configure:8690: result: yes
> configure:8747: checking for true/false
> configure:8765: g++ -O3 conftest.cc -o conftest
> configure:8766: result: yes
> configure:8817: checking size of bool
> configure:8840: g++ -o conftest -O3 -DLAM_BUILDING=1 conftest.cc
> >&5
> configure:8843: $? = 0
> configure:8845: ./conftest
> configure:8848: $? = 0
> configure:8862: result: 1
> configure:8905: checking size of int
> configure:8928: g++ -o conftest -O3 -DLAM_BUILDING=1 conftest.cc
> >&5
> configure:8931: $? = 0
> configure:8933: ./conftest
> configure:8936: $? = 0
> configure:8950: result: 4
> configure:8997: checking alignment of bool
> configure:9026: g++ -o conftest -O3 -DLAM_BUILDING=1 conftest.cc
> >&5
> configure:9029: $? = 0
> configure:9031: ./conftest
> configure:9034: $? = 0
> configure:9058: result: 1
> configure:9089: checking alignment of int
> configure:9118: g++ -o conftest -O3 -DLAM_BUILDING=1 conftest.cc
> >&5
> configure:9121: $? = 0
> configure:9123: ./conftest
> configure:9126: $? = 0
> configure:9150: result: 4
> configure:9174: checking how to store bool in C
> configure:9194: result: unsigned char
> configure:9315: checking for g77
> configure:9331: found /usr/bin/g77
> configure:9341: result: g77
> configure:9422: checking how to add a library directory to g77
> configure:9427: result: "-L"
> configure:9438: checking g77 external naming convention
> configure:9454: result: FORTRANDOUBLEUNDERSCORE
> configure:9568: checking for FORTRAN optimization flags
> configure:9570: result: -O
> configure:9582: checking size of FORTRAN INTEGER
> configure:9661: gcc -O3 -fPIC -I. -c conftest.c
> configure:9668: $? = 0
> configure:9678: g77 -O conftestf.f conftest.o -o conftest
> configure:9685: $? = 0
> configure:9695: ./conftest
> configure:9702: $? = 0
> configure:9721: result: 4
> configure:9786: checking size of FORTRAN REAL
> configure:9865: gcc -O3 -fPIC -I. -c conftest.c
> configure:9872: $? = 0
> configure:9882: g77 -O conftestf.f conftest.o -o conftest
> configure:9889: $? = 0
> configure:9899: ./conftest
> configure:9906: $? = 0
> configure:9925: result: 4
> configure:9990: checking size of FORTRAN DOUBLE PRECISION
> configure:10069: gcc -O3 -fPIC -I. -c conftest.c
> configure:10076: $? = 0
> configure:10086: g77 -O conftestf.f conftest.o -o conftest
> configure:10093: $? = 0
> configure:10103: ./conftest
> configure:10110: $? = 0
> configure:10129: result: 8
> configure:10194: checking size of FORTRAN COMPLEX
> configure:10273: gcc -O3 -fPIC -I. -c conftest.c
> configure:10280: $? = 0
> configure:10290: g77 -O conftestf.f conftest.o -o conftest
> configure:10297: $? = 0
> configure:10307: ./conftest
> configure:10314: $? = 0
> configure:10333: result: 8
> configure:10398: checking size of FORTRAN DOUBLE COMPLEX
> configure:10477: gcc -O3 -fPIC -I. -c conftest.c
> configure:10484: $? = 0
> configure:10494: g77 -O conftestf.f conftest.o -o conftest
> configure:10501: $? = 0
> configure:10511: ./conftest
> configure:10518: $? = 0
> configure:10537: result: 16
> configure:10608: checking alignment of FORTRAN INTEGER
> configure:10693: gcc -O3 -fPIC -I. -c conftest.c
> configure:10700: $? = 0
> configure:10710: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 3 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:10717: $? = 0
> configure:10727: ./conftest
> configure:10734: $? = 0
> configure:10753: result: 4
> configure:10818: checking alignment of FORTRAN REAL
> configure:10903: gcc -O3 -fPIC -I. -c conftest.c
> configure:10910: $? = 0
> configure:10920: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 3 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:10927: $? = 0
> configure:10937: ./conftest
> configure:10944: $? = 0
> configure:10963: result: 4
> configure:11028: checking alignment of FORTRAN DOUBLE PRECISION
> configure:11113: gcc -O3 -fPIC -I. -c conftest.c
> configure:11120: $? = 0
> configure:11130: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 7 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:11137: $? = 0
> configure:11147: ./conftest
> configure:11154: $? = 0
> configure:11173: result: 8
> configure:11238: checking alignment of FORTRAN COMPLEX
> configure:11323: gcc -O3 -fPIC -I. -c conftest.c
> configure:11330: $? = 0
> configure:11340: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 3 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:11347: $? = 0
> configure:11357: ./conftest
> configure:11364: $? = 0
> configure:11383: result: 4
> configure:11448: checking alignment of FORTRAN DOUBLE COMPLEX
> configure:11533: gcc -O3 -fPIC -I. -c conftest.c
> configure:11540: $? = 0
> configure:11550: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 7 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:11557: $? = 0
> configure:11567: ./conftest
> configure:11574: $? = 0
> configure:11593: result: 8
> configure:11672: checking size of FORTRAN INTEGER*1
> configure:11733: gcc -O3 -fPIC -I. -c conftest.c
> configure:11740: $? = 0
> configure:11750: g77 -O conftestf.f conftest.o -o conftest
> configure:11757: $? = 0
> configure:11767: ./conftest
> configure:11774: $? = 0
> configure:11793: result: 1
> configure:11858: checking for corresponding C type for INTEGER*1
> configure:11879: result: char
> configure:11905: checking size of FORTRAN INTEGER*2
> configure:11966: gcc -O3 -fPIC -I. -c conftest.c
> configure:11973: $? = 0
> configure:11983: g77 -O conftestf.f conftest.o -o conftest
> configure:11990: $? = 0
> configure:12000: ./conftest
> configure:12007: $? = 0
> configure:12026: result: 2
> configure:12091: checking for corresponding C type for INTEGER*2
> configure:12112: result: short
> configure:12138: checking size of FORTRAN INTEGER*4
> configure:12199: gcc -O3 -fPIC -I. -c conftest.c
> configure:12206: $? = 0
> configure:12216: g77 -O conftestf.f conftest.o -o conftest
> configure:12223: $? = 0
> configure:12233: ./conftest
> configure:12240: $? = 0
> configure:12259: result: 4
> configure:12324: checking for corresponding C type for INTEGER*4
> configure:12345: result: int
> configure:12371: checking size of FORTRAN INTEGER*8
> configure:12432: gcc -O3 -fPIC -I. -c conftest.c
> configure:12439: $? = 0
> configure:12449: g77 -O conftestf.f conftest.o -o conftest
> configure:12456: $? = 0
> configure:12466: ./conftest
> configure:12473: $? = 0
> configure:12492: result: 8
> configure:12557: checking for corresponding C type for INTEGER*8
> configure:12578: result: long
> configure:12604: checking size of FORTRAN REAL*4
> configure:12665: gcc -O3 -fPIC -I. -c conftest.c
> configure:12672: $? = 0
> configure:12682: g77 -O conftestf.f conftest.o -o conftest
> configure:12689: $? = 0
> configure:12699: ./conftest
> configure:12706: $? = 0
> configure:12725: result: 4
> configure:12790: checking for corresponding C type for REAL*4
> configure:12811: result: float
> configure:12837: checking size of FORTRAN REAL*8
> configure:12898: gcc -O3 -fPIC -I. -c conftest.c
> configure:12905: $? = 0
> configure:12915: g77 -O conftestf.f conftest.o -o conftest
> configure:12922: $? = 0
> configure:12932: ./conftest
> configure:12939: $? = 0
> configure:12958: result: 8
> configure:13023: checking for corresponding C type for REAL*8
> configure:13044: result: double
> configure:13070: checking size of FORTRAN REAL*16
> configure:13131: gcc -O3 -fPIC -I. -c conftest.c
> configure:13138: $? = 0
> configure:13148: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `fsize':
> conftestf.f:3:
> REAL*16 x(2)
> 1 2
> Invalid kind at (2) for type at (1) -- unsupported or not permitted
> configure:13155: $? = 1
> configure:13197: result: unknown
> configure:13207: here is the C program:
> #include <stdio.h>
> #include <stdlib.h>
>
>
> #ifdef __cplusplus
> extern "C" {
> #endif
> void size_(char *a, char *b)
> {
> int diff = (int) (b - a);
> FILE *f=fopen("conftestval", "w");
> if (!f) exit(1);
> fprintf(f, "%d\n", diff);
> }
> #ifdef __cplusplus
> }
> #endif
> configure:13235: here is the fortran program:
> program fsize
> external SIZE
> REAL*16 x(2)
> call SIZE(x(1),x(2))
> end
> configure:13242: WARNING: Looks like REAL*16 is not supported by the
> fortran compiler
> configure:13300: checking alignment of FORTRAN INTEGER*1
> configure:13385: gcc -O3 -fPIC -I. -c conftest.c
> configure:13392: $? = 0
> configure:13402: g77 -O conftestf.f conftest.o -o conftest
> configure:13409: $? = 0
> configure:13419: ./conftest
> configure:13426: $? = 0
> configure:13445: result: 1
> configure:13504: checking alignment of FORTRAN INTEGER*2
> configure:13589: gcc -O3 -fPIC -I. -c conftest.c
> configure:13596: $? = 0
> configure:13606: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 1 byte required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 1 byte required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 1 byte at (^) -- consider
> reordering members, largest-type-size first
> configure:13613: $? = 0
> configure:13623: ./conftest
> configure:13630: $? = 0
> configure:13649: result: 2
> configure:13708: checking alignment of FORTRAN INTEGER*4
> configure:13793: gcc -O3 -fPIC -I. -c conftest.c
> configure:13800: $? = 0
> configure:13810: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 3 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:13817: $? = 0
> configure:13827: ./conftest
> configure:13834: $? = 0
> configure:13853: result: 4
> configure:13912: checking alignment of FORTRAN INTEGER*8
> configure:13997: gcc -O3 -fPIC -I. -c conftest.c
> configure:14004: $? = 0
> configure:14014: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 7 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:14021: $? = 0
> configure:14031: ./conftest
> configure:14038: $? = 0
> configure:14057: result: 8
> configure:14116: checking alignment of FORTRAN REAL*4
> configure:14201: gcc -O3 -fPIC -I. -c conftest.c
> configure:14208: $? = 0
> configure:14218: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 3 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:14225: $? = 0
> configure:14235: ./conftest
> configure:14242: $? = 0
> configure:14261: result: 4
> configure:14320: checking alignment of FORTRAN REAL*8
> configure:14405: gcc -O3 -fPIC -I. -c conftest.c
> configure:14412: $? = 0
> configure:14422: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 7 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 7 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:14429: $? = 0
> configure:14439: ./conftest
> configure:14446: $? = 0
> configure:14465: result: 8
> configure:14524: checking alignment of FORTRAN REAL*16
> configure:14609: gcc -O3 -fPIC -I. -c conftest.c
> configure:14616: $? = 0
> configure:14626: g77 -O conftestf.f conftest.o -o conftest
> conftestf.f: In program `falign':
> conftestf.f:3:
> REAL*16 w,x,y,z
> 1 2
> Invalid kind at (2) for type at (1) -- unsupported or not permitted
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `x' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Padding of 3 bytes required before `z' in common block `foo' at (^)
> -- consider reordering members, largest-type-size first
> conftestf.f:5: warning:
> common /foo/a,w,b,x,y,c,z
> ^
> Initial padding for common block `foo' is 3 bytes at (^) -- consider
> reordering members, largest-type-size first
> configure:14633: $? = 1
> configure:14675: result: unknown
> configure:14685: here is the C program:
> #include <stdio.h>
> #include <stdlib.h>
>
>
> #ifdef __cplusplus
> extern "C" {
> #endif
> void align_(char *w, char *x, char *y, char *z)
> { unsigned long aw, ax, ay, az;
> FILE *f=fopen("conftestval", "w");
> if (!f) exit(1);
> aw = (unsigned long) w;
> ax = (unsigned long) x;
> ay = (unsigned long) y;
> az = (unsigned long) z;
> if (! ((aw%16)||(ax%16)||(ay%16)||(az%16))) fprintf(f, "%d\n", 16);
> else if (! ((aw%12)||(ax%12)||(ay%12)||(az%12))) fprintf(f, "%d
> \n", 12);
> else if (! ((aw%8)||(ax%8)||(ay%8)||(az%8))) fprintf(f, "%d\n", 8);
> else if (! ((aw%4)||(ax%4)||(ay%4)||(az%4))) fprintf(f, "%d\n", 4);
> else if (! ((aw%2)||(ax%2)||(ay%2)||(az%2))) fprintf(f, "%d\n", 2);
> else fprintf(f, "%d\n", 1);
> fclose(f);
> }
> #ifdef __cplusplus
> }
> #endif
> configure:14713: here is the fortran program:
> program falign
> external ALIGN
> REAL*16 w,x,y,z
> CHARACTER a,b,c
> common /foo/a,w,b,x,y,c,z
> call ALIGN(w,x,y,z)
> end
> configure:14719: WARNING: *** No alignment for REAL*16
> configure:15000: checking if want profiling interface
> configure:15002: result: yes
> configure:15045: checking if want full installation of Trillium files
> configure:15047: result: no
> configure:15104: checking if want ROMIO support
> configure:15106: result: yes
> configure:15122: checking for main in -laio
> configure:15146: gcc -o conftest -O3 -fPIC -DLAM_BUILDING=1
> conftest.c -laio >&5
> configure:15152: $? = 0
> configure:15156: test -z
> || test ! -s conftest.err
> configure:15159: $? = 0
> configure:15162: test -s conftest
> configure:15165: $? = 0
> configure:15178: result: yes
> configure:15196: checking for user ROMIO flags
> configure:15199: result: none
> configure:15267: checking if want FORTRAN support
> configure:15296: result: yes
> configure:15326: checking if want MPI 2 C++ support
> configure:15328: result: yes
> configure:15367: checking if want MPI::File C++ binding support
> configure:15369: result: no
> configure:15412: checking if want IMPI support
> configure:15414: result: no
> configure:15537: WARNING: *** Building ROMIO and shared library
> support is
> configure:15539: WARNING: *** experimental. It should work, but has
> not been
> configure:15541: WARNING: *** well tested by the LAM development team.
> configure:15543: WARNING: *** Note that it is not possible to build
> ROMIO
> configure:15545: WARNING: *** as a shared library, so it will still
> be built as
> configure:15547: WARNING: *** a static library
> configure:15575: checking how to yeild
> configure:15592: result: yield()
> configure:15607: checking for LAM user signal
> configure:15626: result: SIGUSR2
> configure:15638: checking if want purify clean
> configure:15660: result: no
> configure:15694: checking for desired boot timeout
> configure:15696: result: 60 seconds
> configure:15698: checking for desired lamd packet resend time
> configure:15700: result: 500000 seconds
> configure:15702: checking for desired lamd heartbeat time
> configure:15704: result: 120 seconds
> configure:15736: checking if want stub MPI functions
> configure:15738: result: no
> configure:15779: checking if want default promiscuous boot connections
> configure:15781: result: no
> configure:15811: checking whether ln -s works
> configure:15815: result: yes
> configure:15830: checking for cp
> configure:15848: found /bin/cp
> configure:15860: result: /bin/cp
> configure:15875: checking for rm
> configure:15893: found /bin/rm
> configure:15905: result: /bin/rm
> configure:15925: checking for sh
> configure:15943: found /bin/sh
> configure:15955: result: /bin/sh
> configure:15971: checking if installed perl can support mpiexec
> configure:15990: result: yes
> configure:16002: checking for prototype of snprintf
> configure:16027: gcc -E -O3 -fPIC conftest.c
> configure:16037: $? = 0
> configure:16046: ...some ugly egrepping...
> configure:16056: $? = 0
> configure:16065: ...some ugly egrepping...
> configure:16075: $? = 0
> configure:16084: result: yes
> configure:16100: checking for prototype of gethostname
> configure:16125: gcc -E -O3 -fPIC conftest.c
> configure:16135: $? = 0
> configure:16144: ...some ugly egrepping...
> configure:16154: $? = 0
> configure:16163: ...some ugly egrepping...
> configure:16173: $? = 0
> configure:16182: result: yes
> configure:16221: checking stropts.h usability
> configure:16233: gcc -c -O3 -fPIC -DLAM_BUILDING=1 conftest.c >&5
> configure:16239: $? = 0
> configure:16243: test -z
> || test ! -s conftest.err
> configure:16246: $? = 0
> configure:16249: test -s conftest.o
> configure:16252: $? = 0
> configure:16262: result: yes
> configure:16266: checking stropts.h presence
> configure:16276: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:16282: $? = 0
> configure:16302: result: yes
> configure:16337: checking for stropts.h
> configure:16344: result: yes
> configure:16221: checking grp.h usability
> configure:16233: gcc -c -O3 -fPIC -DLAM_BUILDING=1 conftest.c >&5
> configure:16239: $? = 0
> configure:16243: test -z
> || test ! -s conftest.err
> configure:16246: $? = 0
> configure:16249: test -s conftest.o
> configure:16252: $? = 0
> configure:16262: result: yes
> configure:16266: checking grp.h presence
> configure:16276: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:16282: $? = 0
> configure:16302: result: yes
> configure:16337: checking for grp.h
> configure:16344: result: yes
> configure:16221: checking netinet/tcp.h usability
> configure:16233: gcc -c -O3 -fPIC -DLAM_BUILDING=1 conftest.c >&5
> configure:16239: $? = 0
> configure:16243: test -z
> || test ! -s conftest.err
> configure:16246: $? = 0
> configure:16249: test -s conftest.o
> configure:16252: $? = 0
> configure:16262: result: yes
> configure:16266: checking netinet/tcp.h presence
> configure:16276: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:16282: $? = 0
> configure:16302: result: yes
> configure:16337: checking for netinet/tcp.h
> configure:16344: result: yes
> configure:16221: checking sys/select.h usability
> configure:16233: gcc -c -O3 -fPIC -DLAM_BUILDING=1 conftest.c >&5
> configure:16239: $? = 0
> configure:16243: test -z
> || test ! -s conftest.err
> configure:16246: $? = 0
> configure:16249: test -s conftest.o
> configure:16252: $? = 0
> configure:16262: result: yes
> configure:16266: checking sys/select.h presence
> configure:16276: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:16282: $? = 0
> configure:16302: result: yes
> configure:16337: checking for sys/select.h
> configure:16344: result: yes
> configure:16221: checking sys/resource.h usability
> configure:16233: gcc -c -O3 -fPIC -DLAM_BUILDING=1 conftest.c >&5
> configure:16239: $? = 0
> configure:16243: test -z
> || test ! -s conftest.err
> configure:16246: $? = 0
> configure:16249: test -s conftest.o
> configure:16252: $? = 0
> configure:16262: result: yes
> configure:16266: checking sys/resource.h presence
> configure:16276: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:16282: $? = 0
> configure:16302: result: yes
> configure:16337: checking for sys/resource.h
> configure:16344: result: yes
> configure:16371: checking rpc/types.h usability
> configure:16383: gcc -c -O3 -fPIC -DLAM_BUILDING=1 conftest.c >&5