4.2.1 can't compile on seemingly any system (linux)

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? This is the place to look.

Moderators: Daniele Varsano, andrea.ferretti, andrea marini, Conor Hogan, myrta gruning

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message

4.2.1 can't compile on seemingly any system (linux)

Postby andrew.downs » Fri Dec 22, 2017 6:24 pm

Hello,

I have a Cray XC40 and a regular lenovo laptop. The XC40 is running older versions of gcc/icc/cray but my laptop has a very recent version of gcc (6.4.0, as well as gfortran) and configuring is a pretty big hurdle, for some reason on both systems it struggles to find gfortran so I help it with:

export FC=gfortran
export F77=gfortran
export F90=gfortran

For now, I've given up on the XC40 and want to see if I can get it to build on a machine I have full control of. I'm trying to use the internal fftqe and fftsg, assuming they'll be easier to work with than trying to link against any external library. It seems the internal fft libs are harder to work with and error out on both machines:

config.status: error: cannot find input file: 'lib/fftqe/fftqe_defs.h.in'

Are the internal libraries broken?


The same machine just built Quantum Espresso 6.2.1 with no problems, so I assume my local fortran environment is sound.
Andrew Downs
Customer Support
andrew.downs
 
Posts: 7
Joined: Fri Dec 22, 2017 4:04 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby Daniele Varsano » Fri Dec 22, 2017 6:29 pm

Dear andrew.downs,
can you please post your config.log file?
and please sign your posts with your name and affiliation (you can do once for all by adding a signature in your forum profile).

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1950
Joined: Tue Mar 17, 2009 2:23 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby andrew.downs » Wed Dec 27, 2017 5:15 pm

Hello,

Let's focus on my laptop first (this will be far easier and safer)

Here's my Lenovo's config.log::


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Yambo configure 4.2.1 r.14778 h.7b4dc3c, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --enable-internal-fftsg --enable-internal-fftqe

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

hostname = lenovo
uname -m = x86_64
uname -r = 4.9.61
uname -s = Linux
uname -v = #1 SMP Tue Dec 19 14:40:55 EST 2017

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

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

PATH: /sbin
PATH: /usr/sbin
PATH: /opt/sbin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/local/bin


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

configure:2943: checking for vim
configure:2959: found /usr/bin/vim
configure:2970: result: vim
configure:3036: checking for gcc
configure:3052: found /usr/bin/gcc
configure:3063: result: gcc
configure:3292: checking for C compiler version
configure:3301: gcc --version >&5
gcc (CRUX-x86_64-multilib) 6.4.0
Copyright (C) 2017 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:3312: $? = 0
configure:3301: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-6.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no --with-system-zlib --enable-multilib --with-pkgversion=CRUX-x86_64-multilib
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
configure:3312: $? = 0
configure:3301: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3312: $? = 1
configure:3301: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3312: $? = 1
configure:3332: checking whether the C compiler works
configure:3354: gcc conftest.c >&5
configure:3358: $? = 0
configure:3406: result: yes
configure:3409: checking for C compiler default output file name
configure:3411: result: a.out
configure:3417: checking for suffix of executables
configure:3424: gcc -o conftest conftest.c >&5
configure:3428: $? = 0
configure:3450: result:
configure:3472: checking whether we are cross compiling
configure:3480: gcc -o conftest conftest.c >&5
configure:3484: $? = 0
configure:3491: ./conftest
configure:3495: $? = 0
configure:3510: result: no
configure:3515: checking for suffix of object files
configure:3537: gcc -c conftest.c >&5
configure:3541: $? = 0
configure:3562: result: o
configure:3566: checking whether we are using the GNU C compiler
configure:3585: gcc -c conftest.c >&5
configure:3585: $? = 0
configure:3594: result: yes
configure:3603: checking whether gcc accepts -g
configure:3623: gcc -c -g conftest.c >&5
configure:3623: $? = 0
configure:3664: result: yes
configure:3681: checking for gcc option to accept ISO C89
configure:3744: gcc -c -g -O2 conftest.c >&5
configure:3744: $? = 0
configure:3757: result: none needed
configure:3783: checking how to run the C preprocessor
configure:3814: gcc -E conftest.c
configure:3814: $? = 0
configure:3828: gcc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:3828: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Yambo"
| #define PACKAGE_TARNAME "yambo"
| #define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_BUGREPORT "yambo@yambo-code.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3853: result: gcc -E
configure:3873: gcc -E conftest.c
configure:3873: $? = 0
configure:3887: gcc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:3887: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Yambo"
| #define PACKAGE_TARNAME "yambo"
| #define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_BUGREPORT "yambo@yambo-code.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3916: checking for grep that handles long lines and -e
configure:3974: result: /usr/bin/grep
configure:3979: checking for egrep
configure:4041: result: /usr/bin/grep -E
configure:4046: checking for ANSI C header files
configure:4066: gcc -c -g -O2 conftest.c >&5
configure:4066: $? = 0
configure:4139: gcc -o conftest -g -O2 conftest.c >&5
configure:4139: $? = 0
configure:4139: ./conftest
configure:4139: $? = 0
configure:4150: result: yes
configure:4163: checking for sys/types.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for sys/stat.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for stdlib.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for string.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for memory.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for strings.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for inttypes.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for stdint.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4163: checking for unistd.h
configure:4163: gcc -c -g -O2 conftest.c >&5
configure:4163: $? = 0
configure:4163: result: yes
configure:4175: checking malloc.h usability
configure:4175: gcc -c -g -O2 conftest.c >&5
configure:4175: $? = 0
configure:4175: result: yes
configure:4175: checking malloc.h presence
configure:4175: gcc -E conftest.c
configure:4175: $? = 0
configure:4175: result: yes
configure:4175: checking for malloc.h
configure:4175: result: yes
configure:4185: checking for struct mallinfo.arena
configure:4185: gcc -c -g -O2 conftest.c >&5
configure:4185: $? = 0
configure:4185: result: yes
configure:4480: checking for malloc.h
configure:4480: result: yes
configure:4480: checking for stdlib.h
configure:4480: result: yes
configure:4480: checking for unistd.h
configure:4480: result: yes
configure:4480: checking for string.h
configure:4480: result: yes
configure:4480: checking sys/time.h usability
configure:4480: gcc -c -g -O2 conftest.c >&5
configure:4480: $? = 0
configure:4480: result: yes
configure:4480: checking sys/time.h presence
configure:4480: gcc -E conftest.c
configure:4480: $? = 0
configure:4480: result: yes
configure:4480: checking for sys/time.h
configure:4480: result: yes
configure:4490: checking for size_t
configure:4490: gcc -c -g -O2 conftest.c >&5
configure:4490: $? = 0
configure:4490: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:4490: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Yambo"
| #define PACKAGE_TARNAME "yambo"
| #define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_BUGREPORT "yambo@yambo-code.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4490: result: yes
configure:4503: checking for working alloca.h
configure:4520: gcc -o conftest -g -O2 conftest.c >&5
configure:4520: $? = 0
configure:4528: result: yes
configure:4536: checking for alloca
configure:4573: gcc -o conftest -g -O2 conftest.c >&5
configure:4573: $? = 0
configure:4581: result: yes
configure:4687: checking for an ANSI C-conforming const
configure:4753: gcc -c -g -O2 conftest.c >&5
configure:4753: $? = 0
configure:4760: result: yes
configure:4768: checking for inline
configure:4784: gcc -c -g -O2 conftest.c >&5
configure:4784: $? = 0
configure:4792: result: inline
configure:4812: checking for stdlib.h
configure:4812: result: yes
configure:4822: checking for GNU libc compatible malloc
configure:4846: gcc -o conftest -g -O2 conftest.c >&5
configure:4846: $? = 0
configure:4846: ./conftest
configure:4846: $? = 0
configure:4856: result: yes
configure:4879: checking for stdlib.h
configure:4879: result: yes
configure:4889: checking for GNU libc compatible realloc
configure:4913: gcc -o conftest -g -O2 conftest.c >&5
configure:4913: $? = 0
configure:4913: ./conftest
configure:4913: $? = 0
configure:4923: result: yes
configure:4951: checking whether lstat correctly handles trailing slash
configure:4977: gcc -o conftest -g -O2 conftest.c >&5
configure:4977: $? = 0
configure:4977: ./conftest
configure:4977: $? = 0
configure:4994: result: yes
configure:5013: checking whether stat accepts an empty string
configure:5033: gcc -o conftest -g -O2 conftest.c >&5
configure:5033: $? = 0
configure:5033: ./conftest
configure:5033: $? = 0
configure:5043: result: no
configure:5059: checking whether make sets $(MAKE)
configure:5081: result: yes
configure:5093: checking for the size of a pointer
configure:5105: gcc -g -O2 -o pointertest.x pointertest.c 1>&5
configure:5108: $? = 0
configure:5124: result: 8 bytes
configure:5181: checking for gcc
configure:5208: result: gcc
configure:5437: checking for C compiler version
configure:5446: gcc --version >&5
gcc (CRUX-x86_64-multilib) 6.4.0
Copyright (C) 2017 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:5457: $? = 0
configure:5446: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-6.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no --with-system-zlib --enable-multilib --with-pkgversion=CRUX-x86_64-multilib
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
configure:5457: $? = 0
configure:5446: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5457: $? = 1
configure:5446: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:5457: $? = 1
configure:5461: checking whether we are using the GNU C compiler
configure:5489: result: yes
configure:5498: checking whether gcc accepts -g
configure:5559: result: yes
configure:5576: checking for gcc option to accept ISO C89
configure:5652: result: none needed
configure:5677: checking build system type
configure:5691: result: x86_64-unknown-linux-gnu
configure:5711: checking host system type
configure:5724: result: x86_64-unknown-linux-gnu
configure:5749: checking for GNU make
configure:5764: result: make
configure:5834: checking for ar
configure:5850: found /usr/bin/ar
configure:5861: result: ar
configure:6019: checking for Fortran compiler version
configure:6028: gfortran --version >&5
GNU Fortran (CRUX-x86_64-multilib) 6.4.0
Copyright (C) 2017 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:6039: $? = 0
configure:6028: gfortran -v >&5
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-6.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=fortran --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no --with-system-zlib --enable-multilib --disable-sjlj-exceptions --with-pkgversion=CRUX-x86_64-multilib
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
configure:6039: $? = 0
configure:6028: gfortran -V >&5
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.
configure:6039: $? = 1
configure:6028: gfortran -qversion >&5
gfortran: error: unrecognized command line option '-qversion'; did you mean '--version'?
gfortran: fatal error: no input files
compilation terminated.
configure:6039: $? = 1
configure:6048: checking whether we are using the GNU Fortran compiler
configure:6061: gfortran -c conftest.F >&5
configure:6061: $? = 0
configure:6070: result: yes
configure:6076: checking whether gfortran accepts -g
configure:6087: gfortran -c -g conftest.f >&5
configure:6087: $? = 0
configure:6095: result: yes
configure:6131: checking if the current OS is supported
configure:6180: result: yes
configure:6183: WIDESETUP: using build_os="linux"
configure:6185: WIDESETUP: using F90SUFFIX=".f90"
configure:6187: WIDESETUP: using AR="ar"
configure:6189: WIDESETUP: using AR_FLAGS="-ru"
configure:6218: checking for Fortran flag to compile .f90 files
configure:6238: gfortran -c -g -O2 conftest.f90 >&5
configure:6238: $? = 0
configure:6247: result: none
configure:6380: checking for gfortran kind and version
configure:6382: result: gfortran unknown
configure:6704: checking for specific gfortran flags
configure:6708: result: -g -O3 -mtune=native
configure:6714: checking for specific Open-MP flags
configure:6716: result: -fopenmp
configure:6719: checking for specific gcc flags
configure:6721: result: -g -O2
configure:6724: checking for specific unoptimized flags
configure:6728: result: -g -O0 -mtune=native
configure:6739: checking for specific NETCDF flags
configure:6741: result: -DgFortran
configure:6784: checking how to get verbose linking output from gfortran
configure:6794: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
configure:6794: $? = 0
configure:6812: gfortran -o conftest -g -O3 -mtune=native -v conftest.f90
Using built-in specs.
Target: x86_64-pc-linux-gnu
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/f951 conftest.f90 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=ivybridge -quiet -dumpbase conftest.f90 -march=x86-64 -auxbase conftest -g -O3 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/finclude -o /tmp/ccRs3AbQ.s
GNU Fortran (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -v --64 -o /tmp/cc3XOIGB.o /tmp/ccRs3AbQ.s
GNU assembler version 2.27 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.27
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/libgfortran.spec
rename spec lib to liborig
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cca7Srcn.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-linux-x86-64.so.2 -o conftest /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. /tmp/cc3XOIGB.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crtn.o
configure:6895: result: -v
configure:6897: checking for Fortran libraries of gfortran
configure:6920: gfortran -o conftest -g -O3 -mtune=native -v conftest.f90
Using built-in specs.
Target: x86_64-pc-linux-gnu
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/f951 conftest.f90 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=ivybridge -quiet -dumpbase conftest.f90 -march=x86-64 -auxbase conftest -g -O3 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/finclude -o /tmp/cc7MsPCS.s
GNU Fortran (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -v --64 -o /tmp/ccQB8VeE.o /tmp/cc7MsPCS.s
GNU assembler version 2.27 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.27
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/libgfortran.spec
rename spec lib to liborig
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccL2QERp.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-linux-x86-64.so.2 -o conftest /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. /tmp/ccQB8VeE.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crtn.o
configure:7116: result: -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath
configure:7132: checking for dummy main to link with Fortran libraries
configure:7166: gcc -o conftest -g -O2 conftest.c -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
configure:7166: $? = 0
configure:7211: result: none
configure:7244: checking for Fortran name-mangling scheme
configure:7257: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
configure:7257: $? = 0
configure:7298: gcc -o conftest -g -O2 conftest.c cfortran_test.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/tmp/ccdP8RBN.o: In function `main':
/aux/yambo-4.2.1/conftest.c:52: undefined reference to `foobar'
collect2: error: ld returned 1 exit status
configure:7298: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Yambo"
| #define PACKAGE_TARNAME "yambo"
| #define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_BUGREPORT "yambo@yambo-code.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define POINTER_SIZE 8
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char foobar ();
| #ifdef FC_DUMMY_MAIN
| #ifndef FC_DUMMY_MAIN_EQ_F77
| # ifdef __cplusplus
| extern "C"
| # endif
| int FC_DUMMY_MAIN() { return 1; }
| #endif
| #endif
| int
| main ()
| {
| return foobar ();
| ;
| return 0;
| }
configure:7298: gcc -o conftest -g -O2 conftest.c cfortran_test.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
configure:7298: $? = 0
configure:7356: gcc -o conftest -g -O2 conftest.c cfortran_test.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
configure:7356: $? = 0
configure:7398: result: lower case, underscore, no extra underscore
configure:7422: gcc -c -g -O2 conftest.c >&5
configure:7422: $? = 0
configure:7437: gfortran -o conftest -g -O3 -mtune=native conftest.f90 ftest.o >&5
configure:7437: $? = 0
configure:7490: checking for external C routine (test) naming scheme
configure:7492: result: test_
configure:7601: checking for Fortran flag needed to accept free-form source
configure:7620: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
configure:7620: $? = 0
configure:7629: result: none
configure:7655: checking fortran 90 modules inclusion flag
configure:7682: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
configure:7682: $? = 0
configure:7701: gfortran -c -g -O3 -mtune=native -Itmpdir_0 conftest.f90 >&5
configure:7701: $? = 0
configure:7720: result: -I
configure:7775: testing C-preprocessor gcc -E -P
configure:7793: checking if C precompiler works on C source
configure:7806: gcc -E -P conftest.c
configure:7806: $? = 0
configure:7812: result: yes
configure:7861: testing FC-preprocessor gfortran -E -P -cpp
configure:7871: checking if FC precompiler works on FC source
configure:7899: result: yes
configure:8026: checking for Fortran 77 compiler version
configure:8035: gfortran --version >&5
GNU Fortran (CRUX-x86_64-multilib) 6.4.0
Copyright (C) 2017 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:8046: $? = 0
configure:8035: gfortran -v >&5
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-6.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=fortran --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no --with-system-zlib --enable-multilib --disable-sjlj-exceptions --with-pkgversion=CRUX-x86_64-multilib
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
configure:8046: $? = 0
configure:8035: gfortran -V >&5
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.
configure:8046: $? = 1
configure:8035: gfortran -qversion >&5
gfortran: error: unrecognized command line option '-qversion'; did you mean '--version'?
gfortran: fatal error: no input files
compilation terminated.
configure:8046: $? = 1
configure:8055: checking whether we are using the GNU Fortran 77 compiler
configure:8068: gfortran -c -g -O3 -mtune=native conftest.F >&5
configure:8068: $? = 0
configure:8077: result: yes
configure:8083: checking whether gfortran accepts -g
configure:8094: gfortran -c -g conftest.f >&5
configure:8094: $? = 0
configure:8102: result: yes
configure:8130: checking if Fortran 77 compiler gfortran works
configure:8138: gfortran -c -g -O3 -mtune=native conftest.f >&5
configure:8138: $? = 0
configure:8139: result: yes
configure:8215: checking for mpiifort
configure:8245: result: no
configure:8215: checking for mpifort
configure:8245: result: no
configure:8215: checking for mpif90
configure:8245: result: no
configure:8215: checking for mpxlf90
configure:8245: result: no
configure:8215: checking for mpxlf
configure:8245: result: no
configure:8215: checking for mpf90
configure:8245: result: no
configure:8215: checking for mpxlf95
configure:8245: result: no
configure:8215: checking for mpxlf_r
configure:8245: result: no
configure:8285: checking for a working mpif.h
configure:8299: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
conftest.f90:3: Error: Can't open included file 'mpif.h'
configure:8299: $? = 1
configure: failed program was:
| program main
|
| include 'mpif.h'
| integer :: ierr
| call MPI_Init(ierr)
| end
configure:8303: result: no
configure:8310: checking for a working mpi.h
configure:8324: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
conftest.f90:3: Error: Can't open included file 'mpi.h'
configure:8324: $? = 1
configure: failed program was:
| program main
|
| include 'mpi.h'
| integer :: ierr
| call MPI_Init(ierr)
| end
configure:8328: result: no
configure:8334: checking for a working mpi module
configure:8348: gfortran -c -g -O3 -mtune=native conftest.f90 >&5
conftest.f90:3:6:

use mpi
1
Fatal Error: Can't open module file 'mpi.mod' for reading at (1): No such file or directory
compilation terminated.
configure:8348: $? = 1
configure: failed program was:
| program main
|
| use mpi
| integer :: ierr
| call MPI_Init(ierr)
| end
configure:8352: result: no
configure:8365: WARNING: could not compile a FORTRAN mpi test program. YAMBO serial only.
configure:9020: checking how to get verbose linking output from gfortran
configure:9030: gfortran -c -g -O3 -mtune=native conftest.f >&5
configure:9030: $? = 0
configure:9048: gfortran -o conftest -g -O3 -mtune=native -v conftest.f -g -O2
Using built-in specs.
Target: x86_64-pc-linux-gnu
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/f951 conftest.f -ffixed-form --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=ivybridge -quiet -dumpbase conftest.f -march=x86-64 -auxbase conftest -g -g -O3 -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/finclude -o /tmp/ccxP2BGd.s
GNU Fortran (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -v --64 -o /tmp/ccsLT8A0.o /tmp/ccxP2BGd.s
GNU assembler version 2.27 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.27
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/libgfortran.spec
rename spec lib to liborig
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cczHnhwN.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-linux-x86-64.so.2 -o conftest /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. /tmp/ccsLT8A0.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crtn.o
configure:9131: result: -v
configure:9133: checking for Fortran 77 libraries of gfortran
configure:9156: gfortran -o conftest -g -O3 -mtune=native -v conftest.f -g -O2
Using built-in specs.
Target: x86_64-pc-linux-gnu
Thread model: posix
gcc version 6.4.0 (CRUX-x86_64-multilib)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/f951 conftest.f -ffixed-form --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=ivybridge -quiet -dumpbase conftest.f -march=x86-64 -auxbase conftest -g -g -O3 -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/finclude -o /tmp/cc3bhOXg.s
GNU Fortran (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (CRUX-x86_64-multilib) version 6.4.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -v --64 -o /tmp/ccSeRmZ3.o /tmp/cc3bhOXg.s
GNU assembler version 2.27 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.27
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/libgfortran.spec
rename spec lib to liborig
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8zkx1Q.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-linux-x86-64.so.2 -o conftest /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. /tmp/ccSeRmZ3.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib/crtn.o
configure:9352: result: -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath
configure:9437: checking for caxpy
configure:9437: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/tmp/ccKlge75.o: In function `MAIN__':
/aux/yambo-4.2.1/conftest.f90:2: undefined reference to `caxpy_'
collect2: error: ld returned 1 exit status
configure:9437: $? = 1
configure: failed program was:
| program main
| call caxpy
| end
configure:9437: result: no
configure:9447: checking for ATL_xerbla in -latlas
configure:9459: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -latlas -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
configure:9459: $? = 1
configure: failed program was:
| program main
| call ATL_xerbla
| end
configure:9468: result: no
configure:9534: checking for caxpy in -lblas
configure:9546: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -lblas -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
configure:9546: $? = 1
configure: failed program was:
| program main
| call caxpy
| end
configure:9556: result: no
configure:9623: checking for caxpy in -lcxml
configure:9635: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -lcxml -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/usr/bin/ld: cannot find -lcxml
collect2: error: ld returned 1 exit status
configure:9635: $? = 1
configure: failed program was:
| program main
| call caxpy
| end
configure:9645: result: no
configure:9656: checking for caxpy in -ldxml
configure:9668: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -ldxml -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/usr/bin/ld: cannot find -ldxml
collect2: error: ld returned 1 exit status
configure:9668: $? = 1
configure: failed program was:
| program main
| call caxpy
| end
configure:9678: result: no
configure:9751: checking for caxpy in -lscs
configure:9763: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -lscs -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/usr/bin/ld: cannot find -lscs
collect2: error: ld returned 1 exit status
configure:9763: $? = 1
configure: failed program was:
| program main
| call caxpy
| end
configure:9773: result: no
configure:9784: checking for caxpy in -lcomplib.sgimath
configure:9796: gfortran -o conftest -g -O3 -mtune=native conftest.f90 -lcomplib.sgimath -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/usr/bin/ld: cannot find -lcomplib.sgimath
collect2: error: ld returned 1 exit status
configure:9796: $? = 1
configure: failed program was:
| program main
| call caxpy
| end
configure:9806: result: no
configure:9817: checking for caxpy in -lblas
configure:9839: result: no
configure:9878: checking for caxpy in -lblas
configure:9900: result: no
configure:9923: Could not find blas. Using the built-in library
configure:9965: checking for dummy main to link with Fortran 77 libraries
configure:10007: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
configure:10007: $? = 0
configure:10060: result: none
configure:10092: checking for Fortran 77 name-mangling scheme
configure:10105: gfortran -c -g -O3 -mtune=native conftest.f >&5
configure:10105: $? = 0
configure:10154: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c cfortran_test.o -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
/tmp/ccEYzdnr.o: In function `main':
/aux/yambo-4.2.1/conftest.c:62: undefined reference to `foobar'
collect2: error: ld returned 1 exit status
configure:10154: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Yambo"
| #define PACKAGE_TARNAME "yambo"
| #define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_BUGREPORT "yambo@yambo-code.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define POINTER_SIZE 8
| #define FC_FUNC(name,NAME) name ## _
| #define FC_FUNC_(name,NAME) name ## _
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char foobar ();
| #ifdef F77_DUMMY_MAIN
|
| # ifdef __cplusplus
| extern "C"
| # endif
| int F77_DUMMY_MAIN() { return 1; }
|
| #endif
| #ifdef FC_DUMMY_MAIN
| #ifndef FC_DUMMY_MAIN_EQ_F77
| # ifdef __cplusplus
| extern "C"
| # endif
| int FC_DUMMY_MAIN() { return 1; }
| #endif
| #endif
| int
| main ()
| {
| return foobar ();
| ;
| return 0;
| }
configure:10154: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c cfortran_test.o -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
configure:10154: $? = 0
configure:10220: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c cfortran_test.o -g -O2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath >&5
configure:10220: $? = 0
configure:10262: result: lower case, underscore, no extra underscore
configure:10431: Could not find lapack. Using the built-in library
configure:10551: checking for FFT
configure:10717: checking for FFT
configure:10755: result: Internal FFTQE (FFTW2)
configure:11234: checking for deflate in -lz
configure:11275: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c -lz -g -O2 >&5
configure:11275: $? = 0
configure:11285: result: yes
configure:11293: checking for deflate in -lsz
configure:11334: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c -lsz -g -O2 >&5
/usr/bin/ld: cannot find -lsz
collect2: error: ld returned 1 exit status
configure:11334: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Yambo"
| #define PACKAGE_TARNAME "yambo"
| #define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
| #define PACKAGE_BUGREPORT "yambo@yambo-code.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define POINTER_SIZE 8
| #define FC_FUNC(name,NAME) name ## _
| #define FC_FUNC_(name,NAME) name ## _
| #define F77_FUNC(name,NAME) name ## _
| #define F77_FUNC_(name,NAME) name ## _
| #define _FFTQE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char deflate ();
| #ifdef F77_DUMMY_MAIN
|
| # ifdef __cplusplus
| extern "C"
| # endif
| int F77_DUMMY_MAIN() { return 1; }
|
| #endif
| #ifdef FC_DUMMY_MAIN
| #ifndef FC_DUMMY_MAIN_EQ_F77
| # ifdef __cplusplus
| extern "C"
| # endif
| int FC_DUMMY_MAIN() { return 1; }
| #endif
| #endif
| int
| main ()
| {
| return deflate ();
| ;
| return 0;
| }
configure:11343: result: no
configure:11351: checking for dlopen in -ldl
configure:11392: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c -ldl -g -O2 >&5
configure:11392: $? = 0
configure:11401: result: yes
configure:11409: checking for curl_version in -lcurl
configure:11450: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c -lcurl -g -O2 >&5
configure:11450: $? = 0
configure:11459: result: yes
configure:11467: checking for cos in -lm
configure:11508: gcc -o conftest -g -O2 -D_C_US -D_FORTRAN_US conftest.c -lm -g -O2 >&5
conftest.c:45:6: warning: conflicting types for built-in function 'cos'
char cos ();
^~~
configure:11508: $? = 0
configure:11517: result: yes
configure:11657: checking for internal NetCDF library
configure:11681: result: to be compiled
configure:11958: checking for internal IOTK library
configure:11967: result: to be compiled
configure:12001: checking for p2y version
configure:12030: result: qexml
configure:12158: checking for ETSF_IO Library
configure:12160: result: no
configure:12218: checking for libxc
configure:12267: gfortran -o conftest -I -g -O3 -mtune=native conftest.f90 -L -lxcf90 -lxc >&5
f951: Warning: Nonexistent include directory '-g' [-Wmissing-include-dirs]
conftest.f90:3:8:

use xc_f90_lib_m
1
Fatal Error: Can't open module file 'xc_f90_lib_m.mod' for reading at (1): No such file or directory
compilation terminated.
configure:12267: $? = 1
configure: failed program was:
| program main
|
| use xc_f90_lib_m
| implicit none
|
| integer :: i
| i = XC_EXCHANGE
|
| end
configure:12281: gfortran -o conftest -I -g -O3 -mtune=native conftest.f90 /libxcf90.a /libxc.a >&5
gfortran: error: /libxcf90.a: No such file or directory
gfortran: error: /libxc.a: No such file or directory
configure:12281: $? = 1
configure: failed program was:
| program main
|
| use xc_f90_lib_m
| implicit none
|
| integer :: i
| i = XC_EXCHANGE
|
| end
configure:12295: gfortran -o conftest -I -g -O3 -mtune=native conftest.f90 /libxc.a >&5
gfortran: error: /libxc.a: No such file or directory
configure:12295: $? = 1
configure: failed program was:
| program main
|
| use xc_f90_lib_m
| implicit none
|
| integer :: i
| i = XC_EXCHANGE
|
| end
configure:12309: gfortran -o conftest -I -g -O3 -mtune=native conftest.f90 -L -lxc >&5
f951: Warning: Nonexistent include directory '-g' [-Wmissing-include-dirs]
conftest.f90:3:8:

use xc_f90_lib_m
1
Fatal Error: Can't open module file 'xc_f90_lib_m.mod' for reading at (1): No such file or directory
compilation terminated.
configure:12309: $? = 1
configure: failed program was:
| program main
|
| use xc_f90_lib_m
| implicit none
|
| integer :: i
| i = XC_EXCHANGE
|
| end
configure:12436: result: Compatible external LibXC not found/specified. Internal to be compiled.
configure:12743: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by Yambo config.status 4.2.1 r.14778 h.7b4dc3c, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on lenovo

config.status:979: error: cannot find input file: `lib/fftqe/fftqe_defs.h.in'

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

_cv_gnu_make_command='make'
ac_cv_build='x86_64-unknown-linux-gnu'
ac_cv_c_compiler_gnu='yes'
ac_cv_c_const='yes'
ac_cv_c_inline='inline'
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_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_F77_set='set'
ac_cv_env_F77_value='gfortran'
ac_cv_env_FCFLAGS_set=''
ac_cv_env_FCFLAGS_value=''
ac_cv_env_FC_set='set'
ac_cv_env_FC_value='gfortran'
ac_cv_env_FFLAGS_set=''
ac_cv_env_FFLAGS_value=''
ac_cv_env_FPP_set=''
ac_cv_env_FPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_MPICC_set=''
ac_cv_env_MPICC_value=''
ac_cv_env_MPIF77_set=''
ac_cv_env_MPIF77_value=''
ac_cv_env_MPIFC_set=''
ac_cv_env_MPIFC_value=''
ac_cv_env_UFLAGS_set=''
ac_cv_env_UFLAGS_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_f77_compiler_gnu='yes'
ac_cv_f77_dummy_main='none'
ac_cv_f77_libs=' -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath'
ac_cv_f77_mangling='lower case, underscore, no extra underscore'
ac_cv_fc_compiler_gnu='yes'
ac_cv_fc_dummy_main='none'
ac_cv_fc_freeform='none'
ac_cv_fc_libs=' -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath'
ac_cv_fc_mangling='lower case, underscore, no extra underscore'
ac_cv_fc_srcext_f90='none'
ac_cv_fortran_dummy_main='none'
ac_cv_func_alloca_works='yes'
ac_cv_func_caxpy='no'
ac_cv_func_lstat_dereferences_slashed_symlink='yes'
ac_cv_func_malloc_0_nonnull='yes'
ac_cv_func_realloc_0_nonnull='yes'
ac_cv_func_setvbuf_reversed='no'
ac_cv_func_stat_empty_string_bug='no'
ac_cv_header_inttypes_h='yes'
ac_cv_header_malloc_h='yes'
ac_cv_header_memory_h='yes'
ac_cv_header_stdc='yes'
ac_cv_header_stdint_h='yes'
ac_cv_header_stdlib_h='yes'
ac_cv_header_string_h='yes'
ac_cv_header_strings_h='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_header_sys_time_h='yes'
ac_cv_header_sys_types_h='yes'
ac_cv_header_unistd_h='yes'
ac_cv_host='x86_64-unknown-linux-gnu'
ac_cv_lib_atlas_ATL_xerbla='no'
ac_cv_lib_blas_caxpy='no'
ac_cv_lib_complib_sgimath_caxpy='no'
ac_cv_lib_curl_curl_version='yes'
ac_cv_lib_cxml_caxpy='no'
ac_cv_lib_dl_dlopen='yes'
ac_cv_lib_dxml_caxpy='no'
ac_cv_lib_m_cos='yes'
ac_cv_lib_scs_caxpy='no'
ac_cv_lib_sz_deflate='no'
ac_cv_lib_z____deflate='yes'
ac_cv_member_struct_mallinfo_arena='yes'
ac_cv_objext='o'
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP='/usr/bin/grep'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR='ar'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_g='yes'
ac_cv_prog_editor='vim'
ac_cv_prog_f77_g='yes'
ac_cv_prog_f77_v='-v'
ac_cv_prog_fc_g='yes'
ac_cv_prog_fc_v='-v'
ac_cv_prog_make_make_set='yes'
ac_cv_type_size_t='yes'
ac_cv_working_alloca_h='yes'
ax_cv_f90_modflag='-I'

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

ALLOCA=''
AR='ar'
AR_FLAGS='-ru'
BLACS_LIBS=''
BLACS_str=' - '
BLAS_LIBS='-L/aux/yambo-4.2.1/lib/external/gfortran/gfortran/lib -lblas'
BLAS_info=''
BLAS_str=' Ic'
CC='gcc'
CFLAGS='-g -O2 -D_C_US -D_FORTRAN_US'
CPP='gcc -E'
CPPFLAGS=''
CPPFLAGS_yambo='-P'
DEBUG_FLAGS='-Wall -pedantic -fbounds-check '
DEFS='-DHAVE_CONFIG_H'
DP_check='-'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ETSF_INCS=' '
ETSF_LIBS=' '
ETSF_str=' - '
EXEEXT=''
F77='gfortran'
F90SUFFIX='.f90'
F90_MODULE_FLAG='-I'
FC='gfortran'
FCFLAGS='-g -O3 -mtune=native '
FCFLAGS_f90=''
FCFLAGS_f=''
FCKIND='gfortran'
FCLIBS=' -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath'
FCMFLAG=''
FCUFLAGS='-g -O0 -mtune=native'
FCVERSION='unknown'
FFLAGS='-g -O3 -mtune=native'
FFT_INCS='-I./include/'
FFT_LIBS='-L./lib -lfftqe'
FFT_info='(Internal FFTW2 (FFTQE) with 3D support)'
FFT_str=' Ic'
FLIBS=' -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../.. -lgfortran -lm -lquadmath'
FPP='gfortran -E -P -cpp'
FUFLAGS='-g -O0 -mtune=native'
GREP='/usr/bin/grep'
HDF5_INCS=''
HDF5_LIBS=''
HDF5_OPT=''
HDF5_info=''
HDF5_str=' - '
IFLAG='-I'
IOTK_INCS='-I/aux/yambo-4.2.1/lib/external/gfortran/gfortran/include/'
IOTK_LIBS='-L/aux/yambo-4.2.1/lib/external/gfortran/gfortran/lib -liotk'
IOTK_str=' Ic'
KEEP_OBJS_check='X'
LAPACK_LIBS='-L/aux/yambo-4.2.1/lib/external/gfortran/gfortran/lib -llapack'
LAPACK_str=' Ic'
LDFLAGS=''
LIBOBJS=''
LIBS='-g -O2'
LIBXC_INCS='-I/aux/yambo-4.2.1/lib/external/gfortran/gfortran/include'
LIBXC_LIBS='-L/aux/yambo-4.2.1/lib/external/gfortran/gfortran/lib -lxcf90 -lxc'
LIBXC_str=' Ic'
LTLIBOBJS=''
MAKE='make'
MEM_profile_check='-'
MKMF_PREFIX='@'
MPICC=''
MPICC_test=''
MPIF77=''
MPIF77_test=''
MPIFC='gfortran'
MPIFC_test='gfortran'
MPI_INCS=''
MPI_INC_DIR=''
MPI_LIBS=''
MPI_LIB_DIR=''
MPI_check='-'
MPI_info=''
MPI_str=' - '
NETCDFFLAGS='-DgFortran'
NETCDFF_INCS='-I/aux/yambo-4.2.1/lib/external/gfortran/gfortran/v3/include'
NETCDFF_LIBS='-L/aux/yambo-4.2.1/lib/external/gfortran/gfortran/v3/lib -lnetcdff'
NETCDF_INCS='-I/aux/yambo-4.2.1/lib/external/gfortran/gfortran/v3/include'
NETCDF_LIBS='-L/aux/yambo-4.2.1/lib/external/gfortran/gfortran/v3/lib -lnetcdf -lm -lcurl'
NETCDF_OPT='--disable-netcdf-4'
NETCDF_VER='v3'
NETCDF_info='(With large files support)'
NETCDF_str=' Ic'
OBJEXT='o'
OMPFLAGS='-fopenmp'
OPENMPLIBS=' '
OPENMP_check='-'
PACKAGE_BUGREPORT='yambo@yambo-code.org'
PACKAGE_NAME='Yambo'
PACKAGE_STRING='Yambo 4.2.1 r.14778 h.7b4dc3c'
PACKAGE_TARNAME='yambo'
PACKAGE_URL=''
PACKAGE_VERSION='4.2.1 r.14778 h.7b4dc3c'
PATH_SEPARATOR=':'
PETSC_INCS=''
PETSC_LIBS=''
PET_str=' - '
PW_CPP='-D_P2Y_QEXML'
PW_VER='qexml'
SCALAPACK_LIBS=''
SET_MAKE=''
SHASH='7b4dc3c'
SHELL='/bin/sh'
SIZEOF_INT_P='8'
SLEPC_INCS=''
SLEPC_LIBS=''
SLE_str=' - '
SLK_str=' - '
SPATCHLEVEL='1'
SREVISION='110'
SSUBVERSION='2'
SVERSION='4'
TIMER='ct_cptimer.o'
TIME_profile_check='X'
UFLAGS=''
ac_ct_CC='gcc'
ac_ct_F77=''
ac_ct_FC=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux'
build_vendor='unknown'
compile_blacs='no'
compile_blas='yes'
compile_e2y='no'
compile_etsf='no'
compile_fftqe='yes'
compile_fftw='no'
compile_hdf5='no'
compile_iotk='yes'
compile_lapack='yes'
compile_libxc='yes'
compile_netcdf='yes'
compile_p2y='yes'
compile_petsc='no'
compile_slepc='no'
compile_slk='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
def_compiler=''
def_dp=''
def_fft='-D_FFTQE -D_USE_3D_FFT -D_FFTW2'
def_memory_profile=' '
def_mpi=''
def_netcdf=''
def_openmp=' '
def_openmp_int_linalg=''
def_scalapack=''
def_time_profile='-D_TIMING'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
editor='vim'
enable_dp='no'
enable_int_linalg=''
enable_keep_extlibs='yes'
enable_keep_objects='yes'
enable_keep_src='no'
enable_openmp_int_linalg=''
enable_scalapack='no'
enable_slepc='no'
exec_prefix='/aux/yambo-4.2.1'
extlibs_path='/aux/yambo-4.2.1/lib/external'
fft_cfactor=''
hdf5='no'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
hostname='lenovo'
htmldir='${docdir}'
ifGNUmake=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
internal_blacs='no'
internal_blas='yes'
internal_etsf='no'
internal_fft='yes'
internal_hdf5='no'
internal_iotk='yes'
internal_lapack='yes'
internal_libxc='yes'
internal_netcdf='yes'
internal_slk='no'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mpibuild='no'
mpif_found='no'
netcdf='yes'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/aux/yambo-4.2.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "Yambo"
#define PACKAGE_TARNAME "yambo"
#define PACKAGE_VERSION "4.2.1 r.14778 h.7b4dc3c"
#define PACKAGE_STRING "Yambo 4.2.1 r.14778 h.7b4dc3c"
#define PACKAGE_BUGREPORT "yambo@yambo-code.org"
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLINFO 1
#define HAVE_MALLOC_H 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_REALLOC 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define POINTER_SIZE 8
#define FC_FUNC(name,NAME) name ## _
#define FC_FUNC_(name,NAME) name ## _
#define F77_FUNC(name,NAME) name ## _
#define F77_FUNC_(name,NAME) name ## _
#define _FFTQE 1

configure: exit 1
Andrew Downs
Customer Support
andrew.downs
 
Posts: 7
Joined: Fri Dec 22, 2017 4:04 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby Daniele Varsano » Wed Dec 27, 2017 5:47 pm

Dear Andrew,
my advise is to try first a simple
./configure
yambo should then download and compile all the needed libraries.
fftqe and fftsg are not needed together.

If it fails please upload the config.log again. If you upload it as attachment it is easier to scroll.

Best,

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1950
Joined: Tue Mar 17, 2009 2:23 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby andrew.downs » Thu Dec 28, 2017 3:07 pm

Thank you for your reply, here is my run of configure with no options at all.
You do not have the required permissions to view the files attached to this post.
Andrew Downs
Customer Support
andrew.downs
 
Posts: 7
Joined: Fri Dec 22, 2017 4:04 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby Daniele Varsano » Thu Dec 28, 2017 3:17 pm

Dear Andrew,
and what kind of error you get after the make command?
I've seen you specified the libxc path, but that library seems to be not compatible: this is not a problem as Yambo should download and compile the libxc.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1950
Joined: Tue Mar 17, 2009 2:23 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby andrew.downs » Thu Dec 28, 2017 9:42 pm

I didn't configure libxc though, I'm not sure how that's getting defined. I extracted the file and ran configure, so I'm not sure where it could be seeing libxc.

make can not run, as configure does not finish with no options, so I get::
make: *** No targets specified and no makefile found. Stop.
Andrew Downs
Customer Support
andrew.downs
 
Posts: 7
Joined: Fri Dec 22, 2017 4:04 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby Daniele Varsano » Fri Dec 29, 2017 12:43 am

Dear Andrew,
it looks that there is a precompiler problem:
try to set something like
./configure FC=gfortran F77=gfortran CC=gcc CPP='gcc -E'
or
./configure FC=gfortran F77=gfortran CC=gcc CPP=cpp

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1950
Joined: Tue Mar 17, 2009 2:23 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby andrew.downs » Fri Dec 29, 2017 4:07 pm

I tried::

./configure FC=gfortran F77=gfortran CC=gcc CPP=cpp

and my config.log is attached, configure is successful, however 'make yambo' fails, I'd like to attach build output, but I can't find where yambo puts it and all attempts to redirect console output from make don't seem to work.
You do not have the required permissions to view the files attached to this post.
Andrew Downs
Customer Support
andrew.downs
 
Posts: 7
Joined: Fri Dec 22, 2017 4:04 pm

Re: 4.2.1 can't compile on seemingly any system (linux)

Postby Daniele Varsano » Fri Dec 29, 2017 4:11 pm

Ok, but what's the error you get?

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1950
Joined: Tue Mar 17, 2009 2:23 pm


Return to Compilation

Who is online

Users browsing this forum: No registered users and 1 guest