Toolchain build for cp2k trunk: elpa-2015.11.001 compilation fails
Feng Lai
laifeng... at gmail.com
Thu Jul 14 06:58:52 UTC 2016
hello,
I used the script in toolchain folder to construct the arch file, and
everything is fine before the process reached the elpa compilation, The
procedure ended with a error
note(ERROR:(/usr/local/cp2k/tools/toochain/script/install_elpa.sh, line 68)
Non-zero exit code detected.) printed on the screen. When i peruse the log
file,i found that it looked like that something was wrong with the gcc
complier that the gcc cannot recognized the options: -V and -qversion. The
attached file is the config.log, and my order on command line is
./install_cp2k_toochain.sh --with-openmpi=install --with-elpa=install My
corporate system is CentOS 7.The cp2k source code that i want to compiled
was downloaded from svn. I don't know whether or not it is suitable to use
the cp2k to do some simulation in the CentOS corporate system , but it is
too hard for me to find the right way the compile a efficient cp2k in this
system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160713/db3fde7d/attachment.htm>
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by elpa configure 2015.11.001, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/cp2k/tools/toolchain/install/elpa-2015.11.001 --libdir=/usr/local/cp2k/tools/toolchain/install/elpa-2015.11.001/lib --enable-openmp=no --enable-shared=yes --enable-static=yes FC=mpif90 CC=mpicc CXX=mpic++ FCFLAGS=-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include' -ffree-line-length-none CFLAGS=-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include' CXXFLAGS=-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include' LDFLAGS=-Wl,--enable-new-dtags -L'/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib' -Wl,-rpath='/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib' -L'/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib' -Wl,-rpath='/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib' LIBS=-lscalapack IF_OMP(-lopenblas_omp|-lopenblas)
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost.localdomain
uname -m = x86_64
uname -r = 3.10.0-327.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Nov 19 22:10:57 UTC 2015
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/cp2k/tools/toolchain/install/libxsmm-1.4.3/bin
PATH: /usr/local/cp2k/tools/toolchain/install/openmpi-1.10.2/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /bin
PATH: /sbin
PATH: /home/lai/.local/bin
PATH: /home/lai/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2531: checking for a BSD-compatible install
configure:2599: result: /usr/bin/install -c
configure:2610: checking whether build environment is sane
configure:2665: result: yes
configure:2816: checking for a thread-safe mkdir -p
configure:2855: result: /usr/bin/mkdir -p
configure:2862: checking for gawk
configure:2878: found /usr/bin/gawk
configure:2889: result: gawk
configure:2900: checking whether make sets $(MAKE)
configure:2922: result: yes
configure:2951: checking whether make supports nested variables
configure:2968: result: yes
configure:3102: checking whether to enable maintainer-specific portions of Makefiles
configure:3111: result: no
configure:3139: checking whether make supports nested variables
configure:3156: result: yes
configure:3188: checking for GNU make
configure:3203: result: make
configure:3220: checking for cpp
configure:3236: found /usr/bin/cpp
configure:3248: result: yes
configure:3264: checking for GNU make
configure:3273: result: make
configure:3327: checking whether --enable-openmp is specified
configure:3336: result: no
configure:3450: checking for style of include used by make
configure:3478: result: GNU
configure:3503: checking whether to compile using MPI
configure:3510: result: yes
configure:3663: checking for gcc
configure:3690: result: mpicc
configure:3919: checking for C compiler version
configure:3928: mpicc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
Copyright (C) 2015 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:3939: $? = 0
configure:3928: mpicc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
configure:3939: $? = 0
configure:3928: mpicc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3939: $? = 4
configure:3928: mpicc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3939: $? = 4
configure:3959: checking whether the C compiler works
configure:3981: mpicc -O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include' -Wl,--enable-new-dtags -L'/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib' -Wl,-rpath='/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib' -L'/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib' -Wl,-rpath='/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib' conftest.c -lscalapack IF_OMP(-lopenblas_omp|-lopenblas) >&5
gcc: error: IF_OMP(-lopenblas_omp|-lopenblas): No such file or directory
configure:3985: $? = 1
configure:4023: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "elpa"
| #define PACKAGE_TARNAME "elpa"
| #define PACKAGE_VERSION "2015.11.001"
| #define PACKAGE_STRING "elpa 2015.11.001"
| #define PACKAGE_BUGREPORT "elpa-l... at rzg.mpg.de"
| #define PACKAGE_URL ""
| #define PACKAGE "elpa"
| #define VERSION "2015.11.001"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4028: error: in `/usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001':
configure:4030: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_cv_gnu_make_command=make
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=mpicc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include'\'' '
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include'\'' '
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=mpic++
ac_cv_env_FCFLAGS_set=set
ac_cv_env_FCFLAGS_value='-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include'\'' -ffree-line-length-none'
ac_cv_env_FC_set=set
ac_cv_env_FC_value=mpif90
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,--enable-new-dtags -L'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib'\'' -Wl,-rpath='\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib'\'' -L'\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'' -Wl,-rpath='\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'' '
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-lscalapack IF_OMP(-lopenblas_omp|-lopenblas)'
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_SCALAPACK_FCFLAGS_set=
ac_cv_env_SCALAPACK_FCFLAGS_value=
ac_cv_env_SCALAPACK_LDFLAGS_set=set
ac_cv_env_SCALAPACK_LDFLAGS_value='-L'\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'' -Wl,-rpath='\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'''
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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP_FOUND=yes
ac_cv_prog_ac_ct_CC=mpicc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
'
ACLOCAL='${SHELL} /usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001/missing autoconf'
AUTOHEADER='${SHELL} /usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001/missing autoheader'
AUTOMAKE='${SHELL} /usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001/missing automake-1.15'
AWK='gawk'
CC='mpicc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include'\'' '
CLEANFILES +=
CPP=''
CPPFLAGS=''
CPP_FOUND='yes'
CXX='mpic++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include'\'' '
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ELPA_SO_VERSION='3:2:0'
EXEEXT=''
FC='mpif90'
FCFLAGS='-O2 -ftree-vectorize -g -fno-omit-frame-pointer -march=native -ffast-math -I'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/include'\'' -ffree-line-length-none'
FCLIBS=''
FC_MODINC=''
FC_MODOUT=''
FGREP=''
FORTRAN_MODULE_DEPS='
GREP=''
HAVE_DETAILED_TIMINGS_FALSE=''
HAVE_DETAILED_TIMINGS_TRUE=''
HAVE_REDIRECT_FALSE=''
HAVE_REDIRECT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-Wl,--enable-new-dtags -L'\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib'\'' -Wl,-rpath='\''/usr/local/cp2k/tools/toolchain/install/openblas-0.2.18/lib'\'' -L'\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'' -Wl,-rpath='\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'' '
LIBOBJS=''
LIBS='-lscalapack IF_OMP(-lopenblas_omp|-lopenblas)'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPENMP_CFLAGS=''
OPENMP_CXXFLAGS=''
OPENMP_FCFLAGS=''
OPENMP_LDFLAGS=''
OTOOL64=''
OTOOL=''
PACKAGE='elpa'
PACKAGE_BUGREPORT='elpa-l... at rzg.mpg.de'
PACKAGE_NAME='elpa'
PACKAGE_STRING='elpa 2015.11.001'
PACKAGE_TARNAME='elpa'
PACKAGE_URL=''
PACKAGE_VERSION='2015.11.001'
PATH_SEPARATOR=':'
PKG_CONFIG_FILE=''
RANLIB=''
SCALAPACK_FCFLAGS=''
SCALAPACK_LDFLAGS='-L'\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'' -Wl,-rpath='\''/usr/local/cp2k/tools/toolchain/install/scalapack-2.0.2/lib'\'''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SUFFIX=''
VERSION='2015.11.001'
WITH_BLACS=''
WITH_COMPLEX_AVX_BLOCK1_KERNEL_FALSE=''
WITH_COMPLEX_AVX_BLOCK1_KERNEL_TRUE=''
WITH_COMPLEX_AVX_BLOCK2_KERNEL_FALSE=''
WITH_COMPLEX_AVX_BLOCK2_KERNEL_TRUE=''
WITH_COMPLEX_GENERIC_KERNEL_FALSE=''
WITH_COMPLEX_GENERIC_KERNEL_TRUE=''
WITH_COMPLEX_GENERIC_SIMPLE_KERNEL_FALSE=''
WITH_COMPLEX_GENERIC_SIMPLE_KERNEL_TRUE=''
WITH_COMPLEX_SSE_KERNEL_FALSE=''
WITH_COMPLEX_SSE_KERNEL_TRUE=''
WITH_MKL=''
WITH_OPENMP_FALSE=''
WITH_OPENMP_TRUE='#'
WITH_REAL_AVX_BLOCK2_KERNEL_FALSE=''
WITH_REAL_AVX_BLOCK2_KERNEL_TRUE=''
WITH_REAL_AVX_BLOCK4_KERNEL_FALSE=''
WITH_REAL_AVX_BLOCK4_KERNEL_TRUE=''
WITH_REAL_AVX_BLOCK6_KERNEL_FALSE=''
WITH_REAL_AVX_BLOCK6_KERNEL_TRUE=''
WITH_REAL_BGP_KERNEL_FALSE=''
WITH_REAL_BGP_KERNEL_TRUE=''
WITH_REAL_BGQ_KERNEL_FALSE=''
WITH_REAL_BGQ_KERNEL_TRUE=''
WITH_REAL_GENERIC_KERNEL_FALSE=''
WITH_REAL_GENERIC_KERNEL_TRUE=''
WITH_REAL_GENERIC_SIMPLE_KERNEL_FALSE=''
WITH_REAL_GENERIC_SIMPLE_KERNEL_TRUE=''
WITH_REAL_SSE_KERNEL_FALSE=''
WITH_REAL_SSE_KERNEL_TRUE=''
ac_ct_AR=''
ac_ct_CC='mpicc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
ac_ct_FC=''
ac_empty=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
ifGNUmake=''
include ./fdep/fortran_dependencies.mk
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/local/cp2k/tools/toolchain/build/elpa-2015.11.001/install-sh'
libdir='/usr/local/cp2k/tools/toolchain/install/elpa-2015.11.001/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/cp2k/tools/toolchain/install/elpa-2015.11.001'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
with_amd_bulldozer_kernel=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "elpa"
#define PACKAGE_TARNAME "elpa"
#define PACKAGE_VERSION "2015.11.001"
#define PACKAGE_STRING "elpa 2015.11.001"
#define PACKAGE_BUGREPORT "elpa-l... at rzg.mpg.de"
#define PACKAGE_URL ""
#define PACKAGE "elpa"
#define VERSION "2015.11.001"
configure: exit 77
More information about the CP2K-user
mailing list