LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: wei zhang (wzhang_at_[hidden])
Date: 2003-08-26 12:23:44


Jeff
 I tried to configure lamtests-7.0, and got some error massage in
config.log.
here is the details.

Thanks for help

Wei Zhang

---------------------
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.57. Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = master.xx.xxxxxxx.com
uname -m = i686
uname -r = 2.4.18-i4smp
uname -s = Linux
uname -v = #1 SMP Sat Jun 8 04:18:25 EDT 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /admin/bin
PATH: /home/cfd/fds4.0/bin
PATH: /opt/absoft/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /home/cfd/bin
PATH: /bin
PATH: /sbin
PATH: /usr/etc
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/sbin
PATH: /usr/local/bin/
PATH: /usr/local/sbin
PATH: /usr/local/etc
PATH: /admin/bin
PATH: /usr/3p/fluent/Fluent.Inc/bin
PATH: /usr/3p/starcd/v3150/bin
PATH: .

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1384: checking for a BSD-compatible install
configure:1438: result: /usr/bin/install -c
configure:1449: checking whether build environment is sane
configure:1492: result: yes
configure:1525: checking for gawk
configure:1541: found /bin/gawk
configure:1551: result: gawk
configure:1561: checking whether make sets $(MAKE)
configure:1581: result: yes
configure:1761: checking build system type
configure:1779: result: i686-pc-linux-gnu
configure:1787: checking host system type
configure:1801: result: i686-pc-linux-gnu
configure:1831: checking for mpicc
configure:1847: found /home/cfd/fds4.0/bin/mpicc
configure:1858: result: yes
configure:1918: checking for gcc
configure:1944: result: mpicc
configure:2188: checking for C compiler version
configure:2191: mpicc --version </dev/null >&5
2.96
configure:2194: $? = 0
configure:2196: mpicc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/collect2 -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o -L/home/cfd/fds4.0/lib -L
/usr/lib/gcc-lib/i386-redhat-linux/2.96 -L/usr/lib/gcc-lib/i386-redhat-linux
/2.96/../../.. -llammpio -llamf77mpi -lmpi -llam -lutil -lgm -lgcc -lpthread
 -lc -lgcc /usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crtn.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
mpicc: No such file or directory
configure:2199: $? = 1
configure:2201: mpicc -V </dev/null >&5
gcc: invalid version number format
mpicc: No such file or directory
configure:2204: $? = 1
configure:2228: checking for C compiler default output
configure:2231: mpicc conftest.c >&5
configure:2234: $? = 0
configure:2280: result: a.out
configure:2285: checking whether the C compiler works
configure:2291: ./a.out
configure:2294: $? = 0
configure:2311: result: yes
configure:2318: checking whether we are cross compiling
configure:2320: result: no
configure:2323: checking for suffix of executables
configure:2325: mpicc -o conftest conftest.c >&5
configure:2328: $? = 0
configure:2353: result:
configure:2359: checking for suffix of object files
configure:2381: mpicc -c conftest.c >&5
configure:2384: $? = 0
configure:2406: result: o
configure:2410: checking whether we are using the GNU C compiler
configure:2435: mpicc -c conftest.c >&5
configure:2438: $? = 0
configure:2441: test -s conftest.o
configure:2444: $? = 0
configure:2457: result: yes
configure:2463: checking whether mpicc accepts -g
configure:2485: mpicc -c -g conftest.c >&5
configure:2488: $? = 0
configure:2491: test -s conftest.o
configure:2494: $? = 0
configure:2505: result: yes
configure:2522: checking for mpicc option to accept ANSI C
configure:2583: mpicc -c -g -O2 conftest.c >&5
configure:2586: $? = 0
configure:2589: test -s conftest.o
configure:2592: $? = 0
configure:2610: result: none needed
configure:2628: mpicc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
mpicc: No such file or directory
configure:2631: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2750: checking for style of include used by make
configure:2778: result: GNU
configure:2806: checking dependency style of mpicc
configure:2874: result: gcc3
configure:2907: checking for mpic++
configure:2923: found /home/cfd/fds4.0/bin/mpic++
configure:2934: result: yes
configure:3083: checking for C++ compiler version
configure:3086: mpic++ --version </dev/null >&5
2.96
configure:3089: $? = 0
configure:3091: mpic++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/collect2 -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o -L/home/cfd/fds4.0/lib -L
/usr/lib/gcc-lib/i386-redhat-linux/2.96 -L/usr/lib/gcc-lib/i386-redhat-linux
/2.96/../../.. -llammpio -llammpi++ -llamf77mpi -lmpi -llam -lutil -lgm -lst
dc++ -lm -lgcc -lpthread -lc -lgcc
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crtn.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
mpic++: No such file or directory
configure:3094: $? = 1
configure:3096: mpic++ -V </dev/null >&5
g++: invalid version number format
mpic++: No such file or directory
configure:3099: $? = 1
configure:3102: checking whether we are using the GNU C++ compiler
configure:3127: mpic++ -c conftest.cc >&5
configure:3130: $? = 0
configure:3133: test -s conftest.o
configure:3136: $? = 0
configure:3149: result: yes
configure:3155: checking whether mpic++ accepts -g
configure:3177: mpic++ -c -g conftest.cc >&5
configure:3180: $? = 0
configure:3183: test -s conftest.o
configure:3186: $? = 0
configure:3197: result: yes
configure:3241: mpic++ -c -g -O2 conftest.cc >&5
configure:3244: $? = 0
configure:3247: test -s conftest.o
configure:3250: $? = 0
configure:3277: mpic++ -c -g -O2 conftest.cc >&5
configure: In function `int main ()':
configure:3280: `exit' undeclared (first use this function)
configure:3280: (Each undeclared identifier is reported only once for
each function it appears in.)
mpic++: No such file or directory
configure:3280: $? = 1
configure: failed program was:
| #line 3260 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define LAMTEST_MAJOR_VERSION 7
| #define LAMTEST_MINOR_VERSION 0
| #define LAMTEST_RELEASE_VERSION 0
| #define LAMTEST_ALPHA_VERSION 0
| #define LAMTEST_BETA_VERSION 0
| #define LAMTEST_CVS_VERSION 0
| #define LAMTEST_VERSION "7.0"
| #define LAMTEST_ARCH "i686-pc-linux-gnu"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3241: mpic++ -c -g -O2 conftest.cc >&5
configure:3244: $? = 0
configure:3247: test -s conftest.o
configure:3250: $? = 0
configure:3277: mpic++ -c -g -O2 conftest.cc >&5
configure:3280: $? = 0
configure:3283: test -s conftest.o
configure:3286: $? = 0
configure:3311: checking dependency style of mpic++
configure:3379: result: gcc3
configure:3412: checking for mpif77
configure:3428: found /home/cfd/fds4.0/bin/mpif77
configure:3439: result: yes
configure:3545: checking for Fortran 77 compiler version
configure:3548: mpif77 --version </dev/null >&5

Error: bad option: -pthread
mpif77: No such file or directory
configure:3551: $? = 1
configure:3553: mpif77 -v </dev/null >&5

Error: bad option: -pthread
mpif77: No such file or directory
configure:3556: $? = 1
configure:3558: mpif77 -V </dev/null >&5

Error: bad option: -pthread
mpif77: No such file or directory
configure:3561: $? = 1
configure:3568: checking whether we are using the GNU Fortran 77 compiler
configure:3582: mpif77 -c conftest.F >&5

Error: bad option: -pthread
mpif77: No such file or directory
configure:3585: $? = 1
configure: failed program was:
| program main
| #ifndef __GNUC__
| choke me
| #endif
|
| end
configure:3604: result: no
configure:3611: checking whether mpif77 accepts -g
configure:3623: mpif77 -c -g conftest.f >&5

Error: bad option: -pthread
mpif77: No such file or directory
configure:3626: $? = 1
configure: failed program was:
| program main
|
| end
configure:3644: result: no
configure:3714: checking for ranlib
configure:3730: found /usr/bin/ranlib
configure:3741: result: ranlib
configure:3767: checking for mpi.h
configure:3778: $CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5
configure:3781: result: yes
configure:3807: checking for MPI_Initialized in -lmpi
configure:3829: mpicc -o conftest conftest.c >&5
configure:3832: $? = 0
configure:3835: test -s conftest
configure:3838: $? = 0
configure:3849: result: yes
configure:3913: checking if have Fortran MPI bindings
configure:3932: mpif77 -o conftest conftest.f >&5

Error: bad option: -pthread
mpif77: No such file or directory
configure:3935: $? = 1
configure: failed program was:
| program main
| c
| include 'mpif.h'
| integer ierr
| call MPI_INIT(ierr)
| call MPI_FINALIZE(ierr)
| stop
| end
configure:3957: result: no
configure:4707: checking if supposed to have Fortran MPI bindings
configure:4733: mpicc -o conftest conftest.c >&5
configure:4736: $? = 0
configure:4738: ./conftest
configure:4741: $? = 0
configure:4754: result: yes
configure:4758: error: Cannot continue

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_f77_compiler_gnu=no
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install=$'/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_HAVE_MPICC=yes
ac_cv_prog_HAVE_MPICPP=yes
ac_cv_prog_HAVE_MPIF77=yes
ac_cv_prog_ac_ct_CC=mpicc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_f77_g=no
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL}
/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/missing --run
aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL}
/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/missing --run tar'
AUTOCONF='${SHELL}
/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/missing --run
autoconf'
AUTOHEADER='${SHELL}
/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/missing --run
autoheader'
AUTOMAKE='${SHELL}
/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/missing --run
automake-1.7'
AWK='gawk'
CC='mpicc'
CCDEPMODE='depmode=gcc3'
CFLAGS=''
CLEANFILES='*~'
CPPFLAGS=''
CXX='mpic++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
F77='mpif77'
FFLAGS=''
FLIBS=''
HAVE_LAM_MPI=''
HAVE_MPICC='yes'
HAVE_MPICPP='yes'
HAVE_MPICXX=''
HAVE_MPIF77='yes'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LAMTEST_ALPHA_VERSION='0'
LAMTEST_BETA_VERSION='0'
LAMTEST_MAJOR_VERSION='7'
LAMTEST_MINOR_VERSION='0'
LAMTEST_RELEASE_VERSION='0'
LAMTEST_VERSION='7.0'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL}
/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/missing --run
makeinfo'
MODES=''
MPIRUN=''
OBJEXT='o'
PACKAGE='lamtests'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POST_MPIRUN=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
START_TEST=''
STRIP=''
VERSION='7.0'
WANT_CXX_BUILD_FALSE=''
WANT_CXX_BUILD_TRUE=''
WANT_F77_BUILD_FALSE=''
WANT_F77_BUILD_TRUE='#'
WANT_IO_BUILD_FALSE=''
WANT_IO_BUILD_TRUE=''
WANT_LAM_BUILD_FALSE=''
WANT_LAM_BUILD_TRUE=''
WANT_TRILLIUM_BUILD_FALSE=''
WANT_TRILLIUM_BUILD_TRUE=''
WANT_UNIMP_BUILD_FALSE=''
WANT_UNIMP_BUILD_TRUE=''
ac_ct_CC='mpicc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/cfd/FDS4.0/LAMMPI/File_lammpi/lamtests-7.0/config/install-
sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define LAMTEST_ALPHA_VERSION 0
#define LAMTEST_ARCH "i686-pc-linux-gnu"
#define LAMTEST_BETA_VERSION 0
#define LAMTEST_CVS_VERSION 0
#define LAMTEST_HAVE_MPI_F77 0
#define LAMTEST_MAJOR_VERSION 7
#define LAMTEST_MINOR_VERSION 0
#define LAMTEST_RELEASE_VERSION 0
#define LAMTEST_VERSION "7.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
#include <stdlib.h>

configure: exit 1
____________________________________________