[mpich-discuss] Configure error 77
BAKER, MYLES D. (LARC-E302)
myles.d.baker at nasa.gov
Tue Jul 10 09:06:04 CDT 2012
Dear all,
I am installing mpich2-1.4.1p1 locally on a cluster that I do not have root permissions. I am following along with the v1.4.1 installer's guide and the guidelines posted here:
http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-July/012752.html
After decompressing the file I try to configure the installation pointing to the installation directory (tcsh):
> cd $HOME/mpi/mpich2-1.4.1p1
> ./configure --prefix=$HOME/mpi/mpich2-1.4.1p1 --enable-shared
but the configuration fails with the following errors:
Configuring MPICH2 version 1.4.1p1 with '--prefix=/homedir/mdbaker2/mpi/mpich2-1.4.1p1' 'CC=/usr/local/bin/gcc' 'CFLAGS=-c -m64 -mcpu=power6 -DLINUX -D_LP64' 'CPP=/usr/local/bin/g++' 'F77=/SPG_ops/utils/ppc64/xlf/11.1/bin/f77' 'FFLAGS=-O2 -c -qextname -q64 -qwarn64'
Running on system: Linux tisa2-blue 2.6.16.60-0.42.9-ppc64 #1 SMP Thu Jan 28 23:39:37 UTC 2010 ppc64 ppc64 ppc64 GNU/Linux
checking for C compiler default output file name...
configure: error: in `/homedir/mdbaker2/mpi/mpich2-1.4.1p1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Most of my development will be done in Fortran so I need the F77 and F90 bindings, and my gcc, g++, and gfortran compilers are located in /usr/bin. However, I use the IBM XLF compiler so my F77 and F90 env variables point to another location, which the configuration executable seems to find just fine (the locations match up to my env file).
In the core tests I see that the error seems to come from my CFLAGS variable. Does this correct? Can anyone give me some direction? I have attached the full configuration file below.
Thanks,
Myles
Here is the full config.log file:
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.63. Invocation command line was
$ ./configure --prefix=/homedir/mdbaker2/mpi/mpich2-1.4.1p1
## --------- ##
## Platform. ##
## --------- ##
hostname = tisa2-blue
uname -m = ppc64
uname -r = 2.6.16.60-0.42.9-ppc64
uname -s = Linux
uname -v = #1 SMP Thu Jan 28 23:39:37 UTC 2010
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = ppc64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /SPG_ops/utils/univa/bin/lx-ppc64
PATH: /SPG_ops/utils/ppc64/FileZilla/FileZilla-3.1.0.1/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /usr/bin/X11
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin
PATH: /SPG_ops/utils/CERES/TOOLKIT/scf_toolkit5.2.16v1-gcc-xlf/TOOLKIT/bin/linux
PATH: /SPG_ops/utils/CERES/TOOLKIT/scf_toolkit5.2.16v1-gcc-xlf/TOOLKIT/hdf/linux64/HDF4.2r4/bin
PATH: /SPG_ops/utils/CERES/TOOLKIT/scf_toolkit5.2.16v1-gcc-xlf/TOOLKIT/zlib/linux64/zlib-1.2.3/zlib/bin
PATH: /SPG_ops/utils/CERES/TOOLKIT/scf_toolkit5.2.16v1-gcc-xlf/TOOLKIT/jpeg/linux64/jpeg-6b/bin
PATH: /SPG_ops/utils/CERES/TOOLKIT/scf_toolkit5.2.16v1-gcc-xlf/TOOLKIT/hdf5/linux64/hdf5-1.8.3/bin
PATH: /SPG_ops/utils/CERES/TOOLKIT/scf_toolkit5.2.16v1-gcc-xlf/TOOLKIT/szip/linux64/szip-2.1/szip/bin
PATH: /usr/local/bin
PATH: /etc
PATH: /usr/etc
PATH: /usr/X11/bin
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/local/R/bin/
PATH: /homedir/mdbaker2/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3182: checking for C compiler version
configure:3190: /usr/local/bin/gcc --version >&5
gcc (GCC) 4.2.2
Copyright (C) 2007 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:3194: $? = 0
configure:3201: /usr/local/bin/gcc -v >&5
Using built-in specs.
Target: powerpc64-linux
Configured with: ../configure --prefix=/SPG_ops/utils/ppc64 --build=powerpc64-linux --host=powerpc64-linux --target=powerpc64-linux --with-cpu=default64 --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-threads=posix --enable-shared --enable-__cxa_atexit --enable-checking --with-mpfr=/SPG_ops/utils/ppc64 --enable-languages=c,c++
Thread model: posix
gcc version 4.2.2
configure:3205: $? = 0
configure:3212: /usr/local/bin/gcc -V >&5
gcc: '-V' option must have argument
configure:3216: $? = 1
configure:3239: checking for C compiler default output file name
configure:3261: /usr/local/bin/gcc -c -m64 -mcpu=power6 -DLINUX -D_LP64 conftest.c >&5
configure:3265: $? = 0
configure:3303: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define USE_SMP_COLLECTIVES 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3309: error: in `/homedir/mdbaker2/mpi/mpich2-1.4.1p1':
configure:3312: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_AR_FLAGS_set=
ac_cv_env_AR_FLAGS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/local/bin/gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-c -m64 -mcpu=power6 -DLINUX -D_LP64'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=/usr/local/bin/g++
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_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=set
ac_cv_env_F77_value=/SPG_ops/utils/ppc64/xlf/11.1/bin/f77
ac_cv_env_FCFLAGS_set=
ac_cv_env_FCFLAGS_value=
ac_cv_env_FC_set=
ac_cv_env_FC_value=
ac_cv_env_FFLAGS_set=set
ac_cv_env_FFLAGS_value='-O2 -c -qextname -q64 -qwarn64'
ac_cv_env_FROM_MPICH2_set=
ac_cv_env_FROM_MPICH2_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MPICH2LIB_CFLAGS_set=
ac_cv_env_MPICH2LIB_CFLAGS_value=
ac_cv_env_MPICH2LIB_CPPFLAGS_set=
ac_cv_env_MPICH2LIB_CPPFLAGS_value=
ac_cv_env_MPICH2LIB_CXXFLAGS_set=
ac_cv_env_MPICH2LIB_CXXFLAGS_value=
ac_cv_env_MPICH2LIB_FCFLAGS_set=
ac_cv_env_MPICH2LIB_FCFLAGS_value=
ac_cv_env_MPICH2LIB_FFLAGS_set=
ac_cv_env_MPICH2LIB_FFLAGS_value=
ac_cv_env_MPICH2LIB_LDFLAGS_set=
ac_cv_env_MPICH2LIB_LDFLAGS_value=
ac_cv_env_MPICH2LIB_LIBS_set=
ac_cv_env_MPICH2LIB_LIBS_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=
pac_cv_my_conf_dir=/homedir/mdbaker2/mpi/mpich2-1.4.1p1
## ----------------- ##
## Output variables. ##
## ----------------- ##
ABIVERSION='3:3'
ADDRESS_KIND=''
ALLOCA=''
AR=''
AR_FLAGS=''
BASH_SHELL=''
BSEND_OVERHEAD=''
BUILD_BASH_SCRIPTS=''
BUILD_DLLS=''
BUILD_TVDLL=''
CC='/usr/local/bin/gcc'
CC_SHL=''
CC_SHL_DBG=''
CFLAGS='-c -m64 -mcpu=power6 -DLINUX -D_LP64 '
CMB_1INT_ALIGNMENT=''
CMB_STATUS_ALIGNMENT=''
CONFIGURE_ARGS_CLEAN='--prefix=/homedir/mdbaker2/mpi/mpich2-1.4.1p1'
CONFIGURE_ARGUMENTS=' '\''--prefix=/homedir/mdbaker2/mpi/mpich2-1.4.1p1'\'' '\''CC=/usr/local/bin/gcc'\'' '\''CFLAGS=-c -m64 -mcpu=power6 -DLINUX -D_LP64'\'' '\''CPP=/usr/local/bin/g++'\'' '\''F77=/SPG_ops/utils/ppc64/xlf/11.1/bin/f77'\'' '\''FFLAGS=-O2 -c -qextname -q64 -qwarn64'\'''
CPP='/usr/local/bin/g++'
CPPFLAGS=' '
CREATESHLIB=''
CXX=''
CXXCPP=''
CXXFLAGS=' '
CXX_DEFS=''
CXX_LINKPATH_SHL=''
CXX_SHL=''
C_LINKPATH_SHL=''
C_LINK_SHL=''
C_LINK_SHL_DBG=''
DBG_SHLIB_TYPE=''
DEFS=''
DEVICE=''
DEVICE_ARGS=''
DEVICE_NAME=''
DLLIMPORT=''
DOCTEXT=''
DOCTEXTSTYLE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_SHLIB=''
EXEEXT=''
EXTERNAL_SRC_DIRS=''
EXTRA_STATUS_DECL=''
F77='/SPG_ops/utils/ppc64/xlf/11.1/bin/f77'
F77CPP=''
F77_COMPLEX16=''
F77_COMPLEX32=''
F77_COMPLEX8=''
F77_INCDIR=''
F77_INTEGER16=''
F77_INTEGER1=''
F77_INTEGER2=''
F77_INTEGER4=''
F77_INTEGER8=''
F77_LIBDIR_LEADER=''
F77_LINKPATH_SHL=''
F77_NAME_MANGLE=''
F77_OTHER_LIBS=''
F77_REAL16=''
F77_REAL4=''
F77_REAL8=''
F77_SHL=''
FC=''
FCCPP=''
FCEXT=''
FCFLAGS=' '
FCINC=''
FCINCFLAG=''
FCMODEXT=''
FCMODINCFLAG=''
FCMODINCSPEC=''
FC_LINKPATH_SHL=''
FC_OTHER_LIBS=''
FC_SHL=''
FC_WORK_FILES_ARG=''
FFLAGS='-O2 -c -qextname -q64 -qwarn64 '
FGREP=''
FILE=''
FINCLUDES=''
FLIBS=''
FORTRAN_BINDING=''
FORTRAN_MPI_OFFSET=''
FROM_MPICH2='yes'
FWRAPNAME='fmpich'
GCC=''
GNUCXX_MINORVERSION=''
GNUCXX_VERSION=''
GREP=''
HAVE_CXX_EXCEPTIONS=''
HAVE_ROMIO=''
INCLUDE_MPICXX_H=''
INCLUDE_MPIDDEFS_H=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KILLALL=''
LDFLAGS=' '
LDFLAGS_DEPS=''
LIBOBJS=''
LIBS=' '
LIBTOOL=''
LIB_DEPS=''
LTLIBOBJS=''
MAKE=''
MAKE_DEPEND_C=''
MANY_PM=''
MKDIR_P=''
MPIBASEMODNAME=''
MPICC=''
MPICH2LIB_CFLAGS=''
MPICH2LIB_CPPFLAGS=''
MPICH2LIB_CXXFLAGS=''
MPICH2LIB_FCFLAGS=''
MPICH2LIB_FFLAGS=''
MPICH2LIB_LDFLAGS=''
MPICH2LIB_LIBS=''
MPICH2_NUMVERSION='10401301'
MPICH2_RELEASE_DATE='Thu Sep 1 13:53:02 CDT 2011'
MPICH2_VERSION='1.4.1p1'
MPICH_TIMER_KIND=''
MPICONSTMODNAME=''
MPICXX=''
MPICXXLIBNAME=''
MPID_TIMER_TYPE=''
MPIF77=''
MPIFC=''
MPIFLIBNAME=''
MPIFPMPI=''
MPILIBNAME=''
MPIMODNAME=''
MPIR_CXX_BOOL=''
MPIR_CXX_COMPLEX=''
MPIR_CXX_DOUBLE_COMPLEX=''
MPIR_CXX_LONG_DOUBLE_COMPLEX=''
MPISIZEOFMODNAME=''
MPIU_DLL_SPEC_DEF=''
MPIU_THREAD_LIB_NAME=''
MPI_2COMPLEX=''
MPI_2DOUBLE_COMPLEX=''
MPI_2DOUBLE_PRECISION=''
MPI_2INT=''
MPI_2INTEGER=''
MPI_2REAL=''
MPI_AINT=''
MPI_AINT_DATATYPE=''
MPI_AINT_FMT_DEC_SPEC=''
MPI_AINT_FMT_HEX_SPEC=''
MPI_BYTE=''
MPI_CHAR=''
MPI_CHARACTER=''
MPI_COMPLEX16=''
MPI_COMPLEX32=''
MPI_COMPLEX8=''
MPI_COMPLEX=''
MPI_C_BOOL=''
MPI_C_DOUBLE_COMPLEX=''
MPI_C_FLOAT_COMPLEX=''
MPI_C_LONG_DOUBLE_COMPLEX=''
MPI_DOUBLE=''
MPI_DOUBLE_COMPLEX=''
MPI_DOUBLE_INT=''
MPI_DOUBLE_PRECISION=''
MPI_F77_2INT=''
MPI_F77_AINT=''
MPI_F77_BYTE=''
MPI_F77_CHAR=''
MPI_F77_C_BOOL=''
MPI_F77_C_COMPLEX=''
MPI_F77_C_DOUBLE_COMPLEX=''
MPI_F77_C_FLOAT_COMPLEX=''
MPI_F77_C_LONG_DOUBLE_COMPLEX=''
MPI_F77_DOUBLE=''
MPI_F77_DOUBLE_INT=''
MPI_F77_FLOAT=''
MPI_F77_FLOAT_INT=''
MPI_F77_INT16_T=''
MPI_F77_INT32_T=''
MPI_F77_INT64_T=''
MPI_F77_INT8_T=''
MPI_F77_INT=''
MPI_F77_LB=''
MPI_F77_LONG=''
MPI_F77_LONG_DOUBLE=''
MPI_F77_LONG_DOUBLE_INT=''
MPI_F77_LONG_INT=''
MPI_F77_LONG_LONG=''
MPI_F77_LONG_LONG_INT=''
MPI_F77_OFFSET=''
MPI_F77_PACKED=''
MPI_F77_SHORT=''
MPI_F77_SHORT_INT=''
MPI_F77_SIGNED_CHAR=''
MPI_F77_UB=''
MPI_F77_UINT16_T=''
MPI_F77_UINT32_T=''
MPI_F77_UINT64_T=''
MPI_F77_UINT8_T=''
MPI_F77_UNSIGNED=''
MPI_F77_UNSIGNED_CHAR=''
MPI_F77_UNSIGNED_LONG=''
MPI_F77_UNSIGNED_LONG_LONG=''
MPI_F77_UNSIGNED_SHORT=''
MPI_F77_WCHAR=''
MPI_FINT=''
MPI_FLOAT=''
MPI_FLOAT_INT=''
MPI_INT16_T=''
MPI_INT32_T=''
MPI_INT64_T=''
MPI_INT8_T=''
MPI_INT=''
MPI_INTEGER16=''
MPI_INTEGER1=''
MPI_INTEGER2=''
MPI_INTEGER4=''
MPI_INTEGER8=''
MPI_INTEGER=''
MPI_LB=''
MPI_LOGICAL=''
MPI_LONG=''
MPI_LONG_DOUBLE=''
MPI_LONG_DOUBLE_INT=''
MPI_LONG_INT=''
MPI_LONG_LONG=''
MPI_MAX_PROCESSOR_NAME=''
MPI_OFFSET=''
MPI_OFFSET_DATATYPE=''
MPI_OFFSET_TYPEDEF=''
MPI_PACKED=''
MPI_REAL16=''
MPI_REAL4=''
MPI_REAL8=''
MPI_REAL=''
MPI_SHORT=''
MPI_SHORT_INT=''
MPI_SIGNED_CHAR=''
MPI_STATUS_SIZE=''
MPI_UB=''
MPI_UINT16_T=''
MPI_UINT32_T=''
MPI_UINT64_T=''
MPI_UINT8_T=''
MPI_UNSIGNED_CHAR=''
MPI_UNSIGNED_INT=''
MPI_UNSIGNED_LONG=''
MPI_UNSIGNED_LONG_LONG=''
MPI_UNSIGNED_SHORT=''
MPI_WCHAR=''
NEEDSPLIB=''
NO_WEAK_SYM=''
NO_WEAK_SYM_TARGET=''
OBJEXT=''
OFFSET_KIND=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PMPIFLIBNAME=''
PMPILIBNAME=''
PROFILE_DEF_MPI=''
RANLIB=''
RANLIB_AFTER_INSTALL=''
REQD=''
REQI1=''
REQI2=''
REQI8=''
SET_CFLAGS=''
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_EXT=''
SHLIB_FROM_LO=''
SHLIB_INSTALL=''
SIZEOF_FC_CHARACTER=''
SIZEOF_FC_DOUBLE_PRECISION=''
SIZEOF_FC_INTEGER=''
SIZEOF_FC_REAL=''
SIZEOF_MPI_STATUS=''
USER_CFLAGS='-c -m64 -mcpu=power6 -DLINUX -D_LP64'
USER_CPPFLAGS=''
USER_CXXFLAGS=''
USER_FCFLAGS=''
USER_FFLAGS='-O2 -c -qextname -q64 -qwarn64'
USER_LDFLAGS=''
USER_LIBS=''
VPATH=''
WRAPPER_CFLAGS='-c -m64 -mcpu=power6 -DLINUX -D_LP64 '
WRAPPER_CPPFLAGS=' '
WRAPPER_CXXFLAGS=' '
WRAPPER_FCFLAGS=' '
WRAPPER_FFLAGS='-O2 -c -qextname -q64 -qwarn64 '
WRAPPER_LDFLAGS=''
WRAPPER_LIBS=''
WTIME_DOUBLE_TYPE=''
XARGS_NODATA_OPT=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_FC=''
bindings=''
bindings_dirs=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debugger_dir=''
device_name=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
logging_dir=''
logging_name=''
logging_subdirs=''
mandir='${datarootdir}/man'
master_top_builddir=''
master_top_srcdir=''
modincdir=''
mpe_dir=''
nameserv_name=''
oldincludedir='/usr/include'
opadir=''
other_install_dirs=''
other_pm_names=''
pac_prog=''
pdfdir='${docdir}'
pm_name=''
pmi_name=''
prefix='/homedir/mdbaker2/mpi/mpich2-1.4.1p1'
program_transform_name='s,x,x,'
psdir='${docdir}'
romio_dir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
subsystems=''
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define USE_SMP_COLLECTIVES 1
configure: exit 77
BAKER, MYLES D. (LARC-E302)
-----------------------------------------------------
Mail Stop 420, B1250 R177
myles.d.baker at nasa.gov<mailto:myles.d.baker at nasa.gov>
LaRC Ext: x46393
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120710/5d7dc629/attachment-0001.html>
More information about the mpich-discuss
mailing list