Project

General

Profile

configure with Intel compiler and OpenHPC 4.9.0 fails ยป config.log

Rainer Herbst, 2023-03-16 10:47

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

It was created by cdo configure 2.1.1, which was
generated by GNU Autoconf 2.71. Invocation command line was

$ ./configure --prefix=/opt/ohpc/pub/libs/intel-openmpi4/cdo/2.1.1 --with-netcdf=/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0 --with-hdf5=/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8 CC=mpicc CXX=mpicxx F77=mpif77

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

hostname = node-r6-he39.bgc-jena.mpg.de
uname -m = x86_64
uname -r = 4.18.0-147.8.1.el8_1.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Apr 9 13:49:54 UTC 2020

/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: /opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/bin/
PATH: /opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/bin/
PATH: /opt/ohpc/pub/mpi/libfabric/1.13.0/bin/
PATH: /opt/ohpc/pub/mpi/ucx-ohpc/1.11.2/bin/
PATH: /opt/ohpc/pub/libs/hwloc/bin/
PATH: /opt/ohpc/pub/mpi/openmpi4-intel/4.1.4/bin/
PATH: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/intel64/
PATH: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/
PATH: /opt/intel/oneapi/compiler/2022.1.0/linux/lib/oclfpga/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /root/bin/


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

configure:3314: looking for aux files: tap-driver.sh ltmain.sh compile ar-lib missing install-sh config.guess config.sub
configure:3327: trying ./config/
configure:3356: ./config/tap-driver.sh found
configure:3356: ./config/ltmain.sh found
configure:3356: ./config/compile found
configure:3356: ./config/ar-lib found
configure:3356: ./config/missing found
configure:3338: ./config/install-sh found
configure:3356: ./config/config.guess found
configure:3356: ./config/config.sub found
configure:3482: checking build system type
configure:3497: result: x86_64-pc-linux-gnu
configure:3517: checking host system type
configure:3531: result: x86_64-pc-linux-gnu
configure:3571: checking for a BSD-compatible install
configure:3644: result: /usr/bin/install -c
configure:3655: checking whether build environment is sane
configure:3710: result: yes
configure:3869: checking for a race-free mkdir -p
configure:3913: result: /usr/bin/mkdir -p
configure:3920: checking for gawk
configure:3941: found /usr/bin/gawk
configure:3952: result: gawk
configure:3963: checking whether make sets $(MAKE)
configure:3986: result: yes
configure:4016: checking whether make supports nested variables
configure:4034: result: yes
configure:4174: checking whether to enable maintainer-specific portions of Makefiles
configure:4184: result: no
configure:4212: checking whether make supports the include directive
configure:4227: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4230: $? = 0
configure:4249: result: yes (GNU style)
configure:4325: checking for gcc
configure:4357: result: mpicc
configure:4710: checking for C compiler version
configure:4719: mpicc --version >&5
icc (ICC) 2021.6.0 20220226
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

configure:4730: $? = 0
configure:4719: mpicc -v >&5
icc version 2021.6.0 (gcc version 8.3.1 compatibility)
configure:4730: $? = 0
configure:4719: mpicc -V >&5
Intel(R) C Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

configure:4730: $? = 0
configure:4719: mpicc -qversion >&5
icc: command line warning #10006: ignoring unknown option '-qversion'
icc: command line error: no files specified; for help type "icc -help"
configure:4730: $? = 1
configure:4719: mpicc -version >&5
icc: command line warning #10006: ignoring unknown option '-version'
icc: command line error: no files specified; for help type "icc -help"
configure:4730: $? = 1
configure:4750: checking whether the C compiler works
configure:4772: mpicc conftest.c >&5
configure:4776: $? = 0
configure:4826: result: yes
configure:4829: checking for C compiler default output file name
configure:4831: result: a.out
configure:4837: checking for suffix of executables
configure:4844: mpicc -o conftest conftest.c >&5
configure:4848: $? = 0
configure:4871: result:
configure:4893: checking whether we are cross compiling
configure:4901: mpicc -o conftest conftest.c >&5
configure:4905: $? = 0
configure:4912: ./conftest
configure:4916: $? = 0
configure:4931: result: no
configure:4936: checking for suffix of object files
configure:4959: mpicc -c conftest.c >&5
configure:4963: $? = 0
configure:4985: result: o
configure:4989: checking whether the compiler supports GNU C
configure:5009: mpicc -c conftest.c >&5
configure:5009: $? = 0
configure:5019: result: yes
configure:5030: checking whether mpicc accepts -g
configure:5051: mpicc -c -g conftest.c >&5
configure:5051: $? = 0
configure:5095: result: yes
configure:5115: checking for mpicc option to enable C11 features
configure:5130: mpicc -c -g -O2 conftest.c >&5
configure:5130: $? = 0
configure:5148: result: none needed
configure:5264: checking whether mpicc understands -c and -o together
configure:5287: mpicc -c conftest.c -o conftest2.o
configure:5290: $? = 0
configure:5287: mpicc -c conftest.c -o conftest2.o
configure:5290: $? = 0
configure:5302: result: yes
configure:5321: checking dependency style of mpicc
configure:5433: result: gcc3
configure:5504: checking for ar
configure:5525: found /usr/bin/ar
configure:5536: result: ar
configure:5562: checking the archiver (ar) interface
configure:5579: mpicc -c -g -O2 conftest.c >&5
configure:5579: $? = 0
configure:5582: ar cru libconftest.a conftest.o >&5
configure:5585: $? = 0
configure:5613: result: ar
configure:5634: setting up libtool
configure:5683: checking how to print strings
configure:5710: result: printf
configure:5731: checking for a sed that does not truncate output
configure:5801: result: /usr/bin/sed
configure:5819: checking for grep that handles long lines and -e
configure:5883: result: /usr/bin/grep
configure:5888: checking for egrep
configure:5956: result: /usr/bin/grep -E
configure:5961: checking for fgrep
configure:6029: result: /usr/bin/grep -F
configure:6065: checking for ld used by mpicc
configure:6133: result: /usr/bin/ld
configure:6140: checking if the linker (/usr/bin/ld) is GNU ld
configure:6156: result: yes
configure:6168: checking for BSD- or MS-compatible name lister (nm)
configure:6223: result: /usr/bin/nm -B
configure:6363: checking the name lister (/usr/bin/nm -B) interface
configure:6371: mpicc -c -g -O2 conftest.c >&5
configure:6374: /usr/bin/nm -B "conftest.o"
configure:6377: output
0000000000000000 N .debug_info_seg
0000000000000000 B some_variable
configure:6384: result: BSD nm
configure:6387: checking whether ln -s works
configure:6391: result: yes
configure:6399: checking the maximum length of command line arguments
configure:6531: result: 1572864
configure:6579: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:6620: result: func_convert_file_noop
configure:6627: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:6648: result: func_convert_file_noop
configure:6655: checking for /usr/bin/ld option to reload object files
configure:6663: result: -r
configure:6742: checking for file
configure:6763: found /usr/bin/file
configure:6774: result: file
configure:6850: checking for objdump
configure:6871: found /usr/bin/objdump
configure:6882: result: objdump
configure:6914: checking how to recognize dependent libraries
configure:7115: result: pass_all
configure:7205: checking for dlltool
configure:7240: result: no
configure:7270: checking how to associate runtime and link libraries
configure:7298: result: printf %s\n
configure:7448: checking for archiver @FILE support
configure:7466: mpicc -c -g -O2 conftest.c >&5
configure:7466: $? = 0
configure:7470: ar cr libconftest.a @conftest.lst >&5
configure:7473: $? = 0
configure:7478: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:7481: $? = 1
configure:7493: result: @
configure:7556: checking for strip
configure:7577: found /usr/bin/strip
configure:7588: result: strip
configure:7665: checking for ranlib
configure:7686: found /usr/bin/ranlib
configure:7697: result: ranlib
configure:7799: checking command to parse /usr/bin/nm -B output from mpicc object
configure:7953: mpicc -c -g -O2 conftest.c >&5
configure:7956: $? = 0
configure:7960: /usr/bin/nm -B conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
configure:7963: $? = 0
configure:8029: mpicc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:8032: $? = 0
configure:8070: result: ok
configure:8117: checking for sysroot
configure:8148: result: no
configure:8155: checking for a working dd
configure:8199: result: /usr/bin/dd
configure:8203: checking how to truncate binary pipes
configure:8219: result: /usr/bin/dd bs=4096 count=1
configure:8356: mpicc -c -g -O2 conftest.c >&5
configure:8359: $? = 0
configure:8556: checking for mt
configure:8591: result: no
configure:8611: checking if : is a manifest tool
configure:8618: : '-?'
configure:8626: result: no
configure:9351: checking for stdio.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for stdlib.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for string.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for inttypes.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for stdint.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for strings.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for sys/stat.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for sys/types.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for unistd.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9351: checking for sys/param.h
configure:9351: mpicc -c -g -O2 conftest.c >&5
configure:9351: $? = 0
configure:9351: result: yes
configure:9376: checking for dlfcn.h
configure:9376: mpicc -c -g -O2 conftest.c >&5
configure:9376: $? = 0
configure:9376: result: yes
configure:9635: checking for objdir
configure:9651: result: .libs
configure:9915: checking if mpicc supports -fno-rtti -fno-exceptions
configure:9934: mpicc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
configure:9938: $? = 0
configure:9951: result: yes
configure:10309: checking for mpicc option to produce PIC
configure:10317: result: -fPIC -DPIC
configure:10325: checking if mpicc PIC flag -fPIC -DPIC works
configure:10344: mpicc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:10348: $? = 0
configure:10361: result: yes
configure:10390: checking if mpicc static flag -static works
configure:10419: result: no
configure:10434: checking if mpicc supports -c -o file.o
configure:10456: mpicc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:10460: $? = 0
configure:10482: result: yes
configure:10490: checking if mpicc supports -c -o file.o
configure:10538: result: yes
configure:10571: checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:11839: result: yes
configure:11876: checking whether -lc should be explicitly linked in
configure:11885: mpicc -c -g -O2 conftest.c >&5
configure:11888: $? = 0
configure:11903: mpicc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:11906: $? = 0
configure:11920: result: no
configure:12080: checking dynamic linker characteristics
configure:12662: mpicc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:12662: $? = 0
configure:12901: result: GNU/Linux ld.so
configure:13023: checking how to hardcode library paths into programs
configure:13048: result: immediate
configure:13600: checking whether stripping libraries is possible
configure:13609: result: yes
configure:13651: checking if libtool supports shared libraries
configure:13653: result: yes
configure:13656: checking whether to build shared libraries
configure:13681: result: yes
configure:13684: checking whether to build static libraries
configure:13688: result: yes
configure:13763: checking for a Python interpreter with version >= 3.6
configure:13781: python -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 13782: python: command not found
configure:13784: $? = 127
configure:13781: python2 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:13784: $? = 1
configure:13781: python3 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:13784: $? = 0
configure:13791: result: python3
configure:13799: checking for python3
configure:13822: found /usr/bin/python3
configure:13834: result: /usr/bin/python3
configure:13851: checking for python3 version
configure:13859: result: 3.6
configure:13864: checking for python3 platform
configure:13872: result: linux
configure:13933: checking for GNU default python3 prefix
configure:13935: result: ${prefix}
configure:14001: checking for GNU default python3 exec_prefix
configure:14003: result: ${exec_prefix}
configure:14034: checking for python3 script directory (pythondir)
configure:14069: result: ${PYTHON_PREFIX}/lib/python3.6/site-packages
configure:14077: checking for python3 extension module directory (pyexecdir)
configure:14112: result: ${PYTHON_EXEC_PREFIX}/lib64/python3.6/site-packages
configure:14184: checking for bash
configure:14219: result: /bin/sh
configure:14291: checking for gcc
configure:14323: result: mpicc
configure:14393: checking for g++
configure:14425: result: mpicxx
configure:14577: checking for C++ compiler version
configure:14586: mpicxx --version >&5
icpc (ICC) 2021.6.0 20220226
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

configure:14597: $? = 0
configure:14586: mpicxx -v >&5
icpc version 2021.6.0 (gcc version 8.3.1 compatibility)
configure:14597: $? = 0
configure:14586: mpicxx -V >&5
Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

configure:14597: $? = 0
configure:14586: mpicxx -qversion >&5
icpc: command line warning #10006: ignoring unknown option '-qversion'
icpc: command line error: no files specified; for help type "icpc -help"
configure:14597: $? = 1
configure:14601: checking whether the compiler supports GNU C++
configure:14621: mpicxx -c conftest.cpp >&5
configure:14621: $? = 0
configure:14631: result: yes
configure:14642: checking whether mpicxx accepts -g
configure:14663: mpicxx -c -g conftest.cpp >&5
configure:14663: $? = 0
configure:14707: result: yes
configure:14727: checking for mpicxx option to enable C++11 features
configure:14742: mpicxx -c -g -O2 conftest.cpp >&5
configure:14742: $? = 0
configure:14760: result: none needed
configure:14826: checking dependency style of mpicxx
configure:14938: result: gcc3
configure:14971: checking how to run the C++ preprocessor
configure:14993: mpicxx -E conftest.cpp
configure:14993: $? = 0
configure:15008: mpicxx -E conftest.cpp
conftest.cpp(25): error #2379: cannot open source file "ac_nonexistent.h"
#include <ac_nonexistent.h>
^

configure:15008: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:15035: result: mpicxx -E
configure:15049: mpicxx -E conftest.cpp
configure:15049: $? = 0
configure:15064: mpicxx -E conftest.cpp
conftest.cpp(25): error #2379: cannot open source file "ac_nonexistent.h"
#include <ac_nonexistent.h>
^

configure:15064: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:15229: checking for ld used by mpicxx
configure:15297: result: /usr/bin/ld -m elf_x86_64
configure:15304: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:15320: result: yes
configure:15375: checking whether the mpicxx linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:16453: result: yes
configure:16489: mpicxx -c -g -O2 conftest.cpp >&5
configure:16492: $? = 0
configure:16973: checking for mpicxx option to produce PIC
configure:16981: result: -fPIC -DPIC
configure:16989: checking if mpicxx PIC flag -fPIC -DPIC works
configure:17008: mpicxx -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
configure:17012: $? = 0
configure:17025: result: yes
configure:17048: checking if mpicxx static flag -static works
configure:17077: result: no
configure:17089: checking if mpicxx supports -c -o file.o
configure:17111: mpicxx -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:17115: $? = 0
configure:17137: result: yes
configure:17142: checking if mpicxx supports -c -o file.o
configure:17190: result: yes
configure:17220: checking whether the mpicxx linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:17260: result: yes
configure:17402: checking dynamic linker characteristics
configure:18150: result: GNU/Linux ld.so
configure:18215: checking how to hardcode library paths into programs
configure:18240: result: immediate
configure:18396: checking for Fortran 77 compiler version
configure:18405: mpif77 --version >&5
ifort (IFORT) 2021.6.0 20220226
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

configure:18416: $? = 0
configure:18405: mpif77 -v >&5
ifort version 2021.6.0
configure:18416: $? = 0
configure:18405: mpif77 -V >&5
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

configure:18416: $? = 0
configure:18405: mpif77 -qversion >&5
ifort: command line warning #10006: ignoring unknown option '-qversion'
ifort: command line error: no files specified; for help type "ifort -help"
configure:18416: $? = 1
configure:18425: checking whether the compiler supports GNU Fortran 77
configure:18439: mpif77 -c conftest.F >&5
conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( : % [ . = =>
choke me
---------------^
conftest.F(3): error #6218: This statement is positioned incorrectly and/or has syntax errors.
choke me
-------^
compilation aborted for conftest.F (code 1)
configure:18439: $? = 1
configure: failed program was:
| program main
| #ifndef __GNUC__
| choke me
| #endif
|
| end
configure:18449: result: no
configure:18457: checking whether mpif77 accepts -g
configure:18469: mpif77 -c -g conftest.f >&5
configure:18469: $? = 0
configure:18478: result: yes
configure:18607: checking if libtool supports shared libraries
configure:18609: result: yes
configure:18612: checking whether to build shared libraries
configure:18636: result: yes
configure:18639: checking whether to build static libraries
configure:18643: result: yes
configure:18995: checking for mpif77 option to produce PIC
configure:19003: result: -fPIC
configure:19011: checking if mpif77 PIC flag -fPIC works
configure:19030: mpif77 -c -g -fPIC conftest.f >&5
configure:19034: $? = 0
configure:19047: result: yes
configure:19070: checking if mpif77 static flag -static works
configure:19099: result: no
configure:19111: checking if mpif77 supports -c -o file.o
configure:19133: mpif77 -c -g -o out/conftest2.o conftest.f >&5
configure:19137: $? = 0
configure:19159: result: yes
configure:19164: checking if mpif77 supports -c -o file.o
configure:19212: result: yes
configure:19242: checking whether the mpif77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:20459: result: yes
configure:20601: checking dynamic linker characteristics
configure:21343: result: GNU/Linux ld.so
configure:21408: checking how to hardcode library paths into programs
configure:21433: result: immediate
configure:21466: checking for C/C++ restrict keyword
configure:21496: mpicc -c -g -O2 conftest.c >&5
configure:21496: $? = 0
configure:21505: result: __restrict__
configure:21524: checking whether mpicxx supports C++17 features by default
configure:22319: mpicxx -c -g -O2 conftest.cpp >&5
conftest.cpp(444): error: #error directive: "This is not a C++17 compiler"
#error "This is not a C++17 compiler"
^

compilation aborted for conftest.cpp (code 2)
configure:22319: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| /* end confdefs.h. */
|
|
| // If the compiler admits that it is not ready for C++11, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201103L
|
| #error "This is not a C++11 compiler"
|
| #else
|
| namespace cxx11
| {
|
| namespace test_static_assert
| {
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| }
|
| namespace test_final_override
| {
|
| struct Base
| {
| virtual ~Base() {}
| virtual void f() {}
| };
|
| struct Derived : public Base
| {
| virtual ~Derived() override {}
| virtual void f() override {}
| };
|
| }
|
| namespace test_double_right_angle_brackets
| {
|
| template < typename T >
| struct check {};
|
| typedef check<void> single_type;
| typedef check<check<void>> double_type;
| typedef check<check<check<void>>> triple_type;
| typedef check<check<check<check<void>>>> quadruple_type;
|
| }
|
| namespace test_decltype
| {
|
| int
| f()
| {
| int a = 1;
| decltype(a) b = 2;
| return a + b;
| }
|
| }
|
| namespace test_type_deduction
| {
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static const bool value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static const bool value = true;
| };
|
| template < typename T1, typename T2 >
| auto
| add(T1 a1, T2 a2) -> decltype(a1 + a2)
| {
| return a1 + a2;
| }
|
| int
| test(const int c, volatile int v)
| {
| static_assert(is_same<int, decltype(0)>::value == true, "");
| static_assert(is_same<int, decltype(c)>::value == false, "");
| static_assert(is_same<int, decltype(v)>::value == false, "");
| auto ac = c;
| auto av = v;
| auto sumi = ac + av + 'x';
| auto sumf = ac + av + 1.0;
| static_assert(is_same<int, decltype(ac)>::value == true, "");
| static_assert(is_same<int, decltype(av)>::value == true, "");
| static_assert(is_same<int, decltype(sumi)>::value == true, "");
| static_assert(is_same<int, decltype(sumf)>::value == false, "");
| static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
| return (sumf > 0.0) ? sumi : add(c, v);
| }
|
| }
|
| namespace test_noexcept
| {
|
| int f() { return 0; }
| int g() noexcept { return 0; }
|
| static_assert(noexcept(f()) == false, "");
| static_assert(noexcept(g()) == true, "");
|
| }
|
| namespace test_constexpr
| {
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
| {
| return *s ? strlen_c_r(s + 1, acc + 1) : acc;
| }
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c(const CharT *const s) noexcept
| {
| return strlen_c_r(s, 0UL);
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("1") == 1UL, "");
| static_assert(strlen_c("example") == 7UL, "");
| static_assert(strlen_c("another\0example") == 7UL, "");
|
| }
|
| namespace test_rvalue_references
| {
|
| template < int N >
| struct answer
| {
| static constexpr int value = N;
| };
|
| answer<1> f(int&) { return answer<1>(); }
| answer<2> f(const int&) { return answer<2>(); }
| answer<3> f(int&&) { return answer<3>(); }
|
| void
| test()
| {
| int i = 0;
| const int c = 0;
| static_assert(decltype(f(i))::value == 1, "");
| static_assert(decltype(f(c))::value == 2, "");
| static_assert(decltype(f(0))::value == 3, "");
| }
|
| }
|
| namespace test_uniform_initialization
| {
|
| struct test
| {
| static const int zero {};
| static const int one {1};
| };
|
| static_assert(test::zero == 0, "");
| static_assert(test::one == 1, "");
|
| }
|
| namespace test_lambdas
| {
|
| void
| test1()
| {
| auto lambda1 = [](){};
| auto lambda2 = lambda1;
| lambda1();
| lambda2();
| }
|
| int
| test2()
| {
| auto a = [](int i, int j){ return i + j; }(1, 2);
| auto b = []() -> int { return '0'; }();
| auto c = [=](){ return a + b; }();
| auto d = [&](){ return c; }();
| auto e = [a, &b](int x) mutable {
| const auto identity = [](int y){ return y; };
| for (auto i = 0; i < a; ++i)
| a += b--;
| return x + identity(a + b);
| }(0);
| return a + b + c + d + e;
| }
|
| int
| test3()
| {
| const auto nullary = [](){ return 0; };
| const auto unary = [](int x){ return x; };
| using nullary_t = decltype(nullary);
| using unary_t = decltype(unary);
| const auto higher1st = [](nullary_t f){ return f(); };
| const auto higher2nd = [unary](nullary_t f1){
| return [unary, f1](unary_t f2){ return f2(unary(f1())); };
| };
| return higher1st(nullary) + higher2nd(nullary)(unary);
| }
|
| }
|
| namespace test_variadic_templates
| {
|
| template <int...>
| struct sum;
|
| template <int N0, int... N1toN>
| struct sum<N0, N1toN...>
| {
| static constexpr auto value = N0 + sum<N1toN...>::value;
| };
|
| template <>
| struct sum<>
| {
| static constexpr auto value = 0;
| };
|
| static_assert(sum<>::value == 0, "");
| static_assert(sum<1>::value == 1, "");
| static_assert(sum<23>::value == 23, "");
| static_assert(sum<1, 2>::value == 3, "");
| static_assert(sum<5, 5, 11>::value == 21, "");
| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
| }
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
| // because of this.
| namespace test_template_alias_sfinae
| {
|
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() { func<foo>(0); }
|
| }
|
| } // namespace cxx11
|
| #endif // __cplusplus >= 201103L
|
|
|
|
| // If the compiler admits that it is not ready for C++14, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201402L
|
| #error "This is not a C++14 compiler"
|
| #else
|
| namespace cxx14
| {
|
| namespace test_polymorphic_lambdas
| {
|
| int
| test()
| {
| const auto lambda = [](auto&&... args){
| const auto istiny = [](auto x){
| return (sizeof(x) == 1UL) ? 1 : 0;
| };
| const int aretiny[] = { istiny(args)... };
| return aretiny[0];
| };
| return lambda(1, 1L, 1.0f, '1');
| }
|
| }
|
| namespace test_binary_literals
| {
|
| constexpr auto ivii = 0b0000000000101010;
| static_assert(ivii == 42, "wrong value");
|
| }
|
| namespace test_generalized_constexpr
| {
|
| template < typename CharT >
| constexpr unsigned long
| strlen_c(const CharT *const s) noexcept
| {
| auto length = 0UL;
| for (auto p = s; *p; ++p)
| ++length;
| return length;
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("x") == 1UL, "");
| static_assert(strlen_c("test") == 4UL, "");
| static_assert(strlen_c("another\0test") == 7UL, "");
|
| }
|
| namespace test_lambda_init_capture
| {
|
| int
| test()
| {
| auto x = 0;
| const auto lambda1 = [a = x](int b){ return a + b; };
| const auto lambda2 = [a = lambda1(x)](){ return a; };
| return lambda2();
| }
|
| }
|
| namespace test_digit_separators
| {
|
| constexpr auto ten_million = 100'000'000;
| static_assert(ten_million == 100000000, "");
|
| }
|
| namespace test_return_type_deduction
| {
|
| auto f(int& x) { return x; }
| decltype(auto) g(int& x) { return x; }
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static constexpr auto value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static constexpr auto value = true;
| };
|
| int
| test()
| {
| auto x = 0;
| static_assert(is_same<int, decltype(f(x))>::value, "");
| static_assert(is_same<int&, decltype(g(x))>::value, "");
| return x;
| }
|
| }
|
| } // namespace cxx14
|
| #endif // __cplusplus >= 201402L
|
|
|
|
| // If the compiler admits that it is not ready for C++17, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201703L
|
| #error "This is not a C++17 compiler"
|
| #else
|
| #include <initializer_list>
| #include <utility>
| #include <type_traits>
|
| namespace cxx17
| {
|
| namespace test_constexpr_lambdas
| {
|
| constexpr int foo = [](){return 42;}();
|
| }
|
| namespace test::nested_namespace::definitions
| {
|
| }
|
| namespace test_fold_expression
| {
|
| template<typename... Args>
| int multiply(Args... args)
| {
| return (args * ... * 1);
| }
|
| template<typename... Args>
| bool all(Args... args)
| {
| return (args && ...);
| }
|
| }
|
| namespace test_extended_static_assert
| {
|
| static_assert (true);
|
| }
|
| namespace test_auto_brace_init_list
| {
|
| auto foo = {5};
| auto bar {5};
|
| static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
| static_assert(std::is_same<int, decltype(bar)>::value);
| }
|
| namespace test_typename_in_template_template_parameter
| {
|
| template<template<typename> typename X> struct D;
|
| }
|
| namespace test_fallthrough_nodiscard_maybe_unused_attributes
| {
|
| int f1()
| {
| return 42;
| }
|
| [[nodiscard]] int f2()
| {
| [[maybe_unused]] auto unused = f1();
|
| switch (f1())
| {
| case 17:
| f1();
| [[fallthrough]];
| case 42:
| f1();
| }
| return f1();
| }
|
| }
|
| namespace test_extended_aggregate_initialization
| {
|
| struct base1
| {
| int b1, b2 = 42;
| };
|
| struct base2
| {
| base2() {
| b3 = 42;
| }
| int b3;
| };
|
| struct derived : base1, base2
| {
| int d;
| };
|
| derived d1 {{1, 2}, {}, 4}; // full initialization
| derived d2 {{}, {}, 4}; // value-initialized bases
|
| }
|
| namespace test_general_range_based_for_loop
| {
|
| struct iter
| {
| int i;
|
| int& operator* ()
| {
| return i;
| }
|
| const int& operator* () const
| {
| return i;
| }
|
| iter& operator++()
| {
| ++i;
| return *this;
| }
| };
|
| struct sentinel
| {
| int i;
| };
|
| bool operator== (const iter& i, const sentinel& s)
| {
| return i.i == s.i;
| }
|
| bool operator!= (const iter& i, const sentinel& s)
| {
| return !(i == s);
| }
|
| struct range
| {
| iter begin() const
| {
| return {0};
| }
|
| sentinel end() const
| {
| return {5};
| }
| };
|
| void f()
| {
| range r {};
|
| for (auto i : r)
| {
| [[maybe_unused]] auto v = i;
| }
| }
|
| }
|
| namespace test_lambda_capture_asterisk_this_by_value
| {
|
| struct t
| {
| int i;
| int foo()
| {
| return [*this]()
| {
| return i;
| }();
| }
| };
|
| }
|
| namespace test_enum_class_construction
| {
|
| enum class byte : unsigned char
| {};
|
| byte foo {42};
|
| }
|
| namespace test_constexpr_if
| {
|
| template <bool cond>
| int f ()
| {
| if constexpr(cond)
| {
| return 13;
| }
| else
| {
| return 42;
| }
| }
|
| }
|
| namespace test_selection_statement_with_initializer
| {
|
| int f()
| {
| return 13;
| }
|
| int f2()
| {
| if (auto i = f(); i > 0)
| {
| return 3;
| }
|
| switch (auto i = f(); i + 4)
| {
| case 17:
| return 2;
|
| default:
| return 1;
| }
| }
|
| }
|
| namespace test_template_argument_deduction_for_class_templates
| {
|
| template <typename T1, typename T2>
| struct pair
| {
| pair (T1 p1, T2 p2)
| : m1 {p1},
| m2 {p2}
| {}
|
| T1 m1;
| T2 m2;
| };
|
| void f()
| {
| [[maybe_unused]] auto p = pair{13, 42u};
| }
|
| }
|
| namespace test_non_type_auto_template_parameters
| {
|
| template <auto n>
| struct B
| {};
|
| B<5> b1;
| B<'a'> b2;
|
| }
|
| namespace test_structured_bindings
| {
|
| int arr[2] = { 1, 2 };
| std::pair<int, int> pr = { 1, 2 };
|
| auto f1() -> int(&)[2]
| {
| return arr;
| }
|
| auto f2() -> std::pair<int, int>&
| {
| return pr;
| }
|
| struct S
| {
| int x1 : 2;
| volatile double y1;
| };
|
| S f3()
| {
| return {};
| }
|
| auto [ x1, y1 ] = f1();
| auto& [ xr1, yr1 ] = f1();
| auto [ x2, y2 ] = f2();
| auto& [ xr2, yr2 ] = f2();
| const auto [ x3, y3 ] = f3();
|
| }
|
| namespace test_exception_spec_type_system
| {
|
| struct Good {};
| struct Bad {};
|
| void g1() noexcept;
| void g2();
|
| template<typename T>
| Bad
| f(T*, T*);
|
| template<typename T1, typename T2>
| Good
| f(T1*, T2*);
|
| static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
|
| }
|
| namespace test_inline_variables
| {
|
| template<class T> void f(T)
| {}
|
| template<class T> inline T g(T)
| {
| return T{};
| }
|
| template<> inline void f<>(int)
| {}
|
| template<> int g<>(int)
| {
| return 5;
| }
|
| }
|
| } // namespace cxx17
|
| #endif // __cplusplus < 201703L
|
|
|
configure:22327: result: no
configure:22337: checking whether mpicxx supports C++17 features with -std=gnu++17
configure:23134: mpicxx -std=gnu++17 -c -g -O2 conftest.cpp >&5
configure:23134: $? = 0
configure:23144: result: yes
configure:24018: checking for mpicc option to support OpenMP
configure:24040: mpicc -c -g -O2 conftest.c >&5
conftest.c(29): error: #error directive: "OpenMP not supported"
#error "OpenMP not supported"
^

compilation aborted for conftest.c (code 2)
configure:24040: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| /* end confdefs.h. */
|
| #ifndef _OPENMP
| #error "OpenMP not supported"
| #endif
| #include <omp.h>
| int main (void) { return omp_get_num_threads (); }
|
configure:24040: mpicc -c -g -O2 -fopenmp conftest.c >&5
configure:24040: $? = 0
configure:24052: mpicc -o conftest -g -O2 -fopenmp conftest.c >&5
configure:24052: $? = 0
configure:24075: result: -fopenmp
configure:24132: checking for ar
configure:24164: result: ar
configure:24234: checking for cpp
configure:24255: found /usr/bin/cpp
configure:24266: result: cpp
configure:24336: checking for ld
configure:24368: result: /usr/bin/ld -m elf_x86_64
configure:24438: checking for nm
configure:24470: result: /usr/bin/nm -B
configure:24540: checking for ar
configure:24572: result: ar
configure:24642: checking for as
configure:24663: found /usr/bin/as
configure:24674: result: as
configure:24744: checking for dlltool
configure:24776: result: false
configure:24846: checking for objdump
configure:24878: result: objdump
configure:24948: checking for strip
configure:24980: result: strip
configure:25050: checking for ranlib
configure:25082: result: ranlib
configure:25119: checking for special C compiler options needed for large files
configure:25167: result: no
configure:25173: checking for _FILE_OFFSET_BITS value needed for large files
configure:25199: mpicc -c -g -O2 conftest.c >&5
configure:25199: $? = 0
configure:25233: result: no
configure:25322: checking for getpagesize
configure:25322: mpicc -o conftest -g -O2 conftest.c >&5
configure:25322: $? = 0
configure:25322: result: yes
configure:25333: checking for working mmap
configure:25485: mpicc -o conftest -g -O2 conftest.c >&5
configure:25485: $? = 0
configure:25485: ./conftest
configure:25485: $? = 0
configure:25496: result: yes
configure:25507: checking for struct stat.st_blksize
configure:25507: mpicc -c -g -O2 conftest.c >&5
configure:25507: $? = 0
configure:25507: result: yes
configure:25518: checking for sys/resource.h
configure:25518: mpicc -c -g -O2 conftest.c >&5
configure:25518: $? = 0
configure:25518: result: yes
configure:25525: checking for sys/times.h
configure:25525: mpicc -c -g -O2 conftest.c >&5
configure:25525: $? = 0
configure:25525: result: yes
configure:25532: checking for malloc.h
configure:25532: mpicc -c -g -O2 conftest.c >&5
configure:25532: $? = 0
configure:25532: result: yes
configure:25539: checking for glob.h
configure:25539: mpicc -c -g -O2 conftest.c >&5
configure:25539: $? = 0
configure:25539: result: yes
configure:25546: checking for fnmatch.h
configure:25546: mpicc -c -g -O2 conftest.c >&5
configure:25546: $? = 0
configure:25546: result: yes
configure:25553: checking for wordexp.h
configure:25553: mpicc -c -g -O2 conftest.c >&5
configure:25553: $? = 0
configure:25553: result: yes
configure:25560: checking for execinfo.h
configure:25560: mpicc -c -g -O2 conftest.c >&5
configure:25560: $? = 0
configure:25560: result: yes
configure:25569: checking for mallinfo
configure:25569: mpicc -o conftest -g -O2 conftest.c >&5
configure:25569: $? = 0
configure:25569: result: yes
configure:25576: checking for backtrace
configure:25576: mpicc -o conftest -g -O2 conftest.c >&5
configure:25576: $? = 0
configure:25576: result: yes
configure:25585: checking for getrlimit
configure:25585: mpicc -o conftest -g -O2 conftest.c >&5
configure:25585: $? = 0
configure:25585: result: yes
configure:25650: checking for feenableexcept
configure:25650: mpicc -o conftest -g -O2 conftest.c >&5
configure:25650: $? = 0
configure:25650: result: yes
configure:25658: checking for fenv_t.__control
configure:25658: mpicc -c -g -O2 conftest.c >&5
conftest.c(51): error: struct "<unnamed>" has no field "__control"
if (ac_aggr.__control)
^

compilation aborted for conftest.c (code 2)
configure:25658: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| /* end confdefs.h. */
| #include <fenv.h>
|
| int
| main (void)
| {
| static fenv_t ac_aggr;
| if (ac_aggr.__control)
| return 0;
| ;
| return 0;
| }
configure:25658: mpicc -c -g -O2 conftest.c >&5
conftest.c(51): error: struct "<unnamed>" has no field "__control"
if (sizeof ac_aggr.__control)
^

compilation aborted for conftest.c (code 2)
configure:25658: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| /* end confdefs.h. */
| #include <fenv.h>
|
| int
| main (void)
| {
| static fenv_t ac_aggr;
| if (sizeof ac_aggr.__control)
| return 0;
| ;
| return 0;
| }
configure:25658: result: no
configure:25667: checking for fenv_t.__mxcsr
configure:25667: mpicc -c -g -O2 conftest.c >&5
configure:25667: $? = 0
configure:25667: result: yes
configure:25691: checking C preprocessor flags for Fortran calling convention cfortran.h
configure:25791: result: -DgFortran (probed)
configure:25829: checking if C externals constructed with cfortran.h work
configure:25890: mpicc -c -g -O2 -I./src -DgFortran conftest.c >&5
configure:25890: $? = 0
configure:25892: Renaming C object file.
configure:25895: $? = 0
configure:25913: mpif77 -c -g conftest.f >&5
configure:25913: $? = 0
configure:25915: Renaming Fortran object file.
configure:25918: $? = 0
configure:25975: mpif77 -o conftest -g conftest.f conftest_c.o conftest_f.o >&5
configure:25975: $? = 0
configure:25975: ./conftest
configure:25975: $? = 0
configure:26010: result: yes
configure:26075: checking how to run the C preprocessor
configure:26143: result: cpp
configure:26157: cpp -DgFortran conftest.c
configure:26157: $? = 0
configure:26172: cpp -DgFortran conftest.c
conftest.c:47:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:26172: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| #define HAVE_FENV_T___MXCSR 1
| #define HAVE_CF_INTERFACE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:26206: checking for mpicc options needed to detect all undeclared functions
configure:26228: mpicc -c -g -O2 -fopenmp -DgFortran conftest.c >&5
conftest.c(51): error: identifier "strchr" is undefined
(void) strchr;
^

compilation aborted for conftest.c (code 2)
configure:26228: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| #define HAVE_FENV_T___MXCSR 1
| #define HAVE_CF_INTERFACE 1
| /* end confdefs.h. */
|
| int
| main (void)
| {
| (void) strchr;
| ;
| return 0;
| }
configure:26255: mpicc -c -g -O2 -fopenmp -DgFortran conftest.c >&5
configure:26255: $? = 0
configure:26272: result: none needed
configure:26466: checking whether mpicc is Clang
configure:26493: result: no
configure:26558: checking whether pthreads work with "-pthread" and "-lpthread"
configure:26669: mpicc -o conftest -g -O2 -fopenmp -pthread -DgFortran conftest.c -lpthread >&5
configure:26669: $? = 0
configure:26679: result: yes
configure:26802: checking for joinable pthread attribute
configure:26821: mpicc -o conftest -g -O2 -fopenmp -pthread -DgFortran conftest.c -lpthread >&5
configure:26821: $? = 0
configure:26830: result: PTHREAD_CREATE_JOINABLE
configure:26843: checking whether more special flags are required for pthreads
configure:26857: result: no
configure:26866: checking for PTHREAD_PRIO_INHERIT
configure:26884: mpicc -o conftest -g -O2 -fopenmp -pthread -DgFortran conftest.c -lpthread >&5
configure:26884: $? = 0
configure:26894: result: yes
configure:27244: checking for szlib library
configure:27246: result: suppressed
configure:27414: checking for hdf5.h
configure:27414: mpicc -c -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran conftest.c >&5
configure:27414: $? = 0
configure:27414: result: yes
configure:27421: checking for library containing H5Fopen
configure:27451: mpicc -o conftest -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib conftest.c -lpthread >&5
/tmp/icczEbR0S.o: In function `main':
/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/conftest.c:58: undefined reference to `H5Fopen'
configure:27451: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| #define HAVE_FENV_T___MXCSR 1
| #define HAVE_CF_INTERFACE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_HDF5_H 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. */
| char H5Fopen ();
| int
| main (void)
| {
| return H5Fopen ();
| ;
| return 0;
| }
configure:27451: mpicc -o conftest -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib conftest.c -lhdf5 -lpthread >&5
configure:27451: $? = 0
configure:27471: result: -lhdf5
configure:27484: checking for library containing H5DSis_scale
configure:27514: mpicc -o conftest -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib conftest.c -lhdf5 -lpthread >&5
/tmp/iccMAcwgo.o: In function `main':
/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/conftest.c:59: undefined reference to `H5DSis_scale'
configure:27514: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| #define HAVE_FENV_T___MXCSR 1
| #define HAVE_CF_INTERFACE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_HDF5_H 1
| #define HAVE_LIBHDF5 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. */
| char H5DSis_scale ();
| int
| main (void)
| {
| return H5DSis_scale ();
| ;
| return 0;
| }
configure:27514: mpicc -o conftest -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib conftest.c -lhdf5_hl -lhdf5 -lpthread >&5
configure:27514: $? = 0
configure:27534: result: -lhdf5_hl
configure:27771: checking for netcdf.h
configure:27771: mpicc -c -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/include -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran conftest.c >&5
configure:27771: $? = 0
configure:27771: result: yes
configure:27778: checking for library containing nc_open
configure:27808: mpicc -o conftest -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/include -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran -L/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/lib -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib conftest.c -lhdf5_hl -lhdf5 -lpthread >&5
/tmp/iccPPy109.o: In function `main':
/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/conftest.c:60: undefined reference to `nc_open'
configure:27808: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| #define HAVE_FENV_T___MXCSR 1
| #define HAVE_CF_INTERFACE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_HDF5_H 1
| #define HAVE_LIBHDF5 1
| #define HAVE_NETCDF_H 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. */
| char nc_open ();
| int
| main (void)
| {
| return nc_open ();
| ;
| return 0;
| }
configure:27808: mpicc -o conftest -g -O2 -fopenmp -pthread -I/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/include -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran -L/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/lib -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib conftest.c -lnetcdf -lhdf5_hl -lhdf5 -lpthread >&5
/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/lib/libnetcdf.so: undefined reference to `__libm_feature_flag_x_init'
/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/lib/libnetcdf.so: undefined reference to `__libm_feature_flag_x'
configure:27808: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "2.1.1"
| #define PACKAGE_STRING "cdo 2.1.1"
| #define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
| #define PACKAGE_URL ""
| #define CDO "2.1.1"
| #define PACKAGE "cdo"
| #define VERSION "2.1.1"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define restrict __restrict__
| #define HAVE_CXX17 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_WORDEXP_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_BACKTRACE 1
| #define HAVE_GETRLIMIT 1
| #define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
| #define C_VERSION "icc (ICC) 2021.6.0 20220226"
| #define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
| #define SYSTEM_TYPE "x86_64-pc-linux-gnu"
| #define HAVE_FEENABLEEXCEPT 1
| #define HAVE_FENV_T___MXCSR 1
| #define HAVE_CF_INTERFACE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_HDF5_H 1
| #define HAVE_LIBHDF5 1
| #define HAVE_NETCDF_H 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. */
| char nc_open ();
| int
| main (void)
| {
| return nc_open ();
| ;
| return 0;
| }
configure:27828: result: no
configure:27839: error: Could not link to NetCDF library

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_restrict=__restrict__
ac_cv_c_undeclared_builtin_options='none needed'
ac_cv_cxx_compiler_gnu=yes
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=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=mpicxx
ac_cv_env_DCE_UUID_C_INCLUDE_set=
ac_cv_env_DCE_UUID_C_INCLUDE_value=
ac_cv_env_DCE_UUID_C_LIB_set=
ac_cv_env_DCE_UUID_C_LIB_value=
ac_cv_env_F77_set=set
ac_cv_env_F77_value=mpif77
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_OSSP_UUID_C_INCLUDE_set=
ac_cv_env_OSSP_UUID_C_INCLUDE_value=
ac_cv_env_OSSP_UUID_C_LIB_set=
ac_cv_env_OSSP_UUID_C_LIB_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_UTIL_LINUX_UUID_C_INCLUDE_set=
ac_cv_env_UTIL_LINUX_UUID_C_INCLUDE_value=
ac_cv_env_UTIL_LINUX_UUID_C_LIB_set=
ac_cv_env_UTIL_LINUX_UUID_C_LIB_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=no
ac_cv_func_backtrace=yes
ac_cv_func_feenableexcept=yes
ac_cv_func_getpagesize=yes
ac_cv_func_getrlimit=yes
ac_cv_func_mallinfo=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_execinfo_h=yes
ac_cv_header_fnmatch_h=yes
ac_cv_header_glob_h=yes
ac_cv_header_hdf5_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_netcdf_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_times_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wordexp_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_member_fenv_t___control=no
ac_cv_member_fenv_t___mxcsr=yes
ac_cv_member_struct_stat_st_blksize=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PYTHON=/usr/bin/python3
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_BASH=/bin/sh
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=cpp
ac_cv_prog_CXXCPP='mpicxx -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_AS=as
ac_cv_prog_ac_ct_CC=mpicc
ac_cv_prog_ac_ct_CPP=cpp
ac_cv_prog_ac_ct_CXX=mpicxx
ac_cv_prog_ac_ct_DLLTOOL=false
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_ac_ct_LD='/usr/bin/ld -m elf_x86_64'
ac_cv_prog_ac_ct_NM='/usr/bin/nm -B'
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_c_openmp=-fopenmp
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_cxx11=
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_f77_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_H5DSis_scale=-lhdf5_hl
ac_cv_search_H5Fopen=-lhdf5
ac_cv_search_nc_open=no
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
acx_cv_cf_flag='-DgFortran (probed)'
acx_cv_cfortran_works=yes
acx_cv_f77_cf_flag=-DgFortran
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_pathless_PYTHON=python3
am_cv_prog_cc_c_o=yes
am_cv_python_platform=linux
am_cv_python_pyexecdir='${PYTHON_EXEC_PREFIX}/lib64/python3.6/site-packages'
am_cv_python_pythondir='${PYTHON_PREFIX}/lib/python3.6/site-packages'
am_cv_python_version=3.6
ax_cv_PTHREAD_CLANG=no
ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE
ax_cv_PTHREAD_PRIO_INHERIT=yes
ax_cv_PTHREAD_SPECIAL_FLAGS=no
ax_cv_cxx_compile_cxx17=no
ax_cv_cxx_compile_cxx17__std_gnupp17=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_F77=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_F77=-fPIC
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_pic_works_F77=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=no
lt_cv_prog_compiler_static_works_F77=no
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'

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

ACLOCAL='${SHELL} '\''/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/config/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CPPFLAGS=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AS='as'
AUTOCONF='${SHELL} '\''/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/config/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/config/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/config/missing'\'' automake-1.16'
AWK='gawk'
BASH='/bin/sh'
CC='mpicc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -fopenmp -pthread'
CLDFLAGS=''
CLIBS=''
CMOR_LIBS=''
CPP='cpp'
CPPFLAGS='-I/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/include -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include -DgFortran'
CSCOPE='cscope'
CTAGS='ctags'
CURL_INCLUDE=''
CURL_LDFLAGS=''
CXX='mpicxx -std=gnu++17'
CXXCPP='mpicxx -E -std=gnu++17'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2 -fopenmp -pthread'
CYGPATH_W='echo'
DCE_UUIDROOT=''
DCE_UUID_C_INCLUDE=''
DCE_UUID_C_LIB=''
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECCODES_INCLUDE=''
ECCODES_LIBS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_ACROSS=''
ENABLE_ALL_STATIC_FALSE=''
ENABLE_ALL_STATIC_TRUE=''
ENABLE_CDI_APP_FALSE=''
ENABLE_CDI_APP_TRUE=''
ENABLE_CDI_LIB=''
ENABLE_CDI_LIB_FALSE=''
ENABLE_CDI_LIB_TRUE=''
ENABLE_CGRIBEX=''
ENABLE_EXTRA=''
ENABLE_FORTRAN='true'
ENABLE_GRIB=''
ENABLE_GRIBAPI=''
ENABLE_HIRLAM_EXTENSIONS_FALSE=''
ENABLE_HIRLAM_EXTENSIONS_TRUE=''
ENABLE_IEG=''
ENABLE_MAGICS_FALSE=''
ENABLE_MAGICS_TRUE=''
ENABLE_NC2='no'
ENABLE_NC4='no'
ENABLE_NC4HDF5='no'
ENABLE_NC4SZLIB=''
ENABLE_NETCDF='no'
ENABLE_SERVICE=''
ENABLE_THREADS='yes'
ETAGS='etags'
EXEEXT=''
F77='mpif77'
FDB5_INCLUDE=''
FDB5_LIBS=''
FFLAGS='-g'
FGREP='/usr/bin/grep -F'
FILECMD='file'
FORTRAN_WORKS='yes'
GREP='/usr/bin/grep'
GRIB_API_INCLUDE=''
GRIB_API_LIBS=''
HAVE_CXX17='1'
HAVE_LIBGRIB_API_FALSE=''
HAVE_LIBGRIB_API_TRUE=''
HAVE_PYTHON_FALSE='#'
HAVE_PYTHON_TRUE=''
HDF5_INCLUDE=' -I/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/include'
HDF5_LIBS=' -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib -lhdf5'
HDF5_ROOT='/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS='-L/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0/lib -L/opt/ohpc/pub/libs/intel/openmpi4/hdf5/1.10.8/lib '
LIBOBJS=''
LIBS='-lhdf5_hl -lhdf5 -lpthread '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAGICS_INCLUDE=''
MAGICS_LIBS=''
MAGICS_ROOT=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/root/software/cdo/cdo-2.1.1-netcdf-4.9.0/config/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
NC_CONFIG=''
NETCDF_INCLUDE=''
NETCDF_LIBS=''
NETCDF_ROOT='/opt/ohpc/pub/libs/intel/openmpi4/netcdf/4.9.0'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OPENMP_CFLAGS='-fopenmp'
OSSP_UUIDROOT=''
OSSP_UUID_C_INCLUDE=''
OSSP_UUID_C_LIB=''
OTOOL64=''
OTOOL=''
PACKAGE='cdo'
PACKAGE_BUGREPORT='https://mpimet.mpg.de/cdo'
PACKAGE_NAME='cdo'
PACKAGE_STRING='cdo 2.1.1'
PACKAGE_TARNAME='cdo'
PACKAGE_URL=''
PACKAGE_VERSION='2.1.1'
PATH_SEPARATOR=':'
PROJ_INCLUDE=''
PROJ_LDFLAGS=''
PTHREAD_CC='mpicc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS='-lpthread'
PYTHON='/usr/bin/python3'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_PLATFORM='linux'
PYTHON_PREFIX='${prefix}'
PYTHON_VERSION='3.6'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYSTEM_TYPE='x86_64-pc-linux-gnu'
SZLIB_INCLUDE=''
SZLIB_LIBS=''
THREADS_INCLUDE=''
THREADS_LIBS=''
UDUNITS_INCLUDE=''
UDUNITS_LDFLAGS=''
USE_F77_FALSE='#'
USE_F77_TRUE=''
UTIL_LINUX_UUIDROOT=''
UTIL_LINUX_UUID_C_INCLUDE=''
UTIL_LINUX_UUID_C_LIB=''
UUID_C_INCLUDE=''
UUID_C_LIB=''
VERSION='2.1.1'
XML2_LIBS=''
ac_ct_AR='ar'
ac_ct_CC='mpicc'
ac_ct_CXX='mpicxx'
ac_ct_DUMPBIN=''
ac_ct_F77=''
am__EXEEXT_FALSE=''
am__EXEEXT_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 -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/software/cdo/cdo-2.1.1-netcdf-4.9.0/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir='${pyexecdir}/cdo'
pkgpythondir='${pythondir}/cdo'
prefix='/opt/ohpc/pub/libs/intel-openmpi4/cdo/2.1.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir='${PYTHON_EXEC_PREFIX}/lib64/python3.6/site-packages'
pythondir='${PYTHON_PREFIX}/lib/python3.6/site-packages'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs_extra=''
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "cdo"
#define PACKAGE_TARNAME "cdo"
#define PACKAGE_VERSION "2.1.1"
#define PACKAGE_STRING "cdo 2.1.1"
#define PACKAGE_BUGREPORT "https://mpimet.mpg.de/cdo"
#define PACKAGE_URL ""
#define CDO "2.1.1"
#define PACKAGE "cdo"
#define VERSION "2.1.1"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define restrict __restrict__
#define HAVE_CXX17 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GLOB_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_WORDEXP_H 1
#define HAVE_EXECINFO_H 1
#define HAVE_MALLINFO 1
#define HAVE_BACKTRACE 1
#define HAVE_GETRLIMIT 1
#define CXX_VERSION "Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000"
#define C_VERSION "icc (ICC) 2021.6.0 20220226"
#define F77_VERSION "ifort (IFORT) 2021.6.0 20220226"
#define SYSTEM_TYPE "x86_64-pc-linux-gnu"
#define HAVE_FEENABLEEXCEPT 1
#define HAVE_FENV_T___MXCSR 1
#define HAVE_CF_INTERFACE 1
#define HAVE_PTHREAD_PRIO_INHERIT 1
#define HAVE_LIBPTHREAD 1
#define HAVE_HDF5_H 1
#define HAVE_LIBHDF5 1
#define HAVE_NETCDF_H 1

configure: exit 1
    (1-1/1)