Executing: uname -s stdout: Linux ================================================================================ ================================================================================ Starting configure run at Fri, 10 Dec 2021 07:45:49 -0500 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --with-cc=cc --with-cxx=CC --with-fc=ftn LIBS="-L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa" --with-debugging=0 --with-mpiexec="srun -p ecp -N 1 -A csc314 -t 00:10:00" --with-hip=1 --with-hipc=hipcc --prefix=/gpfs/alpine/geo127/proj-shared/spock/petsc/current/arch-opt-cray --download-hypre=1 --download-kokkos=1 --download-kokkos-kernels=1 --with-kokkos-hip-arch=VEGA908 PETSC_ARCH=arch-olcf-spock Working directory: /gpfs/alpine/csc314/scratch/adams/petsc Machine platform: uname_result(system='Linux', node='login2', release='5.3.18-24.75_10.0.184-cray_shasta_c', version='#1 SMP Mon Jul 26 15:33:02 UTC 2021 (01de6ae)', machine='x86_64', processor='x86_64') Python version: 3.6.13 (default, Mar 10 2021, 18:30:35) [GCC] ================================================================================ Environmental variables __LMOD_REF_COUNT_PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH:1 __LMOD_REF_COUNT_INCLUDE_PATH_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/include/craylibs:1 ASSEMBLER_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/bin/as CRAY_LMOD_MPI=cray-mpich/8.0 SLURM_MPI_TYPE=cray_shasta LMOD_FAMILY_CRAYPE_NETWORK_VERSION=false MPICH_GPU_SUPPORT_ENABLED=1 LD_LIBRARY_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/lib:/opt/rocm-4.3.0/lib64:/opt/rocm-4.3.0/lib:/opt/rocm-4.3.0/llvm/lib:/opt/cray/pe/papi/6.0.0.10/lib64:/opt/cray/libfabric/1.11.0.4.75/lib64 __LMOD_REF_COUNT_PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig:1;/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib/pkgconfig:1 HOSTTYPE=x86_64 CRAY_DSMML_ROOTDIR=/opt/cray/pe/dsmml/0.2.2 CRAY_DSMML_DIR=/opt/cray/pe/dsmml/0.2.2/dsmml __LMOD_REF_COUNT_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin:1;/opt/rocm-4.3.0/bin:1;/opt/cray/pe/craype/2.7.11/bin:1;/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin:1;/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin:1;/opt/cray/pe/cce/12.0.3/utils/x86_64/bin:1;/opt/cray/pe/cce/12.0.3/bin:1;/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin:1;/opt/cray/pe/perftools/21.10.0/bin:1;/opt/cray/pe/papi/6.0.0.10/bin:1;/opt/cray/libfabric/1.11.0.4.75/bin:1;/opt/clmgr/sbin:1;/opt/clmgr/bin:1;/opt/sgi/sbin:1;/opt/sgi/bin:1;/usr/local/bin:1;/usr/bin:1;/bin:2;/opt/bin:1;/opt/c3/bin:1;/opt/puppetlabs/bin:1;/sbin:1;/opt/cray/pe/bin:1 _ModuleTable002_=ZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09IkRlZkFwcHMiLH0sWyJQcmdFbnYtY3JheSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvUHJnRW52LWNyYXkvOC4yLjAubHVhIixbImZ1bGxOYW1lIl09IlByZ0Vudi1jcmF5LzguMi4wIixbImxvYWRPcmRlciJdPTEzLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09IlByZ0Vudi1jcmF5Iix9LGNjZT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2NjZS8xMi4wLjMubHVhIixbImZ1bGxOYW1lIl09ImNjZS8xMi4wLjMiLFsibG9hZE9yZGVyIl09OCxwcm9wVD17fSxbInN0YWNr PE_MPICH_GTL_DIR_amd_gfx90a=-L/opt/cray/pe/mpich/8.1.10/gtl/lib PE_LIBSCI_OMP_REQUIRES= SSH_CONNECTION=68.40.185.15 50387 128.219.141.43 22 XAUTHLOCALHOSTNAME=login2 LESSCLOSE=lessclose.sh %s %s CRAY_LD_LIBRARY_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib:/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib:/opt/cray/pe/mpich/8.1.10/gtl/lib:/opt/cray/pe/dsmml/0.2.2/dsmml/lib:/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib:/opt/cray/pe/cce/12.0.3/cce/x86_64/lib:/opt/cray/pe/pmi/6.0.14/lib:/opt/cray/pe/perftools/21.10.0/lib64 HIP_PLATFORM=amd XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB PE_ENV=CRAY LINKER_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/bin/ld __LMOD_REF_COUNT_PE_DSMML_PKGCONFIG_LIBS=dsmml:1 __LMOD_REF_COUNT_PE_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 MPIR_CVAR_GPU_EAGER_DEVICE_MEM=0 LMOD_FAMILY_CRAYPE_CPU=craype-x86-rome CRAYPAT_LD_LIBRARY_PATH=/opt/cray/pe/gcc-libs:/opt/cray/gcc-libs:/opt/cray/pe/perftools/21.10.0/lib64 CRAY_LMOD_COMPILER=crayclang/10.0 FTN_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64 LMOD_MODULERCFILE=/sw/spock/lmod/etc/rc.lua CRAY_DSMML_PREFIX=/opt/cray/pe/dsmml/0.2.2/dsmml PE_PRODUCT_LIST=CRAY_LIBSCI:CRAYPE:CRAY_PMI:CRAYPE_X86_ROME:PERFTOOLS:CRAYPAT LMOD_FAMILY_MPI_VERSION=8.1.10 CRAYPAT_ROOT=/opt/cray/pe/perftools/21.10.0 PE_PERFTOOLS_MPICH_LIBDIR=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib PE_MPICH_GTL_DIR_amd_gfx906=-L/opt/cray/pe/mpich/8.1.10/gtl/lib PE_LIBSCI_MODULE_NAME=cray-libsci/21.08.1.2 LANG=en_US.UTF-8 PE_LIBSCI_GENCOMPILERS_CRAY_x86_64=9.0 LMOD_SYSTEM_NAME=spock CRAY_BINUTILS_ROOT_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/../ PE_MPICH_GTL_DIR_amd_gfx908=-L/opt/cray/pe/mpich/8.1.10/gtl/lib MEMBERWORK=/gpfs/alpine/scratch/adams PE_DSMML_MODULE_NAME=cray-dsmml WINDOWMANAGER=xterm _ModuleTable008_=Y2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImVtYWNzIix9LGxpYmZhYnJpYz17WyJmbiJdPSIvb3B0L2NyYXkvbW9kdWxlZmlsZXMvbGliZmFicmljLzEuMTEuMC40Ljc1IixbImZ1bGxOYW1lIl09ImxpYmZhYnJpYy8xLjExLjAuNC43NSIsWyJsb2FkT3JkZXIiXT0yLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImxpYmZhYnJpYyIsfSxbInBlcmZ0b29scy1iYXNlIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9wZXJmdG9vbHMtYmFzZS8yMS4xMC4wLmx1YSIsWyJmdWxsTmFtZSJdPSJwZXJmdG9vbHMtYmFzZS8yMS4xMC4wIixbImxvYWRPcmRl LESS=-M -I -R PE_MPICH_GTL_LIBS_nvidia70=-lmpi_gtl_cuda DISPLAY=localhost:12.0 LMOD_FAMILY_COMPILER_VERSION=12.0.3 HIP_DEVICE_LIB_PATH=/opt/rocm-4.3.0/amdgcn/bitcode HOSTNAME=login2 LMOD_SYSTEM_DEFAULT_MODULES=craype-x86-rome:craype-network-ofi:perftools-base:xpmem:cray-pmi:cray-pmi-lib:PrgEnv-cray:DefApps HIP_CLANG_PATH=/opt/rocm-4.3.0/llvm/bin OLDPWD=/ccs/home/adams __LMOD_REF_COUNT__LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-rome.lua:1;/opt/cray/modulefiles/libfabric/1.11.0.4.75:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:1;/opt/cray/pe/lmod/modulefiles/core/perftools-base/21.10.0.lua:1;/opt/cray/modulefiles/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:1;/opt/cray/pe/lmod/modulefiles/core/cray-pmi/6.0.14.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-pmi-lib/6.0.14.lua:1;/opt/cray/pe/lmod/modulefiles/core/cce/12.0.3.lua:1;/opt/cray/pe/lmod/modulefiles/core/craype/2.7.11.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:1;/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0/cray-mpich/8.1.10.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:1;/opt/cray/pe/lmod/modulefiles/core/PrgEnv-cray/8.2.0.lua:1;/sw/spock/modulefiles/DefApps/default.lua:1;/sw/spock/modulefiles/rocm/4.3.0.lua:1;/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core/emacs/27.2.lua:1 ROCMINFO_PATH=/opt/rocm-4.3.0 CSHEDIT=emacs GPG_TTY=/dev/pts/14 LESS_ADVANCED_PREPROCESSOR=no DEBUG=FALSE COLORTERM=1 __LMOD_REF_COUNT_XDG_DATA_DIRS=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/librsvg-2.51.0-rj5a4ieg3ohsfiwgjfm6emgb32whivru/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/shared-mime-info-1.9-5eh3sccaccytwtj5r5umz63tsvjykdlr/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/share:1;/usr/share:1 GCC_X86_64=/opt/cray/pe/gcc/8.1.0/snos ASSEMBLER_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/as PETSC_ARCH=arch-summit-dbg-gnu-cuda _ModuleTable007_=fSxbImNyYXlwZS14ODYtcm9tZSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NyYXlwZS10YXJnZXRzL2RlZmF1bHQvY3JheXBlLXg4Ni1yb21lLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5cGUteDg2LXJvbWUiLFsibG9hZE9yZGVyIl09MSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5cGUteDg2LXJvbWUiLH0sZW1hY3M9e1siZm4iXT0iL3N3L3Nwb2NrL3NwYWNrLWVudnMvYmFzZS9tb2R1bGVzL3NwYWNrL2xpbnV4LXNsZXMxNS14ODZfNjQvQ29yZS9lbWFjcy8yNy4yLmx1YSIsWyJmdWxsTmFtZSJdPSJlbWFjcy8yNy4yIixbImxvYWRPcmRlciJdPTE2LHByb3BUPXt9LFsic3Rh CRAY_PERFTOOLS_VERSION=21.10.0 ROCM_PATH=/opt/rocm-4.3.0 __LMOD_REF_COUNT_NLSPATH=/opt/cray/pe/cce/12.0.3/cce/x86_64/share/nls/En/%N.cat:1 LMOD_FAMILY_CRAYPE_NETWORK=craype-network-ofi COMPILERRT_PATH_X86_64=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux LMOD_FAMILY_CRAYPE_VERSION=2.7.11 PE_XPMEM_PKGCONFIG_LIBS=cray-xpmem APP2_STATE=21.10.0 LINKER_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld MACHTYPE=x86_64-suse-linux PE_LIBSCI_FIXED_PRGENV=CRAYCLANG __LMOD_REF_COUNT_LD_LIBRARY_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/lib:1;/opt/rocm-4.3.0/lib64:1;/opt/rocm-4.3.0/lib:1;/opt/rocm-4.3.0/llvm/lib:1;/opt/cray/pe/papi/6.0.0.10/lib64:1;/opt/cray/libfabric/1.11.0.4.75/lib64:1 __LMOD_REF_COUNT_PKG_CONFIG_PATH=/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:1;/opt/cray/pe/craype/2.7.11/pkg-config:1;/opt/cray/pe/pmi/6.0.14/lib/pkgconfig:1;/opt/cray/libfabric/1.11.0.4.75/lib64/pkgconfig:1 USE_EB=TRUE PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:PE_MPICH:PE_DSMML:PE_PMI:PE_XPMEM CRAY_MPICH_BASEDIR=/opt/cray/pe/mpich/8.1.10/ofi PE_MPICH_GTL_DIR_nvidia80=-L/opt/cray/pe/mpich/8.1.10/gtl/lib _ModuleTable004_=ZE9yZGVyIl09MTIscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheS1saWJzY2kiLH0sWyJjcmF5LW1waWNoIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29tbmV0L2NyYXljbGFuZy8xMC4wL29maS8xLjAvY3JheS1tcGljaC84LjEuMTAubHVhIixbImZ1bGxOYW1lIl09ImNyYXktbXBpY2gvOC4xLjEwIixbImxvYWRPcmRlciJdPTExLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktbXBpY2giLH0sWyJjcmF5LXBtaSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1wbWkv PE_LIBSCI_GENCOMPILERS_GNU_x86_64=9.1 MINICOM=-c on PAT_BUILD_PAPI_LIBDIR=/opt/cray/pe/papi/6.0.0.10/lib64 C3_RSH=ssh -oConnectTimeout=10 -oForwardX11=no PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_GTL_DIR_@accelerator@:PE_MPICH_GTL_LIBS_@accelerator@ PE_MPICH_PKGCONFIG_LIBS=mpich OSTYPE=linux PE_LEVEL=12.0 OLCF_FAMILY_CRAYPE=craype XDG_SESSION_ID=6106 __LMOD_REF_COUNT_INCLUDE_PATH_X86_64=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/include:1;/opt/cray/pe/cce/12.0.3/cce/x86_64/include/craylibs:1 CRAY_DSMML_VER=0.2.2 USER=adams PAGER=less CRAY_CXX_IPA_LIBS_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/lib/libcray-c++-rts.a LMOD_FAMILY_PRGENV_VERSION=8.2.0 OLCF_FAMILY_CRAYPE_NETWORK_VERSION=false OLCF_ROCM_ROOT=/opt/rocm-4.3.0 MPI=TRUE _ModuleTable012_=Q29yZSIsIi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmUiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdCIsIi9zdy9zcG9jay9tb2R1bGVmaWxlcyIsIi9vcHQvY3JheS9tb2R1bGVmaWxlcyIsIi9vcHQvbW9kdWxlZmlsZXMiLH0sWyJzeXN0ZW1CYXNlTVBBVEgiXT0iL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZTovb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlOi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZp CRAY_CPU_TARGET=x86-rome PE_LIBSCI_VOLATILE_PRGENV=AMD CRAY GNU PKGCONFIG_ENABLED=1 __LMOD_REF_COUNT_MODULEPATH=/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cray-mpich/8.1.10-wk3zvtt/cce/12.0.3:1;/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cce/12.0.3:1;/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core:1;/opt/cray/pe/lmod/modulefiles/mpi/crayclang/10.0/ofi/1.0/cray-mpich/8.0:1;/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/compiler/crayclang/10.0:1;/opt/cray/pe/lmod/modulefiles/mix_compilers:1;/opt/cray/pe/lmod/modulefiles/perftools/21.10.0:1;/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/cpu/x86-rome/1.0:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1;/opt/cray/pe/lmod/modulefiles/core:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default:1;/sw/spock/modulefiles:1;/opt/cray/modulefiles:1;/opt/modulefiles:1 MORE=-sl CRAY_PERFTOOLS_PREFIX=/opt/cray/pe/perftools/21.10.0 PE_FORTRAN_PKGCONFIG_LIBS=mpichf90 __LMOD_REF_COUNT_LOADEDMODULES=craype-x86-rome:1;libfabric/1.11.0.4.75:1;craype-network-ofi:1;perftools-base/21.10.0:1;xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:1;cray-pmi/6.0.14:1;cray-pmi-lib/6.0.14:1;cce/12.0.3:1;craype/2.7.11:1;cray-dsmml/0.2.2:1;cray-mpich/8.1.10:1;cray-libsci/21.08.1.2:1;PrgEnv-cray/8.2.0:1;DefApps/default:1;rocm/4.3.0:1;emacs/27.2:1 __LMOD_REF_COUNT_CRAY_LD_LIBRARY_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib:1;/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib:1;/opt/cray/pe/mpich/8.1.10/gtl/lib:1;/opt/cray/pe/dsmml/0.2.2/dsmml/lib:1;/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib:1;/opt/cray/pe/cce/12.0.3/cce/x86_64/lib:1;/opt/cray/pe/pmi/6.0.14/lib:1;/opt/cray/pe/perftools/21.10.0/lib64:1 CRAY_CXX_IPA_LIBS=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/libcray-c++-rts.a OLCF_FAMILY_MPI_VERSION=8.1.10 CRAY_LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 PWD=/gpfs/alpine/csc314/scratch/adams/petsc OLCF_FAMILY_COMPILER_VERSION=12.0.3 PE_MPICH_GTL_DIR_nvidia70=-L/opt/cray/pe/mpich/8.1.10/gtl/lib HOME=/ccs/home/adams OLCF_FAMILY_CRAYPE_CPU=craype-x86-rome CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pe/pmi/6.0.14/include CRAYLIBS_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/lib PELOCAL_PRGENV=true CMAKE_PREFIX_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs:/opt/rocm-4.3.0/hip:/opt/rocm-4.3.0 PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH GIT_PS1_SHOWDIRTYSTATE=1 PE_LIBSCI_GENCOMPS_AMD_x86_64=40 HOST=login2 __LMOD_REF_COUNT_PE_PMI_PKGCONFIG_LIBS=cray-pmi:1 SSH_CLIENT=68.40.185.15 50387 22 LMOD_VERSION=8.3.1 DIM=3 XNLSPATH=/usr/X11R6/lib/X11/nls OLCF_EMACS_ROOT=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90 PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci CRAY_LMOD_CPU=x86-rome/1.0 PE_MPICH_GTL_LIBS_nvidia80=-lmpi_gtl_cuda PE_LIBSCI_OMP_REQUIRES_openmp=_mp LMOD_FAMILY_CRAYPE_CPU_VERSION=false BASH_ENV=/usr/share/lmod/lmod/init/bash CRAYLIBS_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib XDG_DATA_DIRS=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/librsvg-2.51.0-rj5a4ieg3ohsfiwgjfm6emgb32whivru/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/shared-mime-info-1.9-5eh3sccaccytwtj5r5umz63tsvjykdlr/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/share:/usr/share GI_TYPELIB_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/at-spi2-core-2.40.1-elbd2suy6xjguksoyixc2opjn5omftxp/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/lib/girepository-1.0 __LMOD_REF_COUNT_PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 CRAY_BINUTILS_ROOT=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/../ CRAY_LMOD_NET=ofi/1.0 AUTOGEN_PARALLEL=1 __LMOD_REF_COUNT_HIPCC_COMPILE_FLAGS_APPEND=--rocm-path=/opt/rocm-4.3.0:1 PE_PMI_PKGCONFIG_LIBS=cray-pmi __LMOD_REF_COUNT_PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:1;PE_MPICH:1;PE_DSMML:1;PE_PMI:1;PE_XPMEM:1 PE_MPICH_MODULE_NAME=cray-mpich __LMOD_REF_COUNT_PE_MPICH_GENCOMPILERS_CRAYCLANG=10.0:1 OLCF_FAMILY_MPI=cray-mpich NLSPATH=/opt/cray/pe/cce/12.0.3/cce/x86_64/share/nls/En/%N.cat CRAY_LIBSCI_DIR=/opt/cray/pe/libsci/21.08.1.2 LIBGL_DEBUG=quiet PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig __LMOD_REF_COUNT_PE_MPICH_FIXED_PRGENV=CRAYCLANG:1 OLCF_FAMILY_CRAYPE_VERSION=2.7.11 __LMOD_REF_COUNT_LIBRARY_PATH=/opt/rocm-4.3.0/llvm/lib:1 LIBSCI_VERSION=21.08.1.2 PROFILEREAD=true LIBRARY_PATH=/opt/rocm-4.3.0/llvm/lib HSA_PATH=/opt/rocm-4.3.0 __LMOD_REF_COUNT_GI_TYPELIB_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/at-spi2-core-2.40.1-elbd2suy6xjguksoyixc2opjn5omftxp/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/lib/girepository-1.0:1 PERFTOOLS_VERSION=21.10.0 __LMOD_REF_COUNT_CMAKE_PREFIX_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs:1;/opt/rocm-4.3.0/hip:1;/opt/rocm-4.3.0:1 CRAY_BINUTILS_VERSION=/opt/cray/pe/cce/12.0.3 CRAY_CCE_CLANGSHARE=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share LMOD_sys=Linux _ModuleTable010_=WyJsb2FkT3JkZXIiXT01LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09InhwbWVtIix9LH0sbXBhdGhBPXsiL3N3L3Nwb2NrL3NwYWNrLWVudnMvYmFzZS9tb2R1bGVzL3NwYWNrL2NyYXktc2xlczE1LXg4Nl82NC9jcmF5LW1waWNoLzguMS4xMC13azN6dnR0L2NjZS8xMi4wLjMiLCIvc3cvc3BvY2svc3BhY2stZW52cy9iYXNlL21vZHVsZXMvc3BhY2svY3JheS1zbGVzMTUteDg2XzY0L2NjZS8xMi4wLjMiLCIvc3cvc3BvY2svc3BhY2stZW52cy9iYXNlL21vZHVsZXMvc3BhY2svbGludXgtc2xlczE1LXg4Nl82NC9Db3JlIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbXBpL2NyYXljbGFuZy8xMC4wL29m PE_PKGCONFIG_LIBS=libsci_mpi:libsci:mpich:dsmml CRAY_PMI_PREFIX=/opt/cray/pe/pmi/6.0.14 HIPCC_COMPILE_FLAGS_APPEND=--rocm-path=/opt/rocm-4.3.0 _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXtbIlByZ0VudiJdPSJQcmdFbnYtY3JheSIsWyJjb21waWxlciJdPSJjY2UiLFsiY3JheXBlIl09ImNyYXlwZSIsWyJjcmF5cGVfY3B1Il09ImNyYXlwZS14ODYtcm9tZSIsWyJjcmF5cGVfbmV0d29yayJdPSJjcmF5cGUtbmV0d29yay1vZmkiLFsibXBpIl09ImNyYXktbXBpY2giLH0sbVQ9e0RlZkFwcHM9e1siZm4iXT0iL3N3L3Nwb2NrL21vZHVsZWZpbGVzL0RlZkFwcHMvZGVmYXVsdC5sdWEiLFsiZnVsbE5hbWUiXT0iRGVmQXBwcy9kZWZhdWx0IixbImxvYWRPcmRlciJdPTE0LHByb3BUPXt9LFsic3RhY2tE LOADEDMODULES=craype-x86-rome:libfabric/1.11.0.4.75:craype-network-ofi:perftools-base/21.10.0:xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:cray-pmi/6.0.14:cray-pmi-lib/6.0.14:cce/12.0.3:craype/2.7.11:cray-dsmml/0.2.2:cray-mpich/8.1.10:cray-libsci/21.08.1.2:PrgEnv-cray/8.2.0:DefApps/default:rocm/4.3.0:emacs/27.2 OLCF_FAMILY_CRAYPE_CPU_VERSION=false CRAYPE_NETWORK_TARGET=ofi GIT_PS1_SHOWUPSTREAM=auto INCLUDE_PATH_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/include/craylibs CRAY_PE_USE_CLANG=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/clang _ModuleTable006_=ZmlsZXMvY29yZS9jcmF5cGUvMi43LjExLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5cGUvMi43LjExIixbImxvYWRPcmRlciJdPTkscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheXBlIix9LFsiY3JheXBlLW5ldHdvcmstb2ZpIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdC9jcmF5cGUtbmV0d29yay1vZmkubHVhIixbImZ1bGxOYW1lIl09ImNyYXlwZS1uZXR3b3JrLW9maSIsWyJsb2FkT3JkZXIiXT0zLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXlwZS1uZXR3b3JrLW9maSIs __LMOD_REF_COUNT_MANPATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/share/man:1;/opt/cray/pe/libsci/21.08.1.2/man:1;/opt/cray/pe/man/csmlversion:1;/opt/cray/pe/mpich/8.1.10/ofi/man:1;/opt/cray/pe/mpich/8.1.10/man/mpich:1;/opt/cray/pe/dsmml/0.2.2/dsmml/man:1;/opt/cray/pe/craype/2.7.11/man:1;/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/man:1;/opt/cray/pe/cce/12.0.3/man:1;/opt/cray/pe/pmi/6.0.14/man:1;/opt/cray/pe/perftools/21.10.0/man:1;/opt/cray/pe/papi/6.0.0.10/share/pdoc/man:1;/opt/cray/libfabric/1.11.0.4.75/share/man:1;/usr/share/lmod/lmod/share/man:1;/usr/local/man:1;/usr/share/man:1;/opt/c3/man:1;/opt/puppetlabs/puppet/share/man:1;/opt/clmgr/man:1;/opt/sgi/share/man:1;/opt/clmgr/share/man:1;/opt/clmgr/lib/cm-cli/man:1 _ModuleTable003_=RGVwdGgiXT0xLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjY2UiLH0sWyJjcmF5LWRzbW1sIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9jcmF5LWRzbW1sLzAuMi4yLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LWRzbW1sLzAuMi4yIixbImxvYWRPcmRlciJdPTEwLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktZHNtbWwiLH0sWyJjcmF5LWxpYnNjaSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1saWJzY2kvMjEuMDguMS4yLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LWxpYnNjaS8yMS4wOC4xLjIiLFsibG9h GCC_AARCH64=/opt/gcc-cross-aarch64/8.1.0/aarch64 LMOD_ROOT=/usr/share/lmod SSH_TTY=/dev/pts/14 PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig:/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib/pkgconfig FROM_HEADER= CRAY_MPICH_ROOTDIR=/opt/cray/pe/mpich/8.1.10 _ModuleTable013_=bGVzL2NyYXlwZS10YXJnZXRzL2RlZmF1bHQ6L3N3L3Nwb2NrL21vZHVsZWZpbGVzOi9vcHQvY3JheS9tb2R1bGVmaWxlczovb3B0L21vZHVsZWZpbGVzIix9 MAIL=/var/spool/mail/adams CRAY_CCE_SHARE=/opt/cray/pe/cce/12.0.3/cce/x86_64/share CRAY_BINUTILS_BIN_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/bin LESSKEY=/etc/lesskey.bin _ModuleTable009_=ciJdPTQscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MCxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0icGVyZnRvb2xzLWJhc2UiLH0scm9jbT17WyJmbiJdPSIvc3cvc3BvY2svbW9kdWxlZmlsZXMvcm9jbS80LjMuMC5sdWEiLFsiZnVsbE5hbWUiXT0icm9jbS80LjMuMCIsWyJsb2FkT3JkZXIiXT0xNSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJyb2NtLzQuMy4wIix9LHhwbWVtPXtbImZuIl09Ii9vcHQvY3JheS9tb2R1bGVmaWxlcy94cG1lbS8yLjIuNDAtMi4xXzIuNDRfX2czY2YzMzI1LnNoYXN0YSIsWyJmdWxsTmFtZSJdPSJ4cG1lbS8yLjIuNDAtMi4xXzIuNDRfX2czY2YzMzI1LnNoYXN0YSIs TERM=xterm-256color SHELL=/bin/bash CRAY_MPICH_VER=8.1.10 PE_MPICH_GENCOMPILERS_CRAYCLANG=10.0 LMOD_ADMIN_FILE=/sw/spock/lmod/etc/admin.list CRAY_BINUTILS_ROOT_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../ PE_MPICH_FIXED_PRGENV=CRAYCLANG OLCF_FAMILY_PRGENV_VERSION=8.2.0 LMOD_SITE_NAME=OLCF PE_LIBSCI_GENCOMPILERS_AMD_x86_64=4.0 LMOD_FAMILY_PRGENV=PrgEnv-cray _ModuleTable_Sz_=13 CRAY_LIBSCI_VERSION=21.08.1.2 MPICH_SMP_SINGLE_COPY_MODE=CMA CRAY_CXX_IPA_LIBS_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/libcray-c++-rts.a CRAY_BINUTILS_BIN_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/bin LMOD_FAMILY_COMPILER=cce USE_PCM_DB=2 CC_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64 XLOCALEDIR=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/libx11-1.7.0-mlxeyo46fwcfxyjrg2znncrjkrttjcnh/share/X11/locale:/usr/share/X11/locale CRAY_DSMML_BASEDIR=/opt/cray/pe/dsmml/0.2.2 FORTRAN_SYSTEM_MODULE_NAMES=ftn_lib_definitions CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 PROJWORK=/gpfs/alpine/proj-shared CRAY_PE_CCE_VARIANT=CC=Clang:FTN=Classic PYTHONSTARTUP=/etc/pythonstart LLVM_PATH=/opt/rocm-4.3.0/llvm CRAY_CC_VERSION=12.0.3 SHLVL=1 LANGUAGE=en_US.UTF-8 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 HIP_COMPILER=clang HIP_PATH=/opt/rocm-4.3.0/hip CRAY_BINUTILS_BIN=/opt/cray/pe/cce/12.0.3/binutils/x86_64/bin MANPATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/share/man:/opt/cray/pe/libsci/21.08.1.2/man:/opt/cray/pe/man/csmlversion:/opt/cray/pe/mpich/8.1.10/ofi/man:/opt/cray/pe/mpich/8.1.10/man/mpich:/opt/cray/pe/dsmml/0.2.2/dsmml/man:/opt/cray/pe/craype/2.7.11/man:/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/man:/opt/cray/pe/cce/12.0.3/man:/opt/cray/pe/pmi/6.0.14/man:/opt/cray/pe/perftools/21.10.0/man:/opt/cray/pe/papi/6.0.0.10/share/pdoc/man:/opt/cray/libfabric/1.11.0.4.75/share/man:/usr/share/lmod/lmod/share/man:/usr/local/man:/usr/share/man:/opt/c3/man:/opt/puppetlabs/puppet/share/man:/opt/clmgr/man:/opt/sgi/share/man:/opt/clmgr/share/man:/opt/clmgr/lib/cm-cli/man CRAY_FTN_VERSION=12.0.3 CRAY_DSMML_VERSION=0.2.2 MPICH_DIR=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0 OSCAR_HOME=/opt/oscar OLCF_FAMILY_PRGENV=PrgEnv-cray MODULEPATH=/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cray-mpich/8.1.10-wk3zvtt/cce/12.0.3:/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cce/12.0.3:/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core:/opt/cray/pe/lmod/modulefiles/mpi/crayclang/10.0/ofi/1.0/cray-mpich/8.0:/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0:/opt/cray/pe/lmod/modulefiles/compiler/crayclang/10.0:/opt/cray/pe/lmod/modulefiles/mix_compilers:/opt/cray/pe/lmod/modulefiles/perftools/21.10.0:/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:/opt/cray/pe/lmod/modulefiles/cpu/x86-rome/1.0:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core:/opt/cray/pe/lmod/modulefiles/core:/opt/cray/pe/lmod/modulefiles/craype-targets/default:/sw/spock/modulefiles:/opt/cray/modulefiles:/opt/modulefiles CRAY_MPICH_DIR=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0 LMOD_FAMILY_CRAYPE=craype LOGNAME=adams __LMOD_REF_COUNT_XLOCALEDIR=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/libx11-1.7.0-mlxeyo46fwcfxyjrg2znncrjkrttjcnh/share/X11/locale:1;/usr/share/X11/locale:1 DEVICE_LIB_PATH=/opt/rocm-4.3.0/amdgcn/bitcode DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/62983/bus CRAY_PMI_VERSION=6.0.14 CRAY_MPICH_VERSION=8.1.10 XDG_RUNTIME_DIR=/run/user/62983 MODULEPATH_ROOT=/usr/share/modulefiles LMOD_PACKAGE_PATH=/sw/spock/lmod/libexec PE_MPICH_GTL_LIBS_amd_gfx906=-lmpi_gtl_hsa PE_DSMML_PKGCONFIG_LIBS=dsmml PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@:PE_SCI_EXT_LIBPATH:PE_SCI_EXT_LIBNAME PE_LIBSCI_GENCOMPS_CRAY_x86_64=90 XDG_CONFIG_DIRS=/etc/xdg PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin:/opt/rocm-4.3.0/bin:/opt/cray/pe/craype/2.7.11/bin:/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin:/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin:/opt/cray/pe/cce/12.0.3/utils/x86_64/bin:/opt/cray/pe/cce/12.0.3/bin:/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin:/opt/cray/pe/perftools/21.10.0/bin:/opt/cray/pe/papi/6.0.0.10/bin:/opt/cray/libfabric/1.11.0.4.75/bin:/opt/clmgr/sbin:/opt/clmgr/bin:/opt/sgi/sbin:/opt/sgi/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/c3/bin:/opt/puppetlabs/bin:/sbin:/opt/cray/pe/bin PE_MPICH_GTL_LIBS_amd_gfx908=-lmpi_gtl_hsa __LMOD_REF_COUNT_PE_PRODUCT_LIST=CRAY_LIBSCI:1;CRAYPE:1;CRAY_PMI:1;CRAYPE_X86_ROME:1;PERFTOOLS:1;CRAYPAT:1 __LMOD_REF_COUNT_FORTRAN_SYSTEM_MODULE_NAMES=ftn_lib_definitions:1 _LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-rome.lua:/opt/cray/modulefiles/libfabric/1.11.0.4.75:/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:/opt/cray/pe/lmod/modulefiles/core/perftools-base/21.10.0.lua:/opt/cray/modulefiles/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:/opt/cray/pe/lmod/modulefiles/core/cray-pmi/6.0.14.lua:/opt/cray/pe/lmod/modulefiles/core/cray-pmi-lib/6.0.14.lua:/opt/cray/pe/lmod/modulefiles/core/cce/12.0.3.lua:/opt/cray/pe/lmod/modulefiles/core/craype/2.7.11.lua:/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0/cray-mpich/8.1.10.lua:/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:/opt/cray/pe/lmod/modulefiles/core/PrgEnv-cray/8.2.0.lua:/sw/spock/modulefiles/DefApps/default.lua:/sw/spock/modulefiles/rocm/4.3.0.lua:/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core/emacs/27.2.lua OLCF_FAMILY_COMPILER=cce PS1=\A\[\033[;1m\]\[\033[35m\]$(ret=$?; [ $ret -ne 0 ] && echo -n " $ret")\[\033[;0m\] \[\033[34m\]$(__git_ps1 '%s') \[\033[34m\]$LMOD_SYSTEM_NAME:\[\033[32m\]\w\[\033[0m\]\$ MODULESHOME=/usr/share/lmod/lmod PKG_CONFIG_PATH=/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:/opt/cray/pe/craype/2.7.11/pkg-config:/opt/cray/pe/pmi/6.0.14/lib/pkgconfig:/opt/cray/libfabric/1.11.0.4.75/lib64/pkgconfig LMOD_SETTARG_FULL_SUPPORT=no LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 PETSC_DIR=/gpfs/alpine/csc314/scratch/adams/petsc G_BROKEN_FILENAMES=1 _ModuleTable011_=aS8xLjAvY3JheS1tcGljaC84LjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb21uZXQvY3JheWNsYW5nLzEwLjAvb2ZpLzEuMCIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvbXBpbGVyL2NyYXljbGFuZy8xMC4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbWl4X2NvbXBpbGVycyIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL3BlcmZ0b29scy8yMS4xMC4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbmV0L29maS8xLjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcHUveDg2LXJvbWUvMS4wIiwiL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eCIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMv PE_MPICH_GTL_LIBS_amd_gfx90a=-lmpi_gtl_hsa HISTSIZE=100 CRAYPE_DIR=/opt/cray/pe/craype/2.7.11 LMOD_PKG=/usr/share/lmod/lmod __LMOD_REF_COUNT_PE_MPICH_PKGCONFIG_LIBS=mpich:1 OFFLOAD_INIT=on_start USE_PETSC=TRUE __LMOD_REF_COUNT_PE_PKGCONFIG_LIBS=libsci_mpi:1;libsci:1;mpich:1;dsmml:1 CPU=x86_64 CRAYPE_VERSION=2.7.11 INCLUDE_PATH_X86_64=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/include:/opt/cray/pe/cce/12.0.3/cce/x86_64/include/craylibs OLCF_FAMILY_CRAYPE_NETWORK=craype-network-ofi _ModuleTable005_=Ni4wLjE0Lmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LXBtaS82LjAuMTQiLFsibG9hZE9yZGVyIl09Nixwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5LXBtaSIsfSxbImNyYXktcG1pLWxpYiJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1wbWktbGliLzYuMC4xNC5sdWEiLFsiZnVsbE5hbWUiXT0iY3JheS1wbWktbGliLzYuMC4xNCIsWyJsb2FkT3JkZXIiXT03LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktcG1pLWxpYiIsfSxjcmF5cGU9e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxl LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pe/pmi/6.0.14/lib WORLDWORK=/gpfs/alpine/world-shared CRAY_MPICH_PREFIX=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0 OMP_NUM_THREADS=1 LESSOPEN=lessopen.sh %s CRAYPAT_OPTS_EXECUTABLE=libexec64/opts CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/include PE_LIBSCI_GENCOMPS_GNU_x86_64=91 LMOD_DIR=/usr/share/lmod/lmod/libexec LMOD_FAMILY_MPI=cray-mpich BASH_FUNC_module%%=() { eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh) } BASH_FUNC_ml%%=() { eval $($LMOD_DIR/ml_cmd "$@") } _=../arch-olcf-spock.py Files in path provided by default path /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin: etags ctags emacsclient ebrowse emacs-27.2 emacs /opt/rocm-4.3.0/bin: .hipVersion amdclang amdclang++ amdclang-cl amdclang-cpp amdflang aompcc clang-ocl findcode.sh finduncodep.sh gputable.txt hip_embed_pch.sh hipcc hipcc_cmake_linker_helper hipconfig hipconvertinplace-perl.sh hipconvertinplace.sh hipdemangleatp hipexamine-perl.sh hipexamine.sh hipify-cmakefile hipify-perl hipvars.pm mygpu mymcpu roc-obj-extract roc-obj-ls rocgdb rocm-smi rocm_agent_enumerator rocm_smi.py rocminfo rocprof rsmiBindings.py /opt/cray/pe/craype/2.7.11/bin: 2.25.0.craype.ld CC cc driver ftn /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin: ar as ld ld.bfd ld.gold nm objcopy objdump ranlib readelf strip /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin: aarch64-linux-gnu-addr2line aarch64-linux-gnu-ar aarch64-linux-gnu-as aarch64-linux-gnu-c++filt aarch64-linux-gnu-dwp aarch64-linux-gnu-elfedit aarch64-linux-gnu-gprof aarch64-linux-gnu-ld aarch64-linux-gnu-ld.bfd aarch64-linux-gnu-ld.gold aarch64-linux-gnu-nm aarch64-linux-gnu-objcopy aarch64-linux-gnu-objdump aarch64-linux-gnu-ranlib aarch64-linux-gnu-readelf aarch64-linux-gnu-size aarch64-linux-gnu-strings aarch64-linux-gnu-strip /opt/cray/pe/cce/12.0.3/utils/x86_64/bin: assign c++filt clx explain fdcp ftnlx ftnmgen ftnsplit /opt/cray/pe/cce/12.0.3/bin: crayCC craycc craycxx crayftn /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin: FileCheck bugpoint c-index-test clang clang++ clang-12 clang-check clang-cl clang-cpp clang-extdef-mapping clang-format clang-offload-bundler clang-offload-wrapper clang-refactor clang-rename clang-scan-deps clang-upc diagtool dsymutil git-clang-format hmaptool ld.lld ld64.lld ld64.lld.darwinnew llc lld lld-link lli llvm-addr2line llvm-ar llvm-as llvm-bcanalyzer llvm-bitcode-strip llvm-c-test llvm-cat llvm-cfi-verify llvm-config llvm-cov llvm-cvtres llvm-cxxdump llvm-cxxfilt llvm-cxxmap llvm-diff llvm-dis llvm-dlltool llvm-dwarfdump llvm-dwp llvm-elfabi llvm-exegesis llvm-extract llvm-gsymutil llvm-ifs llvm-install-name-tool llvm-jitlink llvm-lib llvm-libtool-darwin llvm-link llvm-lipo llvm-lto llvm-lto2 llvm-mc llvm-mca llvm-ml llvm-modextract llvm-mt llvm-nm llvm-objcopy llvm-objdump llvm-opt-report llvm-pdbutil llvm-profdata llvm-profgen llvm-ranlib llvm-rc llvm-readelf llvm-readobj llvm-reduce llvm-rtdyld llvm-size llvm-split llvm-stress llvm-strings llvm-strip llvm-symbolizer llvm-tblgen llvm-undname llvm-xray opt reveal-analysis sancov sanstats scan-build scan-view split-file verify-uselistorder wasm-ld /opt/cray/pe/perftools/21.10.0/bin: app2 grid_order jman pat_build pat_help pat_info pat_opts pat_report pat_run pat_view reveal /opt/cray/pe/papi/6.0.0.10/bin: papi_avail papi_clockres papi_command_line papi_component_avail papi_cost papi_decode papi_error_codes papi_event_chooser papi_mem_info papi_multiplex_cost papi_native_avail papi_version papi_xml_event_info /opt/cray/libfabric/1.11.0.4.75/bin: fi_strerror fi_pingpong fi_info Warning accessing /opt/clmgr/sbin gives errors: [Errno 2] No such file or directory: '/opt/clmgr/sbin' /opt/clmgr/bin: pcm_console config_client cmu_stop_monitoring cmu_start_monitoring cmu_restart_monitoring cmu_lock cm SmallMonitoringDaemon SendUdpMessage SecondaryServerMonitoringDaemon /opt/sgi/sbin: tempohbc repair-ssh-root-keys ipmiwrapper cattr /opt/sgi/bin: cnodes cminfo chosts /usr/local/bin: /usr/bin: newaliases mailq jacamar gitlab-runner zypper zypp-NameReqPrv zypp-CheckAccessDeleted zsh znew zmore zipsplit zipnote zipgrep-plain zipdetails zipcloak zip zgrep zforce zfgrep zeisstopnm zegrep zdiff zcmp zcat yuy2topam yuvtoppm yuvsplittoppm yupdate yume-opkg yume yum-repoquery3 yum-repoquery yes ycpc ybmtopbm yacc xznew xzmore xzless xzgrep xzdiff xzdec xz xxd xwdtopnm xvminitoppm xtotroff xsubpp xsltproc xpstat xpmtoppm xmllint xmlcatalog xml2-config xkibitz ximtoppm xbmtopbm xauth xargs pkg-config x86_energy_perf_policy x86_64-suse-linux-gnu-pkg-config write wmixtract wmidump winicontoppm winicontopam whoami who which whereis whatis wget wdctl wc wbmptopbm watchgnupg watch wall w vmstat vlock vitmp vimtutor vim-nox11 vdir uz uuidparse uuidgen utmpdump users uptime updateinfoxml2solv updatedb update-mime-database unzipsfx-plain unzip-plain unsquashfs unshare unmunge unlink unix-lpr.sh uniq unicode_stop unicode_start gunzip unexpand uncompress unbuffer uname umount ul udevadm tzselect turbostat tty tsort tset trust truncate true troff traptoemail perf tracepath trace tr tput touch top toe tload tknewsbiff tkmib timeout timedatectl timed-run timed-read time tifftopnm tic thinkjettopbm tgz tgatoppm tfmtodit testsolv test termprobes tee tclsh8.6 tc_wrap.py tbl taskset tar tapestat tail tagmedia tack tac tabs systemd-tty-ask-password-agent systemd-tmpfiles systemd-sysusers systemd-stdio-bridge systemd-socket-activate systemd-run systemd-path systemd-notify systemd-mount systemd-machine-id-setup systemd-inhibit systemd-hwdb systemd-firstboot systemd-escape systemd-detect-virt systemd-delta systemd-cgtop systemd-cgls systemd-cat systemd-ask-password systemd-analyze systemctl systemconfigurator syslinux2ansi syslinux-mtools syslinux sync svgtopam susetags2solv sunicontopnm sum sudoreplay sudo su stty strip strings strigger strace-log-merge strace-graph strace stdlogctl stdbuf stat st4topgm sstat sss_ssh_knownhostsproxy sss_ssh_authorizedkeys ssltap sshare ssh-keyscan ssh-keygen ssh-copy-id ssh-agent ssh-add ssh srun srftopam sreport squeue sqlite3_analyzer sputoppm sprof sprio spottopgm split splain spctoppm spawn_login spawn_console sort soelim snmpwalk snmpvacm snmpusm snmptrap snmptranslate snmptls snmptest snmptable snmpstatus snmpset snmpnetstat snmpgetnext snmpget snmpdf snmpdelta snmpconf snmpcheck snmpbulkwalk snmpbulkget skill snmp-bridge-mib snice smtpd.py smixlate smistrip smiquery smilint smidump smidiff smicache slptool sleep sldtoppm slabtop size sirtopnm singularity sinfo signver signtool shuf shred showkey showconsolefont showchar shasum sha512sum sha384sum sha256sum sha224sum sha1sum sha1pass sgitopnm sgi_config_changed sgather sftp setvtrgb setvesablank setterm setsid setpriv setpalette setmetamode setlogcons setleds setkeycodes setfont setarch seq sed sdiff sdiag scrontab scriptreplay script screendump screen scp scontrol scdaemon scancel sbigtopgm sbcast sbatch sattach sar salloc safe-rm sadf sacctmgr sacct s3 ruby runcon run-singularity ruby.ruby2.5 ruby-find-versioned rsyncstats rsync rstpep2html rst2xml rst2xetex rst2s5 rst2pseudoxml rst2odt_prepstyles rst2odt rst2man rst2latex rst2html5-docutils rst2html4-docutils rst2html rpmspec rpmsign rpms2solv rpmqpack rpmmd2solv rpmlocate rpmkeys rpmgraph rpmdb2solv rpmdb rpm2cpio rpm rpcgen roff2dvi rmdir rm rlogin-cwd rletopnm rlatopam ri.ruby.ruby2.5 rgb3toppm rftp rev resizecons repomdxml2solv repo2solv renice rename remunge relnotes refer realpath readlink readelf rdoc.ruby.ruby2.5 rdate rawtoppm rawtopgm rasttopnm python3.6 ranlib rake.ruby.ruby2.5 qrttoppm pyvenv-3.6 python3.6m python2.7 python-argcomplete-check-easy-install-script-2.7 pydoc3.6 pydoc pxelinux-options pwdx pwd ptx ptty_try ptargrep ptardiff ptar pstree pstops pssh-askpass pssh psselect psresize psnup psmerge pslurp pslog psidtopgm psfxtable pscp psbook ps2ps2 ps2ps ps2pdfwr ps2pdf14 ps2pdf13 ps2pdf12 ps2pdf ps2epsi ps2ascii prtstat prsync prove procmail prlimit printf printenv printafm preconv pre-grohtml pr ppmwheel ppmtv ppmtoyuvsplit ppmtoyuv ppmtoxpm ppmtowinicon ppmtoterm ppmtospu ppmtosixel ppmtorgb3 ppmtopuzz ppmtoppm ppmtopjxl ppmtopj ppmtopict ppmtopi1 ppmtopgm ppmtopcx ppmtoneo ppmtomitsu ppmtomap ppmtolss16 ppmtolj ppmtoleaf ppmtoilbm ppmtoicr ppmtogif ppmtoeyuv ppmtobmp ppmtoascii ppmtoarbtxt ppmtoapplevol ppmtoacad ppmspread ppmshift ppmshadow ppmrough ppmrelief ppmrainbow ppmquant ppmpat ppmntsc ppmmix ppmmake ppmlabel ppmhist ppmglobe ppmforge ppmflash ppmfade ppmdraw ppmdmkfont ppmdither ppmdist ppmdim ppmddumpfont ppmdcfont ppmcolors ppmcolormask ppmcie ppmchange ppmbrighten ppm3d pphs post-grohtml podselect podchecker pod2usage pod2text pod2man pod2html pnuke pnmtoxwd pnmtotiffcmyk pnmtosir pnmtosgi pnmtorle pnmtorast pnmtops pnmtopng pnmtoplainpnm pnmtopclxl pnmtopalm pnmtojpeg pnmtojbig pnmtofiasco pnmtoddif pnmtile pnmstitch pnmsmooth pnmshear pnmscalefixed pnmrotate pnmremap pnmquantall pnmquant pnmpsnr pnmpaste pnmpad pnmnorm pnmnlfilt pnmmontage pnmmercator pnmmargin pnminvert pnmindex pnmhistmap pnmhisteq pnmgamma pnmflip pnmcrop pnmconvol pnmcolormap pnmcat pnmalias pngtopam pmap pl2pm pktopbm pk12util pjtoppm pinky ping pinentry-tty pinentry-curses pinentry pigz pidstat piconv pic2graph pic pi3topbm pi1toppm pgmtost4 pgmtosbig pgmtoppm pgmtopgm pgmtopbm pgmtolispm pgmtofs pgmtexture pgmramp pgmnoise pgmmorphconv pgmminkowski pgmmedian pgmmake pgmkernel pgmhist pgmenhance pgmdeshadow pgmcrater pgmbentley pgmabel pfmtopam pfbtops pfbtopfa pf2afm pesign-client pesign perlbug pesigcheck perl perlthanks perlivp perldoc perl5.26.1 peekfd pdfroff pdfmom pdf2ps pdf2dsc pdbimgtopam pcxtoppm pc1toppm pbmupc pbmtozinc pbmtoybm pbmtoxbm pbmtox10bm pbmtowbmp pbmtosunicon pbmtoptx pbmtopsg3 pbmtoppa pbmtoplot pbmtopk pbmtopi3 pbmtopgm pbmtonokia pbmtomrf pbmtomgr pbmtomda pbmtomatrixorbital pbmtomacp pbmtolps pbmtoln03 pbmtolj pbmtoibm23xx pbmtogo pbmtogem pbmtog3 pbmtoescp2 pbmtoepson pbmtoepsi pbmtodjvurle pbmtocmuwm pbmtocis pbmtobbnbg pbmtoatk pbmtoascii pbmto4425 pbmto10x pbmtextps pbmtext pbmreduce pbmpscale pbmpage pbmminkowski pbmmask pbmmake pbmlife pbmclean pathchk patch paste passwd passmass pamx pamwipeout pamvalidate pamunlookup pamundice pamtoxvmini pamtowinicon pamtouil pamtotiff pamtotga pamtosvg pamtosrf pamtopnm pamtopng pamtopfm pamtopdbimg pamtopam pamtooctaveimg pamtompfont pamtojpeg2k pamtohtmltbl pamtohdiff pamtogif pamtofits pamtodjvurle pamtoavs pamtilt pamthreshold pamtable pamsummcol pamsumm pamstretch-gen pamstretch pamstereogram pamstack pamsplit pamslice pamsistoaglyph pamsharpness pamsharpmap pamshadedrelief pamseq pamscale pamrubber pamrecolor pampop9 pampick pamperspective pampaintspill pamoil pammosaicknit pammixinterlace pammasksharpen pamlookup pamgradient pamgauss pamfunc pamflip pamfixtrunc pamfix pamfile pamexec pamenlarge pamendian pamedge pamditherbw pamdice pamdepth pamdeinterlace pamcut pamcrater pamcomp pamchannel pambayer pambackground pamarith pamaddnoise palmtopnm pagesize p11-kit outpsfheader os_release oprofile_start.sh oprofile_map_events.pl openvt openssl omshell old od objdump objcopy numfmt numastat numademo numactl nsupdate nss-policy-check nslookup nsenter ns_conv_util71 nroff nproc nohup nm nl nice ngettext newuidmap newgrp newgidmap net-snmp-create-v3-user net-snmp-config net-snmp-cert neqn neotoppm needs-restarting ncursesw6-config ncurses6-config namei named-rrchecker mxtar mv munge multixterm mtvtoppm mtools msgfmt mrftopbm mpstat mountpoint mount more modutil modsign-verify modsign-repackage mmroff mlx_fs_dump mlnx_qos mlnx_perf mlnx_dump_parser mkzimage_cmdline mktemp mksquashfs mksh mknod mkmanifest mkinfodir mkfifo mkdiskimage mkdir migspeed migratepages mgrtopbm mesg mergesolv merge-pciids memhog memdiskfind mdig mdatopbm md5sum md5pass mcookie mcomp mcheck mapscrn manweb manpath mandb man makedumpfile-R.pl makedumpfile make mailx mailstat macptopbm m4 lzmainfo lzmadec lwp-request lwp-mirror lwp-dump lwp-download luac5.3 lua5.3 lsscsi lss16toppm lsof lsns lsmem lslogins lslocks lsipc lsinitrd lscpu lsblk lsb_release lsattr ls lpunlock lprsetup.sh lookbib look lognormalizer logname loginctl logger lockfile locate localedef localectl locale loadunimap loadkeys ln lksh lkbib lispmtopgm link line libtoolize libtool libnetcfg lexgrog lex lessopen.sh lesskey lessecho lessclose.sh less leaftoppm ldd ldapwhoami ldapurl ldapsearch ldappasswd ldapmodrdn ldapmodify ldapexop ldapdelete ldapcompare ld.bfd lastlog last kmp-install kmod killall kill kibitz keytab-lilo keyctl kernel-install kbxutil kbdrate kbdinfo kbd_mode kbd json_xs json_pp jq jpegtopnm jpeg2ktopam jp-3.6 journalctl journalbeat join jbigtopnm isosize isolinux-config isohybrid.pl irb isohybrid irb.ruby2.5 ipmitool ipf-mod.pl ipcs ipcrm ipcmk iostat ionice intel-speed-select instmodsh installcheck installation_sources install initviocons infotopam infocmp info indxbib includeres imgtoppm ilbmtoppm ifnames id iconv ib_acme iasl hugeedit hugectl hugeadm hpftodit hostnamectl hostname hostid host hipstopgm hexdump head hdifftopam hardlink h2xs h2ph gzip gzexe gxditview gvimtutor gvim guess_encoding gtk3-icon-browser gtk-update-icon-cache-3.0 gtk-update-icon-cache-2.0 gtk-query-settings gtk-query-immodules-3.0-64 gtk-query-immodules-2.0-64 gtk-launch gtk-encode-symbolic-svg gtk-builder-tool gstack gsnd gslp gslj gsettings gsdj500 gsdj gsbj gs grub2-syslinux2cfg grub2-script-check grub2-render-label grub2-mount grub2-mkstandalone grub2-mkrescue grub2-mkrelpath grub2-mkpasswd-pbkdf2 grub2-mknetdir grub2-mklayout grub2-mkimage grub2-mkfont grub2-menulst2cfg grub2-kbdcomp grub2-glue-efi grub2-fstest grub2-file grub2-emu grub2-editenv groups grotty grops gropdf grolj4 grolbp grog groffer groff grodvi grn gresource grep grap2graph gprof gpinyin gpgv2 gpgtar gpgsm gpgscm gpgparsemail gpgconf gpg2 gpg-zip gpg-wks-server gpg-connect-agent gpg-agent gperl gpasswd gouldtoppm glilypond glib-compile-schemas git-shell git-new-workdir gio-querymodules-64 gio-launch-desktop gio giftopnm gfortran-7 getunimap gettext.sh gettext getopt getkeycodes gethostip getent getafm get_kernel_version gendiff gencat genDDNSkey gem gemtopnm gem2rpm.ruby2.5-0.10.1 gem.ruby2.5 gdk-pixbuf-thumbnailer gdk-pixbuf-query-loaders-64 gdiffmk gdbus gdb-add-index gdb gcov-tool-7 gcov-dump-7 gcov-7 gcore gcc-ranlib-7 gcc-nm-7 gcc-ar-7 gcc-7 gawk gapplication g2r g13 g++-7 fuser funzip-plain ftp-rfc fstopgm free formail fold fmt flock flex fixwwps fixwpps fixwfwps fixtpps fixscribeps fixpspps fixpsditps fixproc fixmacps fixfmps fixdlsrps fitstopnm firewallctl firewall-offline-cmd firewall-cmd fipshmac fipscheck fips_standalone_hmac findmnt find fincore fillup filesize file fiascotopnm fgrep fgconsole fdupes fc-validate fc-scan fc-query fc-pattern fc-match fc-list fc-cat fc-cache false fallocate fadot factor f2py3.6 f2py3 f2py eyuvtoppm extractres extlinux expr expiry expect expand eu-unstrip eu-strip eu-strings eu-stack eu-size eu-readelf eu-ranlib eu-objdump eu-nm eu-make-debug-archive eu-findtextrel eu-elflint eu-elfcompress eu-elfcmp eu-ar eu-addr2line erb escp2topbm erb.ruby2.5 eqn2graph eqn epsffit eps2eps envsubst env encode_keychange encguess enc2xs embedspu elfedit eject egrep efisiglist efikeygen echo dwp dvipdf dumpsolv dumpkeys du dracut dmesg dislocate dirname dirmngr_ldap dirmngr-client dirmngr dircolors dir dig diff3 diff df delv deltainfoxml2solv decryptdir deallocvt ddbugtopbm dd dconf dc dbus-uuidgen dbus-update-activation-environment dbus-test-tool dbus-send dbus-run-session dbus-monitor dbus-launch.x11 dbus-launch.nox11 dbus-daemon dbus-cleanup-sockets dbiproxy dbiprof dbilogstrip date cyrus_sasl_sample_server cyrus_sasl_sample_client cut curl-config curl cups-config ctest csplit cryptdir crontab crlutil cpupower cpupcstat cpp-7 cpio cpan cpack cp corelist comps2solv comm column colrm collectl colcrt col cmuwmtopbm cmsutil cmsh cmp cmnodes cmcp cmake clrunimap clear cksum cistopbm cifsiostat chvt chsh chrt chrp-addnote chroot chronyc chown choom chmod chmem chkstat chkconfig chgrp chfn chem checkmedia chcon chattr chardetect-3.6 chardetect-2.7 chage certutil ccmake catman catchsegv cat cameratopam cal c_rehash c++filt bznew bzmore bzip2recover bzip2 bzgrep bzdiff busctl brushtopbm broadwayd bootctl bmptopnm bison bioradtopgm bc batch bashbug basename base64 base32 babeltrace-log babeltrace b2sum avstopam autoupdate autoscan automake autoreconf automake-1.15 autom4te autoheader autoexpect autoconf authvar augtool augparse augmatch atktopbm at asn1Parser asn1Decoding asn1Coding asciitopgm as arpaname arch ar appdata2solv anytopnm amuFormat.sh agentxtrap afmtodit addr2line addftinfo acpixtract acpisrc acpinames acpihelp acpiexec aclocal acpiexamples acpibin acpi_validate acpi_listen aclocal-1.15 acetest71 acestatus71 [ 411toppm .fipscheck.hmac syscfg zless zipinfo zipgrep yzpper ypdomainname xzfgrep xzegrep xzcmp xzcat x86_64 vimdiff vim view vi unzipsfx unzip unxz unpigz unlzma uname26 tracepath6 tcsh tclsh systemd-umount sudoedit ss snmpinform slingshot-snapshot slingshot-ifroute slingshot-ifname slingshot-diag sh sg safe-rmdir rvim rview rst2html5 rst2html4 rpmverify rpmquery routel routef roff2x roff2text roff2ps roff2pdf roff2html ri.ruby2.5 ri rgvim rgview reset repo2solv.sh rdoc.ruby2.5 rdoc rbash rake.ruby2.5 rake pyvenv python3 python2 python-argcomplete-check-easy-install-script python pydoc3 pstree.x11 psfstriptable psfgettable psfaddtable ps ppmtouil ppmtotga ppmtojpeg ppmquantall ppmnorm pnmtotiff pnmtopnm pnmtofits pnmsplit pnmscale pnmnoraw pnminterp pnmfile pnmenlarge pnmdepth pnmcut pnmcomp pnmarith pngtopnm pkill ping6 pgrep pgmslice pgmoil pgmnorm pgmedge pdksh pbmtoicon pamrgbatopng nstat nisdomainname mzip mtype mtoolstest mshowfat mshortname mren mrd mpartition mmove mmount mmd mlabel minfo mformat mdu mdir mdeltree mdel mcopy mclasserase mcd mcat mbadblocks mattrib mail lzmore lzma lzless lzgrep lzfgrep lzegrep lzdiff lzcmp lzcat lz luac lua lsmod lsb-release lnstat linux64 linux32 ldapadd ld lastb ksh jp iptables-xml install-info infotocap icontopbm i386 gvimdiff gview gvi gtk-update-icon-cache gtbl gpgv gpg gmake git-upload-pack git-upload-archive git-receive-pack git gfortran gex getconf geqn gemtopbm gem2rpm.ruby2.5 gem2rpm-0.10.1 gem2rpm gcov-tool gcov-dump gcov gcc-ranlib gcc-nm gcc-ar gcc g++ funzip flex++ ex evim eview egvim egview edit domainname dnsdomainname dbus-launch csh cpp colmux chardetect cc captoinfo c++ bzless bzfgrep bzegrep bzcmp bzcat bunzip2 bmptoppm awk atrm atq apropos Mail /bin: usleep tcsh pgrep ps pkill mlnx_interface_mgr.sh mlnx_conf_mgr.sh login fsync bash zsh zcat ypdomainname vim vi unicode_stop unicode_start uname umount true tracepath6 tracepath touch tar systemd-ask-password systemd systemctl sync su stty stat spawn_login spawn_console sort sleep showkey showconsolefont sh setvtrgb setvesablank setpalette setmetamode setlogcons setleds setkeycodes setfont sed screendump rpm rmdir rm resizecons readlink pwd psfxtable psfstriptable psfgettable psfaddtable ping6 ping pidof pdksh outpsfheader openvt nisdomainname mv mount more mktemp mksh mknod mkdir md5sum mapscrn mail lsmod lsblk ls logger loadunimap loadkeys ln lksh ksh kill keyctl kbdrate kbdinfo kbd_mode ip initviocons hostname gzip gunzip guess_encoding grep getunimap getkeycodes gawk fuser findmnt find fillup fgrep fgconsole false ex egrep echo dumpkeys domainname dnsdomainname dmesg df deallocvt dd dbus-uuidgen dbus-update-activation-environment dbus-test-tool dbus-send dbus-monitor dbus-daemon dbus-cleanup-sockets date csh cpio cp clrunimap chvt chown chmod chgrp cat basename awk arch /opt/bin: rats_api.pyc nodevault.rb rats_api.py rats_validate_user.py set_nologin.sh puppet_wait_online.sh puppet_cert snmp /opt/c3/bin: cshutdown crm cpushimage cpush cnum cname clist ckill cget cexecs cexec c3_version.py c3_sock.py c3_file_obj.py c3_except.py c3_config.py c3_com_obj.py c3.sh c3.csh /opt/puppetlabs/bin: pxp-agent puppet hiera facter /sbin: vhangup update-pciids unix_update unix_chkpwd unix2_chkpwd sysctl_perf_tuning sysctl startproc startpar showconsole setpci rvmtab rpcinfo rpcbind rcsyslog pmap_set2 pbl pam_timestamp_check pam_tally2 osd_login netconfig mount.nfs mlnx_bf_configure mlnx-sf mkinitrd_setup mkinitrd mkill mkhomedir_helper lspci ldconfig killproc killall5 isserial installkernel install-info ifuser fstab-decode freemem_init.py dhclient-script dhclient checkproc blogger blogd blogctl biosdevname yast2 yast wipefs vgsplit vgscan vgs vgrename vgremove vgreduce vgmknodes vgmerge vgimportclone vgimport vgextend vgexport vgdisplay vgcreate vgconvert vgck vgchange vgcfgrestore vgcfgbackup update-bootloader umount.nfs4 umount.nfs udevd udevadm tune2fs telinit switch_root swapon swapoff swaplabel start_daemon smart_agetty slingshot-network-cfg-lldp slattach shutdown sfdisk setconsole service runlevel rsyslogd rmmod resize2fs request-key regdbdump refresh_initrd reboot rdisc rcnetwork raw pvscan pvs pvresize pvremove pvmove pvdisplay pvcreate pvck pvchange poweroff plipconfig pivot_root pidofproc pidof nologin nameif mount.nfs4 modprobe modinfo mkswap mkfs.vfat mkfs.msdos mkfs.minix mkfs.fat mkfs.ext4 mkfs.ext3 mkfs.ext2 mkfs.cramfs mkfs.bfs mkfs mke2fs mkdosfs lvscan lvs lvresize lvrename lvremove lvreduce lvmsar lvmsadc lvmpolld lvmdump lvmdiskscan lvmconfig lvm lvextend lvdisplay lvcreate lvconvert lvchange lsmod losetup logsave key.dns_resolver kexec ip insserv insmod init ifup ifstatus ifprobe ifdown hwclock halt fstrim fsfreeze fsck.vfat fsck.msdos fsck.minix fsck.fat fsck.ext4 fsck.ext3 fsck.ext2 fsck.cramfs fsck findfs fdisk fbtest ether-wake e2undo e2label e2image e2fsck dumpe2fs dosfslabel dosfsck dmsetup dhclient6 depmod debugfs ctrlaltdel crda clockdiff chkconfig chcpu cfdisk blockdev blkid badblocks arping agetty /opt/cray/pe/bin: set_default_master set_default set-gcc-libs ============================================================================================= TESTING: configureExternalPackagesDir from config.framework(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/framework.py:1029) serialEvaluation: initial cxxDialectRanges ('c++03', 'c++17') serialEvaluation: child kokkos raised minimum cxx dialect version to c++14 serialEvaluation: new cxxDialectRanges ('c++14', 'c++17') child config.utilities.macosFirewall 0.000007 ============================================================================================= TESTING: configureDebuggers from config.utilities.debuggers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/debuggers.py:21) Find a default debugger and determine its arguments Executing: uname -s stdout: Linux Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/gdb...not found Checking for program /opt/rocm-4.3.0/bin/gdb...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/gdb...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/gdb...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/gdb...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/gdb...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/gdb...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/gdb...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/gdb...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/gdb...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/gdb...not found Checking for program /opt/clmgr/sbin/gdb...not found Checking for program /opt/clmgr/bin/gdb...not found Checking for program /opt/sgi/sbin/gdb...not found Checking for program /opt/sgi/bin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Defined "USE_DEBUGGER" to ""gdb"" Executing: uname -s stdout: Linux Defined make macro "DSYMUTIL" to "true" Executing: uname -s stdout: Linux child config.utilities.debuggers 0.024964 ============================================================================================= TESTING: configureDirectories from PETSc.options.petscdir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 16 #define PETSC_VERSION_SUBMINOR 2 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_ PETSC_VERSION_EQ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ child PETSc.options.petscdir 0.006343 ============================================================================================= TESTING: getDatafilespath from PETSc.options.dataFilesPath(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be child PETSc.options.dataFilesPath 0.002147 ============================================================================================= TESTING: configureGit from config.sourceControl(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/git...not found Checking for program /opt/rocm-4.3.0/bin/git...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/git...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/git...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/git...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/git...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/git...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/git...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/git...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/git...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/git...not found Checking for program /opt/clmgr/sbin/git...not found Checking for program /opt/clmgr/bin/git...not found Checking for program /opt/sgi/sbin/git...not found Checking for program /opt/sgi/bin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 2.26.2 ============================================================================================= TESTING: configureMercurial from config.sourceControl(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/hg...not found Checking for program /opt/rocm-4.3.0/bin/hg...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/hg...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/hg...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/hg...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/hg...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/hg...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/hg...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/hg...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/hg...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/hg...not found Checking for program /opt/clmgr/sbin/hg...not found Checking for program /opt/clmgr/bin/hg...not found Checking for program /opt/sgi/sbin/hg...not found Checking for program /opt/sgi/bin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /bin/hg...not found Checking for program /opt/bin/hg...not found Checking for program /opt/c3/bin/hg...not found Checking for program /opt/puppetlabs/bin/hg...not found Checking for program /sbin/hg...not found Checking for program /opt/cray/pe/bin/hg...not found Checking for program /gpfs/alpine/csc314/scratch/adams/petsc/lib/petsc/bin/win32fe/hg...not found child config.sourceControl 0.013445 ============================================================================================= TESTING: configureInstallationMethod from PETSc.options.petscclone(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/petscclone.py:20) lib/petsc/bin/maint exists. This appears to be a repository clone .git directory exists Executing: ['git', 'describe', '--match=v*'] stdout: v3.16.2-377-ga8a8b9ed81 Executing: ['git', 'log', '-1', '--pretty=format:%H'] stdout: a8a8b9ed81997472b52b7a2a8d3c37cb90a539ed Executing: ['git', 'log', '-1', '--pretty=format:%ci'] stdout: 2021-12-09 17:52:54 +0000 Executing: ['git', 'rev-parse', '--abbrev-ref', 'HEAD'] stdout: main Defined "VERSION_GIT" to ""v3.16.2-377-ga8a8b9ed81"" Defined "VERSION_DATE_GIT" to ""2021-12-09 17:52:54 +0000"" Defined "VERSION_BRANCH_GIT" to ""main"" child PETSc.options.petscclone 0.053563 ============================================================================================= TESTING: setNativeArchitecture from PETSc.options.arch(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/arch.py:31) ============================================================================================= TESTING: configureArchitecture from PETSc.options.arch(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/arch.py:43) Checks PETSC_ARCH and sets if not set ============================================================================================= Warning: PETSC_ARCH from environment does not match command-line or name of script. Warning: Using from command-line or name of script: arch-olcf-spock, ignoring environment: arch-summit-dbg-gnu-cuda ============================================================================================= No previous hashfile found Setting hashfile: arch-olcf-spock/lib/petsc/conf/configure-hash Deleting configure hash file: arch-olcf-spock/lib/petsc/conf/configure-hash Unable to delete configure hash file: arch-olcf-spock/lib/petsc/conf/configure-hash child PETSc.options.arch 0.024610 ============================================================================================= TESTING: setInstallDir from PETSc.options.installDir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/installDir.py:32) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Defined make macro "PREFIXDIR" to "/gpfs/alpine/geo127/proj-shared/spock/petsc/current/arch-opt-cray" ============================================================================================= TESTING: saveReconfigure from PETSc.options.installDir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/installDir.py:76) ============================================================================================= TESTING: cleanConfDir from PETSc.options.installDir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/installDir.py:69) ============================================================================================= TESTING: configureInstallDir from PETSc.options.installDir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/installDir.py:53) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /gpfs/alpine/csc314/scratch/adams/petsc/arch-olcf-spock/lib/petsc/conf ============================================================================================= TESTING: restoreReconfigure from PETSc.options.installDir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/installDir.py:89) child PETSc.options.installDir 0.013322 ============================================================================================= TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/externalpackagesdir.py:15) ============================================================================================= TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/externalpackagesdir.py:22) child PETSc.options.externalpackagesdir 0.001834 ============================================================================================= TESTING: configureCLanguage from PETSc.options.languages(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" Defined make macro "CLANGUAGE" to "C" child PETSc.options.languages 0.002188 ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:2101) ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:2117) ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:2071) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ============================================================================================= TESTING: requireMpiLdPath from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:2092) OpenMPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:604) Initialize the compiler and linker flags Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to Initialized SYCLCXXFLAGS to Initialized SYCLCXXFLAGS to Initialized LDFLAGS to Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Initialized CPPFLAGS to Initialized FPPFLAGS to Initialized CUDAPPFLAGS to -Wno-deprecated-gpu-targets Initialized CXXPPFLAGS to Initialized HIPPPFLAGS to Initialized SYCLPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized HIPC_LINKER_FLAGS to [] Initialized SYCLCXX_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ============================================================================================= TESTING: checkCCompiler from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:787) Locate a functional C compiler Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/cc...not found Checking for program /opt/rocm-4.3.0/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/cc...found Defined make macro "CC" to "cc" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-12: error: linker command failed with exit code 1 (use -v to see invocation): ======== Checking running linked program ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Executing: cc --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:826) Locate a functional C preprocessor Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/cc...not found Checking for program /opt/rocm-4.3.0/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/cc...found Defined make macro "CPP" to "cc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:862) Locate a functional CUDA compiler Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/nvcc...not found Checking for program /opt/rocm-4.3.0/bin/nvcc...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/nvcc...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/nvcc...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/nvcc...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/nvcc...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/nvcc...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/nvcc...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/nvcc...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/nvcc...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/nvcc...not found Checking for program /opt/clmgr/sbin/nvcc...not found Checking for program /opt/clmgr/bin/nvcc...not found Checking for program /opt/sgi/sbin/nvcc...not found Checking for program /opt/sgi/bin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /opt/bin/nvcc...not found Checking for program /opt/c3/bin/nvcc...not found Checking for program /opt/puppetlabs/bin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /opt/cray/pe/bin/nvcc...not found Checking for program /gpfs/alpine/csc314/scratch/adams/petsc/lib/petsc/bin/win32fe/nvcc...not found Checking for program /Developer/NVIDIA/CUDA-6.5/bin/nvcc...not found Checking for program /gpfs/alpine/csc314/scratch/adams/petsc/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/Developer/NVIDIA/CUDA-6.5/bin'] Warning accessing /Developer/NVIDIA/CUDA-6.5/bin gives errors: [Errno 2] No such file or directory: '/Developer/NVIDIA/CUDA-6.5/bin' Checking for program /usr/local/cuda/bin/nvcc...not found Checking for program /gpfs/alpine/csc314/scratch/adams/petsc/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/usr/local/cuda/bin'] Warning accessing /usr/local/cuda/bin gives errors: [Errno 2] No such file or directory: '/usr/local/cuda/bin' ============================================================================================= TESTING: checkCUDAPreprocessor from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:902) Locate a functional CUDA preprocessor ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:936) Locate a functional HIP compiler Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/hipcc...not found Checking for program /opt/rocm-4.3.0/bin/hipcc...found Defined make macro "HIPC" to "hipcc" ===== Checking compiler Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: hipcc --version stdout: HIP version: 4.3.21300-5bbc51d8 clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.3.0 21295 f2943f684437d2c1143a56e418d29fc6b3314072) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.3.0/llvm/bin ============================================================================================= TESTING: checkHIPPreprocessor from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:979) Locate a functional HIP preprocessor Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/hipcc...not found Checking for program /opt/rocm-4.3.0/bin/hipcc...found Defined make macro "HIPPP" to "hipcc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include __global__ void testFunction() {return;}; Executing: hipcc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1010) Locate a functional SYCL compiler ============================================================================================= TESTING: checkSYCLPreprocessor from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1036) Placeholder for now ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1127) Locate a functional Cxx compiler Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/CC...not found Checking for program /opt/rocm-4.3.0/bin/CC...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/CC...found Defined make macro "CXX" to "CC" ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-12: error: linker command failed with exit code 1 (use -v to see invocation): ======== Checking running linked program ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Executing: CC --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin ============================================================================================= TESTING: checkCxxPreprocessor from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1168) Locate a functional Cxx preprocessor Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/CC...not found Checking for program /opt/rocm-4.3.0/bin/CC...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/CC...found Defined make macro "CXXPP" to "CC -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: CC -E -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkFortranCompiler from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1271) Locate a functional Fortran compiler Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ftn...not found Checking for program /opt/rocm-4.3.0/bin/ftn...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ftn...found Defined make macro "FC" to "ftn" ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Linker output before filtering: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm : Linker output after filtering: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm: ======== Checking running linked program ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Executing: ftn --version stdout: Cray Fortran : Version 12.0.3 ============================================================================================= TESTING: checkFortranPreprocessor from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1308) Locate a functional Fortran preprocessor Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ftn...not found Checking for program /opt/rocm-4.3.0/bin/ftn...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ftn...found Defined make macro "FPP" to "ftn -E" Preprocessing source: #define foo 10 Executing: ftn -E -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkFortranComments from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1330) Make sure fortran comment "!" works ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1507) ============================================================================================= TESTING: checkArchiver from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1606) Check that the archiver exists and can make a library usable by the compiler Executing: ar -V stdout: GNU ar (GNU Binutils) 2.32 Copyright (C) 2019 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils) 2.32 Copyright (C) 2019 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ar...not found Checking for program /opt/rocm-4.3.0/bin/ar...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ar...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar...found Defined make macro "AR" to "/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ranlib...not found Checking for program /opt/rocm-4.3.0/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ranlib...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib...found Defined make macro "RANLIB" to "/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib -c" Executing: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar cr /tmp/petsc-u_wdb2uz/config.setCompilers/libconf1.a /tmp/petsc-u_wdb2uz/config.setCompilers/conf1.o Executing: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib -c /tmp/petsc-u_wdb2uz/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar (GNU Binutils) 2.32 Copyright (C) 2019 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils) 2.32 Copyright (C) 2019 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ar...not found Checking for program /opt/rocm-4.3.0/bin/ar...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ar...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar...found Defined make macro "AR" to "/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ranlib...not found Checking for program /opt/rocm-4.3.0/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ranlib...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib...found Defined make macro "RANLIB" to "/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib" Executing: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar cr /tmp/petsc-u_wdb2uz/config.setCompilers/libconf1.a /tmp/petsc-u_wdb2uz/config.setCompilers/conf1.o Executing: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ranlib /tmp/petsc-u_wdb2uz/config.setCompilers/libconf1.a ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c:6:26: warning: if statement has empty body [-Wempty-body] int b = foo(1); if (b); ^ /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c:6:26: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/tmp/petsc-u_wdb2uz/config.setCompilers -lconf1 -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1670) Checks if AR handles @ notation Executing: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar cr checkRecipeArgfile.a @checkRecipeArgfile.args Defined make macro "AR_ARGFILE" to "yes" ============================================================================================= TESTING: checkSharedLinker from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1752) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker cc using flags ['-qmkshrobj'] Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/cc...not found Checking for program /opt/rocm-4.3.0/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/cc...found Defined make macro "LD_SHARED" to "cc" Executing: cc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: cc -qversion Executing: cc -show Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying C compiler flag -PIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -PIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -PIC clang-12: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected C compiler flag -PIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -qPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -qPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -qPIC clang-12: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected C compiler flag -qPIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -KPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -KPIC clang-12: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected C compiler flag -KPIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -qmkshrobj -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: clang-12: error: unknown argument: '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: clang-12: error: unknown argument: '-qmkshrobj' : Linker output after filtering: clang-12: error: unknown argument: '-qmkshrobj': ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Rejected C compiler flag -fPIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -fpic Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fpic /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fpic Added C compiler flag -fpic Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fpic /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -qmkshrobj -fpic /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: clang-12: error: unknown argument: '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: clang-12: error: unknown argument: '-qmkshrobj' : Linker output after filtering: clang-12: error: unknown argument: '-qmkshrobj': ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fpic /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -fpic /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Rejected C compiler flag -fpic because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -qmkshrobj /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: clang-12: error: unknown argument: '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: clang-12: error: unknown argument: '-qmkshrobj' : Linker output after filtering: clang-12: error: unknown argument: '-qmkshrobj': ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:110 (../sysdeps/x86_64/start.S:110) >>> /usr/lib/../lib64/crt1.o:(_start) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Rejected C compiler flag because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Deleting "LD_SHARED" Checking shared linker cc using flags ['-shared'] Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/cc...not found Checking for program /opt/rocm-4.3.0/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/cc...found Defined make macro "LD_SHARED" to "cc" Executing: cc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: cc -qversion Executing: cc -show Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying C compiler flag -PIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -PIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -PIC clang-12: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected C compiler flag -PIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -qPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -qPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -qPIC clang-12: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected C compiler flag -qPIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -KPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -KPIC clang-12: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected C compiler flag -KPIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Valid C linker flag -shared ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if (ret) {} ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -L/tmp/petsc-u_wdb2uz/config.setCompilers -lconftest Using shared linker cc with flags ['-shared'] and library extension so Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux ============================================================================================= TESTING: checkPIC from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1450) Determine the PIC option for each compiler Executing: CC --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: CC -qversion Executing: CC -show Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying Cxx compiler flag -PIC for PIC code Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -PIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -PIC clang-12: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected Cxx compiler flag -PIC because shared linker cannot handle it Trying Cxx compiler flag -qPIC for PIC code Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -qPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -qPIC clang-12: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected Cxx compiler flag -qPIC because shared linker cannot handle it Trying Cxx compiler flag -KPIC for PIC code Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -KPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -KPIC clang-12: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected Cxx compiler flag -KPIC because shared linker cannot handle it Trying Cxx compiler flag -fPIC for PIC code Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added Cxx compiler flag -fPIC ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Accepted Cxx compiler flag -fPIC for PIC code Executing: ftn --help | head -n 20 stdout: Usage: ftn [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]add-rpath-shared Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in specific versions of libraries at runtime for generated shared libraries. (Off by default.) --[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary Executing: ftn -qversion Executing: ftn -show Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying FC compiler flag -PIC for PIC code Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -PIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-2105 crayftn: ERROR in command line "-P" is an invalid command-line option. Source: program main end Output from compiling with -PIC ftn-2105 crayftn: ERROR in command line "-P" is an invalid command-line option. PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected FC compiler flag -PIC because shared linker cannot handle it Trying FC compiler flag -qPIC for PIC code Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -qPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-2105 crayftn: ERROR in command line "-q" is an invalid command-line option. ftn-2105 crayftn: ERROR in command line "-q" is an invalid command-line option. Source: program main end Output from compiling with -qPIC ftn-2105 crayftn: ERROR in command line "-q" is an invalid command-line option. ftn-2105 crayftn: ERROR in command line "-q" is an invalid command-line option. PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected FC compiler flag -qPIC because shared linker cannot handle it Trying FC compiler flag -KPIC for PIC code Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -KPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-2191 crayftn: ERROR in command line "PIC" is an invalid argument to the "K" option. Source: program main end Output from compiling with -KPIC ftn-2191 crayftn: ERROR in command line "PIC" is an invalid argument to the "K" option. PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected FC compiler flag -KPIC because shared linker cannot handle it Trying FC compiler flag -fPIC for PIC code Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC Added FC compiler flag -fPIC ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Accepted FC compiler flag -fPIC for PIC code Executing: hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: hipcc -qversion Executing: hipcc -show Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying HIP compiler flag -PIC for PIC code Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -PIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -PIC clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected HIP compiler flag -PIC because shared linker cannot handle it Trying HIP compiler flag -qPIC for PIC code Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -qPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -qPIC clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected HIP compiler flag -qPIC because shared linker cannot handle it Trying HIP compiler flag -KPIC for PIC code Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -KPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -KPIC clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected HIP compiler flag -KPIC because shared linker cannot handle it Trying HIP compiler flag -fPIC for PIC code Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added HIP compiler flag -fPIC ===== Checking linker Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Accepted HIP compiler flag -fPIC for PIC code ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1866) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: uname -s stdout: Linux Executing: cc -V Trying C linker flag -Wl,-rpath, Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Valid C linker flag -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc Executing: uname -s stdout: Linux Executing: cc -V Trying Cxx linker flag -Wl,-rpath, Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Valid Cxx linker flag -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc Executing: uname -s stdout: Linux Executing: cc -V Trying FC linker flag -Wl,-rpath, Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Valid FC linker flag -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc Executing: uname -s stdout: Linux Executing: cc -V Trying HIP linker flag -Wl,-rpath, Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: hipcc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o Valid HIP linker flag -Wl,-rpath,/gpfs/alpine/csc314/scratch/adams/petsc ============================================================================================= TESTING: checkLibC from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1905) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {void *chunk = malloc(31); free(chunk); return 0;} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Shared linking does not require an explicit libc reference ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1951) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } void dummy(void) {_check_dlopen(); _check_dlsym(); _check_dlclose();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker cc using flags ['-shared'] Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/cc...not found Checking for program /opt/rocm-4.3.0/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/cc...found Defined make macro "DYNAMICLINKER" to "cc" Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Valid C linker flag -shared ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { void *handle = dlopen("/tmp/petsc-u_wdb2uz/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Using dynamic linker cc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:1409) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wunknown-pragmas -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wunknown-pragmas -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wunknown-pragmas Added HIP compiler flag -Wunknown-pragmas ===== Checking compiler Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } ============================================================================================= TESTING: output from config.setCompilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/setCompilers.py:2000) Output module data as defines and substitutions Substituting "CC" with "cc" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "cc -E" Substituting "CPPFLAGS" with "" Substituting "HIPC" with "hipcc" Substituting "HIPFLAGS" with " -fPIC" Substituting "HIPPP" with "hipcc -E" Substituting "HIPPPFLAGS" with "" Substituting "CXX" with "CC" Substituting "CXX_CXXFLAGS" with " -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "CC -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "ftn" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "FPP" with "ftn -E" Substituting "FPPFLAGS" with "" Substituting "LIBS" with "-ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa" Substituting "SHARED_LIBRARY_FLAG" with "-shared" child config.setCompilers 20.941041 ============================================================================================= TESTING: configureIndexSize from PETSc.options.indexTypes(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/indexTypes.py:39) Defined make macro "PETSC_INDEX_SIZE" to "32" child PETSc.options.indexTypes 0.002597 ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: cc --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin getCompilerVersion: cc Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Defined make macro "C_VERSION" to "Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d)" Defined make macro "MPICC_SHOW" to "Unavailable" Executing: cc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: cc --help | head -n 500 Detected CLANG compiler Executing: cc --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin Executing: uname -s stdout: Linux Executing: cc --help | head -n 500 Detected CLANG compiler Trying C compiler flag -Wall Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-strict-aliasing Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing Added C compiler flag -Wno-strict-aliasing Trying C compiler flag -Wno-unknown-pragmas Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -fstack-protector Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector Added C compiler flag -fstack-protector Trying C compiler flag -mfp16-format=ieee Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -mfp16-format=ieee /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-12: error: unknown argument: '-mfp16-format=ieee' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -mfp16-format=ieee clang-12: error: unknown argument: '-mfp16-format=ieee' PETSc Error: No output file produced Rejecting compiler flag -mfp16-format=ieee due to nonzero status from link Rejected C compiler flag -mfp16-format=ieee Trying C compiler flag -Qunused-arguments Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments Added C compiler flag -Qunused-arguments Trying C compiler flag -fvisibility=hidden Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden Added C compiler flag -fvisibility=hidden Defined make macro "MPICC_SHOW" to "Unavailable" Executing: cc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: cc --help | head -n 500 Detected CLANG compiler Executing: cc --help | head -n 500 Detected CLANG compiler ============================================================================================= ***** WARNING: Using default optimization C flags -g -O3 You might consider manually setting optimal optimization flags for your system with COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples ============================================================================================= Trying C compiler flag -g Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g Added C compiler flag -g Trying C compiler flag -O3 Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 Added C compiler flag -O3 Executing: CC --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin getCompilerVersion: CC Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Defined make macro "Cxx_VERSION" to "Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d)" Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: CC --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: CC --help | head -n 500 Detected CLANG compiler Executing: uname -s stdout: Linux Executing: CC --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin Trying Cxx compiler flag -Wall Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -fstack-protector Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector Added Cxx compiler flag -fstack-protector Trying Cxx compiler flag -fvisibility=hidden Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden Added Cxx compiler flag -fvisibility=hidden Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: CC --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. Executing: CC --help | head -n 500 Detected CLANG compiler Executing: CC --help | head -n 500 Detected CLANG compiler ============================================================================================= ***** WARNING: Using default Cxx optimization flags -g -O3 You might consider manually setting optimal optimization flags for your system with CXXOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples ============================================================================================= Trying Cxx compiler flag -g Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g Added Cxx compiler flag -g Trying Cxx compiler flag -O3 Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 Added Cxx compiler flag -O3 Executing: ftn --version stdout: Cray Fortran : Version 12.0.3 getCompilerVersion: ftn Cray Fortran : Version 12.0.3 Defined make macro "FC_VERSION" to "Cray Fortran : Version 12.0.3" Defined make macro "MPIFC_SHOW" to "Unavailable" Executing: ftn --help | head -n 20 stdout: Usage: ftn [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]add-rpath-shared Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in specific versions of libraries at runtime for generated shared libraries. (Off by default.) --[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary Executing: ftn -V Executing: ftn --help | head -n 20 stdout: Usage: ftn [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]add-rpath-shared Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in specific versions of libraries at runtime for generated shared libraries. (Off by default.) --[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary Executing: ftn --version stdout: Cray Fortran : Version 12.0.3 Defined make macro "MPIFC_SHOW" to "Unavailable" Executing: ftn --help | head -n 20 stdout: Usage: ftn [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]add-rpath-shared Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in specific versions of libraries at runtime for generated shared libraries. (Off by default.) --[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary Executing: ftn -V Executing: ftn --help | head -n 20 stdout: Usage: ftn [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]add-rpath-shared Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in specific versions of libraries at runtime for generated shared libraries. (Off by default.) --[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary Executing: ftn --version stdout: Cray Fortran : Version 12.0.3 ============================================================================================= ***** WARNING: Using default FORTRAN optimization flags -O You might consider manually setting optimal optimization flags for your system with FOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples ============================================================================================= Trying FC compiler flag -O Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -O /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: stderr: ftn-1221 crayftn: WARNING in command line The -O command line option has been specified with no arguments. It will be ignored. Source: program main end Output from compiling with -fPIC -O ftn-1221 crayftn: WARNING in command line The -O command line option has been specified with no arguments. It will be ignored. Rejecting compiler flag -O due to ftn-1221 crayftn: WARNING in command line The -O command line option has been specified with no arguments. It will be ignored. Rejected FC compiler flag -O Executing: hipcc --version stdout: HIP version: 4.3.21300-5bbc51d8 clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.3.0 21295 f2943f684437d2c1143a56e418d29fc6b3314072) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.3.0/llvm/bin getCompilerVersion: hipcc HIP version: 4.3.21300-5bbc51d8 Defined make macro "HIP_VERSION" to "HIP version: 4.3.21300-5bbc51d8" Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: hipcc --help | head -n 500 Detected CLANG compiler Executing: uname -s stdout: Linux Executing: hipcc --version stdout: HIP version: 4.3.21300-5bbc51d8 clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.3.0 21295 f2943f684437d2c1143a56e418d29fc6b3314072) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.3.0/llvm/bin Detected HIP compiler Trying HIP compiler flag -Wall Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall Added HIP compiler flag -Wall Trying HIP compiler flag -Wwrite-strings Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings Added HIP compiler flag -Wwrite-strings Trying HIP compiler flag -Wno-strict-aliasing Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing Added HIP compiler flag -Wno-strict-aliasing Trying HIP compiler flag -Wno-unknown-pragmas Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added HIP compiler flag -Wno-unknown-pragmas Trying HIP compiler flag -fvisibility=hidden Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden Added HIP compiler flag -fvisibility=hidden Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: hipcc --help | head -n 500 Detected CLANG compiler Executing: hipcc --help | head -n 500 Detected CLANG compiler ============================================================================================= ***** WARNING: Using default HIP optimization flags -g -O3 You might consider manually setting optimal optimization flags for your system with HIPOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples ============================================================================================= Trying HIP compiler flag -g Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g Added HIP compiler flag -g Trying HIP compiler flag -O3 Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 Added HIP compiler flag -O3 ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilerFlags.py:173) Use Linux/MacOS commands to determine what operations the hardware supports Executing: lscpu stdout: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 48 bits physical, 48 bits virtual CPU(s): 256 On-line CPU(s) list: 0-255 Thread(s) per core: 2 Core(s) per socket: 64 Socket(s): 2 NUMA node(s): 2 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC 7702 64-Core Processor Stepping: 0 CPU MHz: 1793.317 CPU max MHz: 2000.0000 CPU min MHz: 1500.0000 BogoMIPS: 3992.13 Virtualization: AMD-V L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-63,128-191 NUMA node1 CPU(s): 64-127,192-255 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilerFlags.py:164) Save the list of CPP macros defined by the C and C++ compiler, does not work for all compilers Executing: cc -c -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilerFlags -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilerFlags/conftest.c -E -dM stdout: #define _LP64 1 #define __ADX__ 1 #define __AES__ 1 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_CONSUME 1 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define __ATOMIC_SEQ_CST 5 #define __AVX2__ 1 #define __AVX__ 1 #define __BIGGEST_ALIGNMENT__ 16 #define __BMI2__ 1 #define __BMI__ 1 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __CHAR16_TYPE__ unsigned short #define __CHAR32_TYPE__ unsigned int #define __CHAR_BIT__ 8 #define __CLANG_ATOMIC_BOOL_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR_LOCK_FREE 2 #define __CLANG_ATOMIC_INT_LOCK_FREE 2 #define __CLANG_ATOMIC_LLONG_LOCK_FREE 2 #define __CLANG_ATOMIC_LONG_LOCK_FREE 2 #define __CLANG_ATOMIC_POINTER_LOCK_FREE 2 #define __CLANG_ATOMIC_SHORT_LOCK_FREE 2 #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __CLFLUSHOPT__ 1 #define __CLWB__ 1 #define __CLZERO__ 1 #define __CONSTANT_CFSTRINGS__ 1 #define __CRAYXT_COMPUTE_LINUX_TARGET 1 #define __CRAY_X86_ROME 1 #define __DBL_DECIMAL_DIG__ 17 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_DIG__ 15 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN__ 2.2250738585072014e-308 #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ #define __ELF__ 1 #define __F16C__ 1 #define __FINITE_MATH_ONLY__ 0 #define __FLOAT128__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_DIG__ 6 #define __FLT_EPSILON__ 1.19209290e-7F #define __FLT_EVAL_METHOD__ 0 #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MANT_DIG__ 24 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX_EXP__ 128 #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN__ 1.17549435e-38F #define __FLT_RADIX__ 2 #define __FMA__ 1 #define __FSGSBASE__ 1 #define __FXSR__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GNUC_MINOR__ 2 #define __GNUC_PATCHLEVEL__ 1 #define __GNUC_STDC_INLINE__ 1 #define __GNUC__ 4 #define __GXX_ABI_VERSION 1002 #define __INT16_C_SUFFIX__ #define __INT16_FMTd__ "hd" #define __INT16_FMTi__ "hi" #define __INT16_MAX__ 32767 #define __INT16_TYPE__ short #define __INT32_C_SUFFIX__ #define __INT32_FMTd__ "d" #define __INT32_FMTi__ "i" #define __INT32_MAX__ 2147483647 #define __INT32_TYPE__ int #define __INT64_C_SUFFIX__ L #define __INT64_FMTd__ "ld" #define __INT64_FMTi__ "li" #define __INT64_MAX__ 9223372036854775807L #define __INT64_TYPE__ long int #define __INT8_C_SUFFIX__ #define __INT8_FMTd__ "hhd" #define __INT8_FMTi__ "hhi" #define __INT8_MAX__ 127 #define __INT8_TYPE__ signed char #define __INTMAX_C_SUFFIX__ L #define __INTMAX_FMTd__ "ld" #define __INTMAX_FMTi__ "li" #define __INTMAX_MAX__ 9223372036854775807L #define __INTMAX_TYPE__ long int #define __INTMAX_WIDTH__ 64 #define __INTPTR_FMTd__ "ld" #define __INTPTR_FMTi__ "li" #define __INTPTR_MAX__ 9223372036854775807L #define __INTPTR_TYPE__ long int #define __INTPTR_WIDTH__ 64 #define __INT_FAST16_FMTd__ "hd" #define __INT_FAST16_FMTi__ "hi" #define __INT_FAST16_MAX__ 32767 #define __INT_FAST16_TYPE__ short #define __INT_FAST32_FMTd__ "d" #define __INT_FAST32_FMTi__ "i" #define __INT_FAST32_MAX__ 2147483647 #define __INT_FAST32_TYPE__ int #define __INT_FAST64_FMTd__ "ld" #define __INT_FAST64_FMTi__ "li" #define __INT_FAST64_MAX__ 9223372036854775807L #define __INT_FAST64_TYPE__ long int #define __INT_FAST8_FMTd__ "hhd" #define __INT_FAST8_FMTi__ "hhi" #define __INT_FAST8_MAX__ 127 #define __INT_FAST8_TYPE__ signed char #define __INT_LEAST16_FMTd__ "hd" #define __INT_LEAST16_FMTi__ "hi" #define __INT_LEAST16_MAX__ 32767 #define __INT_LEAST16_TYPE__ short #define __INT_LEAST32_FMTd__ "d" #define __INT_LEAST32_FMTi__ "i" #define __INT_LEAST32_MAX__ 2147483647 #define __INT_LEAST32_TYPE__ int #define __INT_LEAST64_FMTd__ "ld" #define __INT_LEAST64_FMTi__ "li" #define __INT_LEAST64_MAX__ 9223372036854775807L #define __INT_LEAST64_TYPE__ long int #define __INT_LEAST8_FMTd__ "hhd" #define __INT_LEAST8_FMTi__ "hhi" #define __INT_LEAST8_MAX__ 127 #define __INT_LEAST8_TYPE__ signed char #define __INT_MAX__ 2147483647 #define __LAHF_SAHF__ 1 #define __LDBL_DECIMAL_DIG__ 21 #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_DIG__ 18 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_MAX_10_EXP__ 4932 #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LITTLE_ENDIAN__ 1 #define __LONG_LONG_MAX__ 9223372036854775807LL #define __LONG_MAX__ 9223372036854775807L #define __LP64__ 1 #define __LZCNT__ 1 #define __MMX__ 1 #define __MOVBE__ 1 #define __MWAITX__ 1 #define __NO_MATH_INLINES 1 #define __OBJC_BOOL_IS_BOOL 0 #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3 #define __OPENCL_MEMORY_SCOPE_DEVICE 2 #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4 #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1 #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0 #define __OPTIMIZE__ 1 #define __ORDER_BIG_ENDIAN__ 4321 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __ORDER_PDP_ENDIAN__ 3412 #define __PCLMUL__ 1 #define __PIC__ 2 #define __POINTER_WIDTH__ 64 #define __POPCNT__ 1 #define __PRAGMA_REDEFINE_EXTNAME 1 #define __PRFCHW__ 1 #define __PTRDIFF_FMTd__ "ld" #define __PTRDIFF_FMTi__ "li" #define __PTRDIFF_MAX__ 9223372036854775807L #define __PTRDIFF_TYPE__ long int #define __PTRDIFF_WIDTH__ 64 #define __RDPID__ 1 #define __RDRND__ 1 #define __RDSEED__ 1 #define __REGISTER_PREFIX__ #define __SCHAR_MAX__ 127 #define __SEG_FS 1 #define __SEG_GS 1 #define __SHA__ 1 #define __SHRT_MAX__ 32767 #define __SIG_ATOMIC_MAX__ 2147483647 #define __SIG_ATOMIC_WIDTH__ 32 #define __SIZEOF_DOUBLE__ 8 #define __SIZEOF_FLOAT128__ 16 #define __SIZEOF_FLOAT__ 4 #define __SIZEOF_INT128__ 16 #define __SIZEOF_INT__ 4 #define __SIZEOF_LONG_DOUBLE__ 16 #define __SIZEOF_LONG_LONG__ 8 #define __SIZEOF_LONG__ 8 #define __SIZEOF_POINTER__ 8 #define __SIZEOF_PTRDIFF_T__ 8 #define __SIZEOF_SHORT__ 2 #define __SIZEOF_SIZE_T__ 8 #define __SIZEOF_WCHAR_T__ 4 #define __SIZEOF_WINT_T__ 4 #define __SIZE_FMTX__ "lX" #define __SIZE_FMTo__ "lo" #define __SIZE_FMTu__ "lu" #define __SIZE_FMTx__ "lx" #define __SIZE_MAX__ 18446744073709551615UL #define __SIZE_TYPE__ long unsigned int #define __SIZE_WIDTH__ 64 #define __SSE2_MATH__ 1 #define __SSE2__ 1 #define __SSE3__ 1 #define __SSE4A__ 1 #define __SSE4_1__ 1 #define __SSE4_2__ 1 #define __SSE_MATH__ 1 #define __SSE__ 1 #define __SSP__ 1 #define __SSSE3__ 1 #define __STDC_HOSTED__ 1 #define __STDC_UTF_16__ 1 #define __STDC_UTF_32__ 1 #define __STDC_VERSION__ 201710L #define __STDC__ 1 #define __UINT16_C_SUFFIX__ #define __UINT16_FMTX__ "hX" #define __UINT16_FMTo__ "ho" #define __UINT16_FMTu__ "hu" #define __UINT16_FMTx__ "hx" #define __UINT16_MAX__ 65535 #define __UINT16_TYPE__ unsigned short #define __UINT32_C_SUFFIX__ U #define __UINT32_FMTX__ "X" #define __UINT32_FMTo__ "o" #define __UINT32_FMTu__ "u" #define __UINT32_FMTx__ "x" #define __UINT32_MAX__ 4294967295U #define __UINT32_TYPE__ unsigned int #define __UINT64_C_SUFFIX__ UL #define __UINT64_FMTX__ "lX" #define __UINT64_FMTo__ "lo" #define __UINT64_FMTu__ "lu" #define __UINT64_FMTx__ "lx" #define __UINT64_MAX__ 18446744073709551615UL #define __UINT64_TYPE__ long unsigned int #define __UINT8_C_SUFFIX__ #define __UINT8_FMTX__ "hhX" #define __UINT8_FMTo__ "hho" #define __UINT8_FMTu__ "hhu" #define __UINT8_FMTx__ "hhx" #define __UINT8_MAX__ 255 #define __UINT8_TYPE__ unsigned char #define __UINTMAX_C_SUFFIX__ UL #define __UINTMAX_FMTX__ "lX" #define __UINTMAX_FMTo__ "lo" #define __UINTMAX_FMTu__ "lu" #define __UINTMAX_FMTx__ "lx" #define __UINTMAX_MAX__ 18446744073709551615UL #define __UINTMAX_TYPE__ long unsigned int #define __UINTMAX_WIDTH__ 64 #define __UINTPTR_FMTX__ "lX" #define __UINTPTR_FMTo__ "lo" #define __UINTPTR_FMTu__ "lu" #define __UINTPTR_FMTx__ "lx" #define __UINTPTR_MAX__ 18446744073709551615UL #define __UINTPTR_TYPE__ long unsigned int #define __UINTPTR_WIDTH__ 64 #define __UINT_FAST16_FMTX__ "hX" #define __UINT_FAST16_FMTo__ "ho" #define __UINT_FAST16_FMTu__ "hu" #define __UINT_FAST16_FMTx__ "hx" #define __UINT_FAST16_MAX__ 65535 #define __UINT_FAST16_TYPE__ unsigned short #define __UINT_FAST32_FMTX__ "X" #define __UINT_FAST32_FMTo__ "o" #define __UINT_FAST32_FMTu__ "u" #define __UINT_FAST32_FMTx__ "x" #define __UINT_FAST32_MAX__ 4294967295U #define __UINT_FAST32_TYPE__ unsigned int #define __UINT_FAST64_FMTX__ "lX" #define __UINT_FAST64_FMTo__ "lo" #define __UINT_FAST64_FMTu__ "lu" #define __UINT_FAST64_FMTx__ "lx" #define __UINT_FAST64_MAX__ 18446744073709551615UL #define __UINT_FAST64_TYPE__ long unsigned int #define __UINT_FAST8_FMTX__ "hhX" #define __UINT_FAST8_FMTo__ "hho" #define __UINT_FAST8_FMTu__ "hhu" #define __UINT_FAST8_FMTx__ "hhx" #define __UINT_FAST8_MAX__ 255 #define __UINT_FAST8_TYPE__ unsigned char #define __UINT_LEAST16_FMTX__ "hX" #define __UINT_LEAST16_FMTo__ "ho" #define __UINT_LEAST16_FMTu__ "hu" #define __UINT_LEAST16_FMTx__ "hx" #define __UINT_LEAST16_MAX__ 65535 #define __UINT_LEAST16_TYPE__ unsigned short #define __UINT_LEAST32_FMTX__ "X" #define __UINT_LEAST32_FMTo__ "o" #define __UINT_LEAST32_FMTu__ "u" #define __UINT_LEAST32_FMTx__ "x" #define __UINT_LEAST32_MAX__ 4294967295U #define __UINT_LEAST32_TYPE__ unsigned int #define __UINT_LEAST64_FMTX__ "lX" #define __UINT_LEAST64_FMTo__ "lo" #define __UINT_LEAST64_FMTu__ "lu" #define __UINT_LEAST64_FMTx__ "lx" #define __UINT_LEAST64_MAX__ 18446744073709551615UL #define __UINT_LEAST64_TYPE__ long unsigned int #define __UINT_LEAST8_FMTX__ "hhX" #define __UINT_LEAST8_FMTo__ "hho" #define __UINT_LEAST8_FMTu__ "hhu" #define __UINT_LEAST8_FMTx__ "hhx" #define __UINT_LEAST8_MAX__ 255 #define __UINT_LEAST8_TYPE__ unsigned char #define __USER_LABEL_PREFIX__ #define __VERSION__ "Cray Clang 12.0.0 (58badb8c0532a8b5fadda356f3c5fa8499b4918d)" #define __WBNOINVD__ 1 #define __WCHAR_MAX__ 2147483647 #define __WCHAR_TYPE__ int #define __WCHAR_WIDTH__ 32 #define __WINT_MAX__ 4294967295U #define __WINT_TYPE__ unsigned int #define __WINT_UNSIGNED__ 1 #define __WINT_WIDTH__ 32 #define __XSAVEC__ 1 #define __XSAVEOPT__ 1 #define __XSAVES__ 1 #define __XSAVE__ 1 #define __amd64 1 #define __amd64__ 1 #define __clang__ 1 #define __clang_major__ 12 #define __clang_minor__ 0 #define __clang_patchlevel__ 0 #define __clang_version__ "12.0.0 (58badb8c0532a8b5fadda356f3c5fa8499b4918d)" #define __code_model_small__ 1 #define __cray__ 1 #define __cray_major__ 12 #define __cray_minor__ 0 #define __cray_patchlevel__ 3 #define __gnu_linux__ 1 #define __linux 1 #define __linux__ 1 #define __llvm__ 1 #define __pic__ 2 #define __seg_fs __attribute__((address_space(257))) #define __seg_gs __attribute__((address_space(256))) #define __tune_znver2__ 1 #define __unix 1 #define __unix__ 1 #define __x86_64 1 #define __x86_64__ 1 #define __znver2 1 #define __znver2__ 1 #define linux 1 #define unix 1 Executing: CC -c -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilerFlags -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC /tmp/petsc-u_wdb2uz/config.compilerFlags/conftest.cc -E -dM stdout: #define _GNU_SOURCE 1 #define _LP64 1 #define __ADX__ 1 #define __AES__ 1 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_CONSUME 1 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define __ATOMIC_SEQ_CST 5 #define __AVX2__ 1 #define __AVX__ 1 #define __BIGGEST_ALIGNMENT__ 16 #define __BMI2__ 1 #define __BMI__ 1 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __CHAR16_TYPE__ unsigned short #define __CHAR32_TYPE__ unsigned int #define __CHAR_BIT__ 8 #define __CLANG_ATOMIC_BOOL_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR_LOCK_FREE 2 #define __CLANG_ATOMIC_INT_LOCK_FREE 2 #define __CLANG_ATOMIC_LLONG_LOCK_FREE 2 #define __CLANG_ATOMIC_LONG_LOCK_FREE 2 #define __CLANG_ATOMIC_POINTER_LOCK_FREE 2 #define __CLANG_ATOMIC_SHORT_LOCK_FREE 2 #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __CLFLUSHOPT__ 1 #define __CLWB__ 1 #define __CLZERO__ 1 #define __CONSTANT_CFSTRINGS__ 1 #define __CRAYXT_COMPUTE_LINUX_TARGET 1 #define __CRAY_X86_ROME 1 #define __DBL_DECIMAL_DIG__ 17 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_DIG__ 15 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN__ 2.2250738585072014e-308 #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ #define __DEPRECATED 1 #define __ELF__ 1 #define __EXCEPTIONS 1 #define __F16C__ 1 #define __FINITE_MATH_ONLY__ 0 #define __FLOAT128__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_DIG__ 6 #define __FLT_EPSILON__ 1.19209290e-7F #define __FLT_EVAL_METHOD__ 0 #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MANT_DIG__ 24 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX_EXP__ 128 #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN__ 1.17549435e-38F #define __FLT_RADIX__ 2 #define __FMA__ 1 #define __FSGSBASE__ 1 #define __FXSR__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GLIBCXX_BITSIZE_INT_N_0 128 #define __GLIBCXX_TYPE_INT_N_0 __int128 #define __GNUC_GNU_INLINE__ 1 #define __GNUC_MINOR__ 2 #define __GNUC_PATCHLEVEL__ 1 #define __GNUC__ 4 #define __GNUG__ 4 #define __GXX_ABI_VERSION 1002 #define __GXX_EXPERIMENTAL_CXX0X__ 1 #define __GXX_RTTI 1 #define __GXX_WEAK__ 1 #define __INT16_C_SUFFIX__ #define __INT16_FMTd__ "hd" #define __INT16_FMTi__ "hi" #define __INT16_MAX__ 32767 #define __INT16_TYPE__ short #define __INT32_C_SUFFIX__ #define __INT32_FMTd__ "d" #define __INT32_FMTi__ "i" #define __INT32_MAX__ 2147483647 #define __INT32_TYPE__ int #define __INT64_C_SUFFIX__ L #define __INT64_FMTd__ "ld" #define __INT64_FMTi__ "li" #define __INT64_MAX__ 9223372036854775807L #define __INT64_TYPE__ long int #define __INT8_C_SUFFIX__ #define __INT8_FMTd__ "hhd" #define __INT8_FMTi__ "hhi" #define __INT8_MAX__ 127 #define __INT8_TYPE__ signed char #define __INTMAX_C_SUFFIX__ L #define __INTMAX_FMTd__ "ld" #define __INTMAX_FMTi__ "li" #define __INTMAX_MAX__ 9223372036854775807L #define __INTMAX_TYPE__ long int #define __INTMAX_WIDTH__ 64 #define __INTPTR_FMTd__ "ld" #define __INTPTR_FMTi__ "li" #define __INTPTR_MAX__ 9223372036854775807L #define __INTPTR_TYPE__ long int #define __INTPTR_WIDTH__ 64 #define __INT_FAST16_FMTd__ "hd" #define __INT_FAST16_FMTi__ "hi" #define __INT_FAST16_MAX__ 32767 #define __INT_FAST16_TYPE__ short #define __INT_FAST32_FMTd__ "d" #define __INT_FAST32_FMTi__ "i" #define __INT_FAST32_MAX__ 2147483647 #define __INT_FAST32_TYPE__ int #define __INT_FAST64_FMTd__ "ld" #define __INT_FAST64_FMTi__ "li" #define __INT_FAST64_MAX__ 9223372036854775807L #define __INT_FAST64_TYPE__ long int #define __INT_FAST8_FMTd__ "hhd" #define __INT_FAST8_FMTi__ "hhi" #define __INT_FAST8_MAX__ 127 #define __INT_FAST8_TYPE__ signed char #define __INT_LEAST16_FMTd__ "hd" #define __INT_LEAST16_FMTi__ "hi" #define __INT_LEAST16_MAX__ 32767 #define __INT_LEAST16_TYPE__ short #define __INT_LEAST32_FMTd__ "d" #define __INT_LEAST32_FMTi__ "i" #define __INT_LEAST32_MAX__ 2147483647 #define __INT_LEAST32_TYPE__ int #define __INT_LEAST64_FMTd__ "ld" #define __INT_LEAST64_FMTi__ "li" #define __INT_LEAST64_MAX__ 9223372036854775807L #define __INT_LEAST64_TYPE__ long int #define __INT_LEAST8_FMTd__ "hhd" #define __INT_LEAST8_FMTi__ "hhi" #define __INT_LEAST8_MAX__ 127 #define __INT_LEAST8_TYPE__ signed char #define __INT_MAX__ 2147483647 #define __LAHF_SAHF__ 1 #define __LDBL_DECIMAL_DIG__ 21 #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_DIG__ 18 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_MAX_10_EXP__ 4932 #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LITTLE_ENDIAN__ 1 #define __LONG_LONG_MAX__ 9223372036854775807LL #define __LONG_MAX__ 9223372036854775807L #define __LP64__ 1 #define __LZCNT__ 1 #define __MMX__ 1 #define __MOVBE__ 1 #define __MWAITX__ 1 #define __NO_MATH_INLINES 1 #define __OBJC_BOOL_IS_BOOL 0 #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3 #define __OPENCL_MEMORY_SCOPE_DEVICE 2 #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4 #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1 #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0 #define __OPTIMIZE__ 1 #define __ORDER_BIG_ENDIAN__ 4321 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __ORDER_PDP_ENDIAN__ 3412 #define __PCLMUL__ 1 #define __PIC__ 2 #define __POINTER_WIDTH__ 64 #define __POPCNT__ 1 #define __PRAGMA_REDEFINE_EXTNAME 1 #define __PRFCHW__ 1 #define __PTRDIFF_FMTd__ "ld" #define __PTRDIFF_FMTi__ "li" #define __PTRDIFF_MAX__ 9223372036854775807L #define __PTRDIFF_TYPE__ long int #define __PTRDIFF_WIDTH__ 64 #define __RDPID__ 1 #define __RDRND__ 1 #define __RDSEED__ 1 #define __REGISTER_PREFIX__ #define __SCHAR_MAX__ 127 #define __SEG_FS 1 #define __SEG_GS 1 #define __SHA__ 1 #define __SHRT_MAX__ 32767 #define __SIG_ATOMIC_MAX__ 2147483647 #define __SIG_ATOMIC_WIDTH__ 32 #define __SIZEOF_DOUBLE__ 8 #define __SIZEOF_FLOAT128__ 16 #define __SIZEOF_FLOAT__ 4 #define __SIZEOF_INT128__ 16 #define __SIZEOF_INT__ 4 #define __SIZEOF_LONG_DOUBLE__ 16 #define __SIZEOF_LONG_LONG__ 8 #define __SIZEOF_LONG__ 8 #define __SIZEOF_POINTER__ 8 #define __SIZEOF_PTRDIFF_T__ 8 #define __SIZEOF_SHORT__ 2 #define __SIZEOF_SIZE_T__ 8 #define __SIZEOF_WCHAR_T__ 4 #define __SIZEOF_WINT_T__ 4 #define __SIZE_FMTX__ "lX" #define __SIZE_FMTo__ "lo" #define __SIZE_FMTu__ "lu" #define __SIZE_FMTx__ "lx" #define __SIZE_MAX__ 18446744073709551615UL #define __SIZE_TYPE__ long unsigned int #define __SIZE_WIDTH__ 64 #define __SSE2_MATH__ 1 #define __SSE2__ 1 #define __SSE3__ 1 #define __SSE4A__ 1 #define __SSE4_1__ 1 #define __SSE4_2__ 1 #define __SSE_MATH__ 1 #define __SSE__ 1 #define __SSP__ 1 #define __SSSE3__ 1 #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL #define __STDCPP_THREADS__ 1 #define __STDC_HOSTED__ 1 #define __STDC_UTF_16__ 1 #define __STDC_UTF_32__ 1 #define __STDC__ 1 #define __UINT16_C_SUFFIX__ #define __UINT16_FMTX__ "hX" #define __UINT16_FMTo__ "ho" #define __UINT16_FMTu__ "hu" #define __UINT16_FMTx__ "hx" #define __UINT16_MAX__ 65535 #define __UINT16_TYPE__ unsigned short #define __UINT32_C_SUFFIX__ U #define __UINT32_FMTX__ "X" #define __UINT32_FMTo__ "o" #define __UINT32_FMTu__ "u" #define __UINT32_FMTx__ "x" #define __UINT32_MAX__ 4294967295U #define __UINT32_TYPE__ unsigned int #define __UINT64_C_SUFFIX__ UL #define __UINT64_FMTX__ "lX" #define __UINT64_FMTo__ "lo" #define __UINT64_FMTu__ "lu" #define __UINT64_FMTx__ "lx" #define __UINT64_MAX__ 18446744073709551615UL #define __UINT64_TYPE__ long unsigned int #define __UINT8_C_SUFFIX__ #define __UINT8_FMTX__ "hhX" #define __UINT8_FMTo__ "hho" #define __UINT8_FMTu__ "hhu" #define __UINT8_FMTx__ "hhx" #define __UINT8_MAX__ 255 #define __UINT8_TYPE__ unsigned char #define __UINTMAX_C_SUFFIX__ UL #define __UINTMAX_FMTX__ "lX" #define __UINTMAX_FMTo__ "lo" #define __UINTMAX_FMTu__ "lu" #define __UINTMAX_FMTx__ "lx" #define __UINTMAX_MAX__ 18446744073709551615UL #define __UINTMAX_TYPE__ long unsigned int #define __UINTMAX_WIDTH__ 64 #define __UINTPTR_FMTX__ "lX" #define __UINTPTR_FMTo__ "lo" #define __UINTPTR_FMTu__ "lu" #define __UINTPTR_FMTx__ "lx" #define __UINTPTR_MAX__ 18446744073709551615UL #define __UINTPTR_TYPE__ long unsigned int #define __UINTPTR_WIDTH__ 64 #define __UINT_FAST16_FMTX__ "hX" #define __UINT_FAST16_FMTo__ "ho" #define __UINT_FAST16_FMTu__ "hu" #define __UINT_FAST16_FMTx__ "hx" #define __UINT_FAST16_MAX__ 65535 #define __UINT_FAST16_TYPE__ unsigned short #define __UINT_FAST32_FMTX__ "X" #define __UINT_FAST32_FMTo__ "o" #define __UINT_FAST32_FMTu__ "u" #define __UINT_FAST32_FMTx__ "x" #define __UINT_FAST32_MAX__ 4294967295U #define __UINT_FAST32_TYPE__ unsigned int #define __UINT_FAST64_FMTX__ "lX" #define __UINT_FAST64_FMTo__ "lo" #define __UINT_FAST64_FMTu__ "lu" #define __UINT_FAST64_FMTx__ "lx" #define __UINT_FAST64_MAX__ 18446744073709551615UL #define __UINT_FAST64_TYPE__ long unsigned int #define __UINT_FAST8_FMTX__ "hhX" #define __UINT_FAST8_FMTo__ "hho" #define __UINT_FAST8_FMTu__ "hhu" #define __UINT_FAST8_FMTx__ "hhx" #define __UINT_FAST8_MAX__ 255 #define __UINT_FAST8_TYPE__ unsigned char #define __UINT_LEAST16_FMTX__ "hX" #define __UINT_LEAST16_FMTo__ "ho" #define __UINT_LEAST16_FMTu__ "hu" #define __UINT_LEAST16_FMTx__ "hx" #define __UINT_LEAST16_MAX__ 65535 #define __UINT_LEAST16_TYPE__ unsigned short #define __UINT_LEAST32_FMTX__ "X" #define __UINT_LEAST32_FMTo__ "o" #define __UINT_LEAST32_FMTu__ "u" #define __UINT_LEAST32_FMTx__ "x" #define __UINT_LEAST32_MAX__ 4294967295U #define __UINT_LEAST32_TYPE__ unsigned int #define __UINT_LEAST64_FMTX__ "lX" #define __UINT_LEAST64_FMTo__ "lo" #define __UINT_LEAST64_FMTu__ "lu" #define __UINT_LEAST64_FMTx__ "lx" #define __UINT_LEAST64_MAX__ 18446744073709551615UL #define __UINT_LEAST64_TYPE__ long unsigned int #define __UINT_LEAST8_FMTX__ "hhX" #define __UINT_LEAST8_FMTo__ "hho" #define __UINT_LEAST8_FMTu__ "hhu" #define __UINT_LEAST8_FMTx__ "hhx" #define __UINT_LEAST8_MAX__ 255 #define __UINT_LEAST8_TYPE__ unsigned char #define __USER_LABEL_PREFIX__ #define __VERSION__ "Cray Clang 12.0.0 (58badb8c0532a8b5fadda356f3c5fa8499b4918d)" #define __WBNOINVD__ 1 #define __WCHAR_MAX__ 2147483647 #define __WCHAR_TYPE__ int #define __WCHAR_WIDTH__ 32 #define __WINT_MAX__ 4294967295U #define __WINT_TYPE__ unsigned int #define __WINT_UNSIGNED__ 1 #define __WINT_WIDTH__ 32 #define __XSAVEC__ 1 #define __XSAVEOPT__ 1 #define __XSAVES__ 1 #define __XSAVE__ 1 #define __amd64 1 #define __amd64__ 1 #define __clang__ 1 #define __clang_major__ 12 #define __clang_minor__ 0 #define __clang_patchlevel__ 0 #define __clang_version__ "12.0.0 (58badb8c0532a8b5fadda356f3c5fa8499b4918d)" #define __code_model_small__ 1 #define __cplusplus 201402L #define __cpp_aggregate_nsdmi 201304L #define __cpp_alias_templates 200704L #define __cpp_attributes 200809L #define __cpp_binary_literals 201304L #define __cpp_constexpr 201304L #define __cpp_constexpr_in_decltype 201711L #define __cpp_decltype 200707L #define __cpp_decltype_auto 201304L #define __cpp_delegating_constructors 200604L #define __cpp_digit_separators 201309L #define __cpp_exceptions 199711L #define __cpp_generic_lambdas 201304L #define __cpp_impl_destroying_delete 201806L #define __cpp_inheriting_constructors 201511L #define __cpp_init_captures 201304L #define __cpp_initializer_lists 200806L #define __cpp_lambdas 200907L #define __cpp_nsdmi 200809L #define __cpp_range_based_for 200907 #define __cpp_raw_strings 200710L #define __cpp_ref_qualifiers 200710L #define __cpp_return_type_deduction 201304L #define __cpp_rtti 199711L #define __cpp_rvalue_references 200610L #define __cpp_static_assert 200410 #define __cpp_threadsafe_static_init 200806L #define __cpp_unicode_characters 200704L #define __cpp_unicode_literals 200710L #define __cpp_user_defined_literals 200809L #define __cpp_variable_templates 201304L #define __cpp_variadic_templates 200704L #define __cray__ 1 #define __cray_major__ 12 #define __cray_minor__ 0 #define __cray_patchlevel__ 3 #define __gnu_linux__ 1 #define __linux 1 #define __linux__ 1 #define __llvm__ 1 #define __pic__ 2 #define __private_extern__ extern #define __seg_fs __attribute__((address_space(257))) #define __seg_gs __attribute__((address_space(256))) #define __tune_znver2__ 1 #define __unix 1 #define __unix__ 1 #define __x86_64 1 #define __x86_64__ 1 #define __znver2 1 #define __znver2__ 1 #define linux 1 #define unix 1 child config.compilerFlags 13.940094 Executing: cc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. ============================================================================================= TESTING: checkC99Flag from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1834) Check for -std=c99 or equivalent flag Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 Accepted C99 compile flag: ============================================================================================= TESTING: checkRestrict from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:187) Check for the C/CXX restrict keyword Executing: cc -V ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.compilers/conftest.c:5:20: warning: unused variable 'x' [-Wunused-variable] float * __restrict x;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set C restrict keyword to __restrict Defined "C_RESTRICT" to "__restrict" ============================================================================================= TESTING: checkCFormatting from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:448) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkCInline from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:157) Check for C inline keyword ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C Inline keyword to inline Defined "C_INLINE" to "inline" ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:459) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY);dlopen(libname, RTLD_NOW);dlopen(libname, RTLD_LOCAL);dlopen(libname, RTLD_GLOBAL); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_RTLD_LAZY" to "1" Defined "HAVE_RTLD_NOW" to "1" Defined "HAVE_RTLD_LOCAL" to "1" Defined "HAVE_RTLD_GLOBAL" to "1" ============================================================================================= TESTING: checkCLibraries from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:251) Determines the libraries needed to link with C compiled code ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa C libraries are not needed when using Fortran linker ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: CC -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1785) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 -MMD -MP /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -MMD -MP /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Trying HIP compiler flag -MMD -MP Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -MMD -MP /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -MMD -MP Defined make macro "HIP_DEPFLAGS" to "-MMD -MP" ============================================================================================= TESTING: checkCxxDialect from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:528) Determine the CXX dialect supported by the compiler(language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]20: not yet supported [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++03','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect - self.lang+'dialect' = 'c++'+maxDialectNumber (e.g. 'c++14') but ONLY if the user specifically requests a dialect version, otherwise this is not set or raises a RuntimeException if either: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannnot all be compiled with the same flag - The compiler does not support at minimum -std=c++03 checkCxxDialect: checking C++ dialect version for language "HIP" using compiler "hipcc" checkCxxDialect: PETSc believes compiler (hipcc) is NOT gnu-ish checkCxxDialect: configure option after sanitization: --with-hip-dialect=AUTO checkCxxDialect: user has NOT explicitly selected dialect AUTO for HIP checkCxxDialect: using HIP dialect -std=03 as lower bound but package(s): - kokkos Require(s) at least -std=c++14, using package requirement -std=c++14 checkCxxDialect: Have potential flag pool: - -std=c++17 - -std=c++14 checkCxxDialect: checking CXX 17 for HIP with -std=c++17 Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -std=c++17 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++03 includes #include template void ignore(const T&) { } // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; // c++11 includes #include #include #include class MoveSemantics { std::unique_ptr _member; public: MoveSemantics(int val = 4) : _member(new valClass(val)) { } MoveSemantics& operator=(MoveSemantics &&other) noexcept = default; }; template constexpr T Cubed( T x ) { return x*x*x; } auto trailing(int x) -> int { return x+2; } enum class Shapes : int {SQUARE,CIRCLE}; template struct Tuple { }; using PetscErrorCode = int; // c++14 includes #include template constexpr T pi = T(3.1415926535897932385L); // variable template // c++17 includes #include #include #include #include [[nodiscard]] int nodiscardFunc() { return 0; } struct S2 { // static inline member variables since c++17 static inline int var = 8675309; void f(int i); }; void S2::f(int i) { // until c++17: Error: invalid syntax // since c++17: OK: captures the enclosing S2 by copy auto lmbd = [=, *this] { std::cout << i << " " << this->var << std::endl; }; lmbd(); } int main() { // c++03 body valClass cls = valClass(); // value initialization int i = cls.i; // i is not declared const const int& rci = i; // but rci is const_cast(rci) = 4; // c++11 body constexpr int big_value = 1234; decltype(big_value) ierr = big_value; auto ret = trailing(ierr); MoveSemantics bob; MoveSemantics alice; alice = std::move(bob);ignore(alice); Tuple<> t0;ignore(t0); Tuple t1;ignore(t1); Tuple t2;ignore(t2); std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); std::cout << x << ret << std::endl; // c++14 body auto ptr = std::make_unique(); *ptr = 1; std::cout << pi << std::endl; constexpr const std::complex const_i(0.0,1.0); auto lambda = [](auto x, auto y) { return x + y; }; std::cout << lambda(3,4) << std::real(const_i) << std::endl; // c++17 body std::variant v,w; v = 42; // v contains int int ivar = std::get(v); w = std::get<0>(v); // same effect as the previous line w = v; // same effect as the previous line S2 foo; foo.f(ivar); if constexpr (std::is_arithmetic_v) std::cout << "c++17" << std::endl; typedef std::integral_constant squareShape; // static_assert with no message since c++17 static_assert(std::is_same_v); auto val = nodiscardFunc();ignore(val); ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -std=c++17 Added HIP compiler flag -std=c++17 checkCxxDialect: success using -std=c++17 for HIP dialect c++17, set new cxxDialectRange: ('c++14', 'c++17') Defined "HAVE_HIP_DIALECT_CXX03" to "1" Defined "HAVE_HIP_DIALECT_CXX11" to "1" Defined "HAVE_HIP_DIALECT_CXX14" to "1" Defined "HAVE_HIP_DIALECT_CXX17" to "1" Executing: CC --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. ============================================================================================= TESTING: checkRestrict from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:187) Check for the C/CXX restrict keyword Executing: cc -V ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:5:20: warning: unused variable 'x' [-Wunused-variable] float * __restrict x;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to __restrict Defined "CXX_RESTRICT" to "__restrict" Executing: CC --help | head -n 500 Detected CLANG compiler ============================================================================================= TESTING: checkCxxDialect from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:528) Determine the CXX dialect supported by the compiler(language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]20: not yet supported [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++03','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect - self.lang+'dialect' = 'c++'+maxDialectNumber (e.g. 'c++14') but ONLY if the user specifically requests a dialect version, otherwise this is not set or raises a RuntimeException if either: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannnot all be compiled with the same flag - The compiler does not support at minimum -std=c++03 checkCxxDialect: checking C++ dialect version for language "CXX" using compiler "CC" checkCxxDialect: PETSc believes compiler (CC) IS gnu-ish checkCxxDialect: configure option after sanitization: --with-cxx-dialect=AUTO checkCxxDialect: user has NOT explicitly selected dialect AUTO for CXX checkCxxDialect: using CXX dialect -std=03 as lower bound but package(s): - kokkos Require(s) at least -std=c++14, using package requirement -std=c++14 checkCxxDialect: Have potential flag pool: - -std=gnu++17 - -std=c++17 - -std=gnu++14 - -std=c++14 checkCxxDialect: checking CXX 17 for Cxx with -std=gnu++17 Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++03 includes #include template void ignore(const T&) { } // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; // c++11 includes #include #include #include class MoveSemantics { std::unique_ptr _member; public: MoveSemantics(int val = 4) : _member(new valClass(val)) { } MoveSemantics& operator=(MoveSemantics &&other) noexcept = default; }; template constexpr T Cubed( T x ) { return x*x*x; } auto trailing(int x) -> int { return x+2; } enum class Shapes : int {SQUARE,CIRCLE}; template struct Tuple { }; using PetscErrorCode = int; // c++14 includes #include template constexpr T pi = T(3.1415926535897932385L); // variable template // c++17 includes #include #include #include #include [[nodiscard]] int nodiscardFunc() { return 0; } struct S2 { // static inline member variables since c++17 static inline int var = 8675309; void f(int i); }; void S2::f(int i) { // until c++17: Error: invalid syntax // since c++17: OK: captures the enclosing S2 by copy auto lmbd = [=, *this] { std::cout << i << " " << this->var << std::endl; }; lmbd(); } int main() { // c++03 body valClass cls = valClass(); // value initialization int i = cls.i; // i is not declared const const int& rci = i; // but rci is const_cast(rci) = 4; // c++11 body constexpr int big_value = 1234; decltype(big_value) ierr = big_value; auto ret = trailing(ierr); MoveSemantics bob; MoveSemantics alice; alice = std::move(bob);ignore(alice); Tuple<> t0;ignore(t0); Tuple t1;ignore(t1); Tuple t2;ignore(t2); std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); std::cout << x << ret << std::endl; // c++14 body auto ptr = std::make_unique(); *ptr = 1; std::cout << pi << std::endl; constexpr const std::complex const_i(0.0,1.0); auto lambda = [](auto x, auto y) { return x + y; }; std::cout << lambda(3,4) << std::real(const_i) << std::endl; // c++17 body std::variant v,w; v = 42; // v contains int int ivar = std::get(v); w = std::get<0>(v); // same effect as the previous line w = v; // same effect as the previous line S2 foo; foo.f(ivar); if constexpr (std::is_arithmetic_v) std::cout << "c++17" << std::endl; typedef std::integral_constant squareShape; // static_assert with no message since c++17 static_assert(std::is_same_v); auto val = nodiscardFunc();ignore(val); ; return 0; } Output from compiling with -fPIC -std=gnu++17 Added Cxx compiler flag -std=gnu++17 checkCxxDialect: success using -std=gnu++17 for Cxx dialect c++17, set new cxxDialectRange: ('c++14', 'c++17') Defined "HAVE_CXX_DIALECT_CXX03" to "1" Defined "HAVE_CXX_DIALECT_CXX11" to "1" Defined "HAVE_CXX_DIALECT_CXX14" to "1" Defined "HAVE_CXX_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkCxxOptionalExtensions from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:478) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: clang-12: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c:5:22: warning: private field 'i' is not used [-Wunused-private-field] class somename { int i; };; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 clang-12: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c:5:22: warning: private field 'i' is not used [-Wunused-private-field] class somename { int i; };; ^ 1 warning generated. ============================================================================================= TESTING: checkCxxInline from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:172) Check for C++ inline keyword ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx Inline keyword to inline Defined "CXX_INLINE" to "inline" ============================================================================================= TESTING: checkCxxComplexFix from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:876) Determine if the CXX compiler supports utilities provided by petsccxxcomplexfix.h ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define Type int #define PetscReal double #define PetscComplex std::complex /* The two lines, from petsccxxcomplexfix.h, can cause the combination "C++14 + GCC-4.x libstdc++ library" to fail, complaining imag() is not marked const. If the compiler can compile these two lines, it should be able to compile other lines. */ static inline PetscComplex operator-(const Type& lhs, const PetscComplex& rhs) { return PetscReal(lhs) - const_cast(rhs); } static inline PetscComplex operator/(const Type& lhs, const PetscComplex& rhs) { return PetscReal(lhs) / const_cast(rhs); } int main() { Type x = 2; PetscComplex y(1.0,1.0),z,w; z = x - y; w = x / y; std::cout << z << w; ; return 0; } the CXX compiler supports petsccxxcomplexfix.h Defined "HAVE_CXX_COMPLEX_FIX" to "1" ============================================================================================= TESTING: checkCxxLibraries from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:905) Determines the libraries needed to link with C++ from C and Fortran ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: cc -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: __cxa_allocate_exception >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: typeinfo for int >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(.data+0x0) ld.lld: error: undefined symbol: __cxa_throw >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_begin_catch >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::cout >>> referenced by ostream:561 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/ostream:561) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long) >>> referenced by ostream:561 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/ostream:561) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_end_catch >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::ios_base::Init::Init() >>> referenced by iostream:74 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/iostream:74) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(_GLOBAL__sub_I_conftest.cc) ld.lld: error: undefined symbol: std::ios_base::Init::~Init() >>> referenced by conftest.cc:0 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:0) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(_GLOBAL__sub_I_conftest.cc) ld.lld: error: undefined symbol: __gxx_personality_v0 >>> referenced by conftest.cc >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(DW.ref.__gxx_personality_v0) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: __cxa_allocate_exception >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: typeinfo for int >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(.data+0x0) ld.lld: error: undefined symbol: __cxa_throw >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_begin_catch >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::cout >>> referenced by ostream:561 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/ostream:561) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long) >>> referenced by ostream:561 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/ostream:561) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_end_catch >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::ios_base::Init::Init() >>> referenced by iostream:74 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/iostream:74) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(_GLOBAL__sub_I_conftest.cc) ld.lld: error: undefined symbol: std::ios_base::Init::~Init() >>> referenced by conftest.cc:0 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:0) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(_GLOBAL__sub_I_conftest.cc) ld.lld: error: undefined symbol: __gxx_personality_v0 >>> referenced by conftest.cc >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(DW.ref.__gxx_personality_v0) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: __cxa_allocate_exception >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: typeinfo for int >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(.data+0x0) ld.lld: error: undefined symbol: __cxa_throw >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_begin_catch >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::cout >>> referenced by ostream:561 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/ostream:561) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long) >>> referenced by ostream:561 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/ostream:561) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_end_catch >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc:7 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:7) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::ios_base::Init::Init() >>> referenced by iostream:74 (/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0/../../../../include/g++/iostream:74) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(_GLOBAL__sub_I_conftest.cc) ld.lld: error: undefined symbol: std::ios_base::Init::~Init() >>> referenced by conftest.cc:0 (/tmp/petsc-u_wdb2uz/config.compilers/conftest.cc:0) >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(_GLOBAL__sub_I_conftest.cc) ld.lld: error: undefined symbol: __gxx_personality_v0 >>> referenced by conftest.cc >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(DW.ref.__gxx_personality_v0) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Executing: uname -s stdout: Linux Executing: cc --version stdout: Cray clang version 12.0.3 (58badb8c0532a8b5fadda356f3c5fa8499b4918d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/../bin ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: cc -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa compilers: C++ requires -lstdc++ to link with C compiler ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa C++ libraries are not needed when using FC linker Executing: CC -V ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1247) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS Testing Fortran mangling type underscore with code void d1chk_(void){return;} ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: ftn --version stdout: Cray Fortran : Version 12.0.3 Defined "FORTRAN_CHARLEN_T" to "int" ============================================================================================= TESTING: checkFortranNameManglingDouble from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1285) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: /tmp/petsc-u_wdb2uz/config.compilers/conftest.o: in function `main': The Cpu Module:(.text+0x4): undefined reference to `d1_chk_' Linker output before filtering: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: /tmp/petsc-u_wdb2uz/config.compilers/conftest.o: in function `main': The Cpu Module:(.text+0x4): undefined reference to `d1_chk_' : Linker output after filtering: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: /tmp/petsc-u_wdb2uz/config.compilers/conftest.o: in function `main': The Cpu Module:(.text+0x4): undefined reference to `d1_chk_': ============================================================================================= TESTING: checkFortranLibraries from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1295) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main use mpi call MPI_Allreduce() end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() use mpi print*,'testing' call MPI_Allreduce() return end ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern void asub_(void); int main(int argc,char **args) { asub_(); return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: mpi_allreduce_ >>> referenced by The Cpu Module >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: mpi_ >>> referenced by The Cpu Module >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:($data_init_1$asub_) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: mpi_allreduce_ >>> referenced by The Cpu Module >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: mpi_ >>> referenced by The Cpu Module >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:($data_init_1$asub_) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: mpi_allreduce_ >>> referenced by The Cpu Module >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: mpi_ >>> referenced by The Cpu Module >>> /tmp/petsc-u_wdb2uz/config.compilers/confc.o:($data_init_1$asub_) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Fortran code cannot directly be linked with C linker, therefore will determine needed Fortran libraries Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -v -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: stderr: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld --eh-frame-hdr -m elf_x86_64 --enable-new-dtags --dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib64//crt1.o /usr/lib64//crti.o /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtbegin.o /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtfastmath.o /opt/cray/pe/cce/12.0.3/cce/x86_64/lib/no_mmap.o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -Bdynamic -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -rpath=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -rpath=/opt/cray/pe/gcc-libs -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml//lib -L/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/pkgconfig/../ -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 --as-needed -lsci_cray_mpi --no-as-needed --as-needed -lsci_cray --no-as-needed -ldl --as-needed -lmpifort_cray --no-as-needed --as-needed -lmpi_cray --no-as-needed --as-needed -ldsmml --no-as-needed -lpmi -lpmi2 -lxpmem --as-needed -lpgas-shmem --no-as-needed -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup --as-needed -lgfortran --no-as-needed -lstdc++ -lpthread -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux --start-group -lc -lcsup -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lgcc --end-group -lclang_rt.builtins-x86_64 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/..//x86_64-unknown-linux-gnu/lib -EL -o /tmp/petsc-u_wdb2uz/config.compilers/conftest /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtend.o /usr/lib64//crtn.o /opt/cray/pe/cce/12.0.3/binutils/x86_64/bin/objcopy --remove-section=.note.ftn_module_data /tmp/petsc-u_wdb2uz/config.compilers/conftest rm /tmp/pe_79832//pldir/PL_path rm /tmp/pe_79832//pldir/PL_module_list rm /tmp/pe_79832//pldir/PL_global_data rmdir /tmp/pe_79832//pldir rmdir /tmp/pe_79832/ Linker output before filtering: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld --eh-frame-hdr -m elf_x86_64 --enable-new-dtags --dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib64//crt1.o /usr/lib64//crti.o /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtbegin.o /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtfastmath.o /opt/cray/pe/cce/12.0.3/cce/x86_64/lib/no_mmap.o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -Bdynamic -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -rpath=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -rpath=/opt/cray/pe/gcc-libs -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml//lib -L/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/pkgconfig/../ -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 --as-needed -lsci_cray_mpi --no-as-needed --as-needed -lsci_cray --no-as-needed -ldl --as-needed -lmpifort_cray --no-as-needed --as-needed -lmpi_cray --no-as-needed --as-needed -ldsmml --no-as-needed -lpmi -lpmi2 -lxpmem --as-needed -lpgas-shmem --no-as-needed -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup --as-needed -lgfortran --no-as-needed -lstdc++ -lpthread -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux --start-group -lc -lcsup -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lgcc --end-group -lclang_rt.builtins-x86_64 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/..//x86_64-unknown-linux-gnu/lib -EL -o /tmp/petsc-u_wdb2uz/config.compilers/conftest /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtend.o /usr/lib64//crtn.o /opt/cray/pe/cce/12.0.3/binutils/x86_64/bin/objcopy --remove-section=.note.ftn_module_data /tmp/petsc-u_wdb2uz/config.compilers/conftest rm /tmp/pe_79832//pldir/PL_path rm /tmp/pe_79832//pldir/PL_module_list rm /tmp/pe_79832//pldir/PL_global_data rmdir /tmp/pe_79832//pldir rmdir /tmp/pe_79832/ : Linker output after filtering: /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld --eh-frame-hdr -m elf_x86_64 --enable-new-dtags --dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib64//crt1.o /usr/lib64//crti.o /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtbegin.o /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtfastmath.o /opt/cray/pe/cce/12.0.3/cce/x86_64/lib/no_mmap.o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -Bdynamic -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -rpath=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -rpath=/opt/cray/pe/gcc-libs -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml//lib -L/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/pkgconfig/../ -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 --as-needed -lsci_cray_mpi --no-as-needed --as-needed -lsci_cray --no-as-needed -ldl --as-needed -lmpifort_cray --no-as-needed --as-needed -lmpi_cray --no-as-needed --as-needed -ldsmml --no-as-needed -lpmi -lpmi2 -lxpmem --as-needed -lpgas-shmem --no-as-needed -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup --as-needed -lgfortran --no-as-needed -lstdc++ -lpthread -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux --start-group -lc -lcsup -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lgcc --end-group -lclang_rt.builtins-x86_64 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/..//x86_64-unknown-linux-gnu/lib -EL -o /tmp/petsc-u_wdb2uz/config.compilers/conftest /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtend.o /usr/lib64//crtn.o /opt/cray/pe/cce/12.0.3/binutils/x86_64/bin/objcopy --remove-section=.note.ftn_module_data /tmp/petsc-u_wdb2uz/config.compilers/conftest rm /tmp/pe_79832//pldir/PL_path rm /tmp/pe_79832//pldir/PL_module_list rm /tmp/pe_79832//pldir/PL_global_data rmdir /tmp/pe_79832//pldir rmdir /tmp/pe_79832/: Executing: ftn -V Detected Cray compiler compilers: Checking arg /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld compilers: Unknown arg /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg --enable-new-dtags compilers: Unknown arg --enable-new-dtags compilers: Checking arg --dynamic-linker compilers: Unknown arg --dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg /usr/lib64//crt1.o compilers: Unknown arg /usr/lib64//crt1.o compilers: Checking arg /usr/lib64//crti.o compilers: Unknown arg /usr/lib64//crti.o compilers: Checking arg /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtbegin.o compilers: Unknown arg /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtbegin.o compilers: Checking arg /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtfastmath.o compilers: Unknown arg /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtfastmath.o compilers: Checking arg /opt/cray/pe/cce/12.0.3/cce/x86_64/lib/no_mmap.o compilers: Unknown arg /opt/cray/pe/cce/12.0.3/cce/x86_64/lib/no_mmap.o compilers: Checking arg /tmp/petsc-u_wdb2uz/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-u_wdb2uz/config.compilers/conftest.o compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -ldl compilers: Found library: -ldl compilers: Checking arg -L/opt/cray/pe/mpich/8.1.10/gtl/lib compilers: Found library directory: -L/opt/cray/pe/mpich/8.1.10/gtl/lib compilers: Checking arg -lmpi_gtl_hsa compilers: Found library: -lmpi_gtl_hsa compilers: Checking arg -rpath=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib compilers: Unknown arg -rpath=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib compilers: Checking arg -L/opt/cray/pe/gcc/8.1.0/snos/lib64 compilers: Found library directory: -L/opt/cray/pe/gcc/8.1.0/snos/lib64 compilers: Checking arg -rpath=/opt/cray/pe/gcc-libs compilers: Unknown arg -rpath=/opt/cray/pe/gcc-libs compilers: Checking arg -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib compilers: Found library directory: -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib compilers: Checking arg -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib compilers: Found library directory: -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib compilers: Checking arg -L/opt/cray/pe/dsmml/0.2.2/dsmml//lib compilers: Found library directory: -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib compilers: Checking arg -L/opt/cray/pe/pmi/6.0.14/lib compilers: Found library directory: -L/opt/cray/pe/pmi/6.0.14/lib compilers: Checking arg -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/pkgconfig/../ compilers: Found library directory: -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib compilers: Checking arg -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 compilers: Found library directory: -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lsci_cray_mpi compilers: Skipping CRAY LIBSCI library: -lsci_cray_mpi compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lsci_cray compilers: Skipping CRAY LIBSCI library: -lsci_cray compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lmpifort_cray compilers: Found library: -lmpifort_cray compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lmpi_cray compilers: Found library: -lmpi_cray compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -ldsmml compilers: Found library: -ldsmml compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lpmi compilers: Found library: -lpmi compilers: Checking arg -lpmi2 compilers: Found library: -lpmi2 compilers: Checking arg -lxpmem compilers: Found library: -lxpmem compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lpgas-shmem compilers: Found library: -lpgas-shmem compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lquadmath compilers: Found library: -lquadmath compilers: Checking arg -lmodules compilers: Found library: -lmodules compilers: Checking arg -lfi compilers: Found library: -lfi compilers: Checking arg -lcraymath compilers: Found library: -lcraymath compilers: Checking arg -lf compilers: Found library: -lf compilers: Checking arg -lu compilers: Found library: -lu compilers: Checking arg -lcsup compilers: Found library: -lcsup compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgfortran compilers: Found library: -lgfortran compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lstdc++ compilers: Already in lflags: -lstdc++ compilers: Checking arg -lpthread compilers: Found library: -lpthread compilers: Checking arg -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux compilers: Found library directory: -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux compilers: Checking arg --start-group compilers: Unknown arg --start-group compilers: Checking arg -lc compilers: Found system library therefore skipping: -lc compilers: Checking arg -lcsup compilers: Already in lflags: -lcsup compilers: Checking arg -lgcc_eh compilers: Found library: -lgcc_eh compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lclang_rt.craypgo-x86_64 compilers: Found library: -lclang_rt.craypgo-x86_64 compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg --end-group compilers: Unknown arg --end-group compilers: Checking arg -lclang_rt.builtins-x86_64 compilers: Found library: -lclang_rt.builtins-x86_64 compilers: Checking arg -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 compilers: Found library directory: -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 compilers: Checking arg -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/..//x86_64-unknown-linux-gnu/lib compilers: Found library directory: -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib compilers: Checking arg -EL compilers: Unknown arg -EL compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-u_wdb2uz/config.compilers/conftest compilers: Unknown arg /tmp/petsc-u_wdb2uz/config.compilers/conftest compilers: Checking arg /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtend.o compilers: Unknown arg /opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0//crtend.o compilers: Checking arg /usr/lib64//crtn.o compilers: Unknown arg /usr/lib64//crtn.o compilers: Checking arg /opt/cray/pe/cce/12.0.3/binutils/x86_64/bin/objcopy compilers: Unknown arg /opt/cray/pe/cce/12.0.3/binutils/x86_64/bin/objcopy compilers: Checking arg --remove-section=.note.ftn_module_data compilers: Unknown arg --remove-section=.note.ftn_module_data compilers: Checking arg /tmp/petsc-u_wdb2uz/config.compilers/conftest compilers: Unknown arg /tmp/petsc-u_wdb2uz/config.compilers/conftest compilers: Checking arg rm compilers: Unknown arg rm compilers: Checking arg /tmp/pe_79832//pldir/PL_path compilers: Unknown arg /tmp/pe_79832//pldir/PL_path compilers: Checking arg rm compilers: Unknown arg rm compilers: Checking arg /tmp/pe_79832//pldir/PL_module_list compilers: Unknown arg /tmp/pe_79832//pldir/PL_module_list compilers: Checking arg rm compilers: Unknown arg rm compilers: Checking arg /tmp/pe_79832//pldir/PL_global_data compilers: Unknown arg /tmp/pe_79832//pldir/PL_global_data compilers: Checking arg rmdir compilers: Unknown arg rmdir compilers: Checking arg /tmp/pe_79832//pldir compilers: Unknown arg /tmp/pe_79832//pldir compilers: Checking arg rmdir compilers: Unknown arg rmdir compilers: Checking arg /tmp/pe_79832/ compilers: Unknown arg /tmp/pe_79832/ compilers: Libraries needed to link Fortran code with the C linker: ['-lstdc++', '-ldl', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib', '-L/opt/cray/pe/mpich/8.1.10/gtl/lib', '-lmpi_gtl_hsa', '-Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64', '-L/opt/cray/pe/gcc/8.1.0/snos/lib64', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib', '-L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib', '-L/opt/cray/pe/pmi/6.0.14/lib', '-Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib', '-L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib', '-Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64', '-L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64', '-lmpifort_cray', '-lmpi_cray', '-ldsmml', '-lpmi', '-lpmi2', '-lxpmem', '-lpgas-shmem', '-lquadmath', '-lmodules', '-lfi', '-lcraymath', '-lf', '-lu', '-lcsup', '-lgfortran', '-lpthread', '-Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux', '-L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux', '-lgcc_eh', '-lm', '-lclang_rt.craypgo-x86_64', '-lclang_rt.builtins-x86_64', '-Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0', '-L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0', '-Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib', '-L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used with Fortran as the linker ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64 -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/pmi/6.0.14/lib -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -lmpifort_cray -lmpi_cray -ldsmml -lpmi -lpmi2 -lxpmem -lpgas-shmem -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup -lgfortran -lpthread -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lclang_rt.builtins-x86_64 -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ======== Checking running linked program ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64 -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/pmi/6.0.14/lib -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -lmpifort_cray -lmpi_cray -ldsmml -lpmi -lpmi2 -lxpmem -lpgas-shmem -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup -lgfortran -lpthread -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lclang_rt.builtins-x86_64 -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C as the linker ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64 -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/pmi/6.0.14/lib -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -lmpifort_cray -lmpi_cray -ldsmml -lpmi -lpmi2 -lxpmem -lpgas-shmem -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup -lgfortran -lpthread -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lclang_rt.builtins-x86_64 -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ======== Checking running linked program ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64 -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/pmi/6.0.14/lib -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -lmpifort_cray -lmpi_cray -ldsmml -lpmi -lpmi2 -lxpmem -lpgas-shmem -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup -lgfortran -lpthread -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lclang_rt.builtins-x86_64 -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C++ as linker ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64 -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/pmi/6.0.14/lib -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -lmpifort_cray -lmpi_cray -ldsmml -lpmi -lpmi2 -lxpmem -lpgas-shmem -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup -lgfortran -lpthread -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lclang_rt.builtins-x86_64 -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ======== Checking running linked program ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/gtl/lib -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib64 -L/opt/cray/pe/gcc/8.1.0/snos/lib64 -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -L/opt/cray/pe/mpich/8.1.10/ofi/cray/10.0/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/opt/cray/pe/pmi/6.0.14/lib -L/opt/cray/pe/pmi/6.0.14/lib -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -L/opt/cray/pe/cce/12.0.3/cce/x86_64/lib -Wl,-rpath,/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 -lmpifort_cray -lmpi_cray -ldsmml -lpmi -lpmi2 -lxpmem -lpgas-shmem -lquadmath -lmodules -lfi -lcraymath -lf -lu -lcsup -lgfortran -lpthread -Wl,-rpath,/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -L/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux -lgcc_eh -lm -lclang_rt.craypgo-x86_64 -lclang_rt.builtins-x86_64 -Wl,-rpath,/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -L/opt/cray/pe/gcc/8.1.0/snos/lib/gcc/x86_64-suse-linux/8.1.0 -Wl,-rpath,/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -L/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-unknown-linux-gnu/lib -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.setCompilers/conftest compilers: Fortran libraries can be used from C++ ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1750) Check that Fortran can link C++ libraries ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/cxxobj.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilers.py:1916) child config.compilers 17.607888 ============================================================================================= TESTING: configureClosure from config.utilities.closure(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/closure.py:17) Determine if Apple ^close syntax is supported in C ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.closure/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.closure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.utilities.closure/conftest.c:6:6: error: blocks support disabled - compile with -fblocks or pick a deployment target that supports them int (^closure)(int);; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int (^closure)(int);; return 0; } Compile failed inside link child config.utilities.closure 0.063260 ============================================================================================= TESTING: checkFortranTypeSizes from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:56) Check whether real*8 is supported and suggest flags which will allow support Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main real*8 variable end ============================================================================================= TESTING: checkFortranPreprocessor from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:73) Determine if Fortran handles preprocessing properly Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Output from compiling with -fPIC compilers: Fortran uses preprocessor ============================================================================================= TESTING: checkFortranDefineCompilerOption from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:96) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.setCompilers -fPIC -DTesting /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Output from compiling with -fPIC -DTesting Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro ============================================================================================= TESTING: checkFortran90 from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:146) Determine whether the Fortran compiler handles F90 ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main REAL(KIND=SELECTED_REAL_KIND(10)) d INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Fortran compiler supports F90 ============================================================================================= TESTING: checkFortran90FreeForm from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:162) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "USING_F90FREEFORM" to "1" Fortran compiler supports F90FreeForm ============================================================================================= TESTING: checkFortran2003 from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:176) Determine whether the Fortran compiler handles F2003 ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: module Base_module type, public :: base_type integer :: A contains procedure, public :: Print => BasePrint end type base_type contains subroutine BasePrint(this) class(base_type) :: this end subroutine BasePrint end module Base_module program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "USING_F2003" to "1" Fortran compiler supports F2003 ============================================================================================= TESTING: checkFortran90Array from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:211) Check for F90 array interfaces Executing: uname -s stdout: Linux ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); exit(111); } return; } ======== Checking running linked program ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main Interface Subroutine f90ptrtest(p1,p2,p3,i) integer, pointer :: p1(:,:) integer, pointer :: p2(:,:) integer, pointer :: p3(:,:) integer i End Subroutine End Interface integer, pointer :: ptr1(:,:),ptr2(:,:) integer, target :: array(6:8,9:21) integer in in = 25 ptr1 => array ptr2 => array call f90arraytest(ptr1,ptr2,ptr1,in) call f90ptrtest(ptr1,ptr2,ptr1,in) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o /tmp/petsc-u_wdb2uz/config.compilersFortran/fooobj.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest stdout: arrays [0x4041c0 0x4041c0 0x4041c0] arrays [0x4040c0 0x404120 0x4040c0] pointers do not match! [0x20000000001009 0x4012d0] [0x7f28103b68c0] ERROR while running executable: Could not execute "['/tmp/petsc-u_wdb2uz/config.compilersFortran/conftest']": arrays [0x4041c0 0x4041c0 0x4041c0] arrays [0x4040c0 0x404120 0x4040c0] pointers do not match! [0x20000000001009 0x4012d0] [0x7f28103b68c0] compilers: F90 uses a single argument for array pointers ============================================================================================= TESTING: checkFortran90AssumedType from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:298) Executing: ftn -qversion ============================================================================================= TESTING: checkFortranModuleInclude from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:303) Figures out what flag is used to specify the include path for Fortran modules ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.compilersFortran/confdir -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest -I/tmp/petsc-u_wdb2uz/config.compilersFortran/confdir -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o /tmp/petsc-u_wdb2uz/config.compilersFortran/configtest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa compilers: Fortran module include flag -I found ============================================================================================= TESTING: checkFortranModuleOutput from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:369) Figures out what flag is used to specify the output path for Fortran modules ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -module /tmp/petsc-u_wdb2uz/config.compilersFortran/confdir -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-78 crayftn: ERROR in command line The -m option has an invalid argument, "odule". Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -module:/tmp/petsc-u_wdb2uz/config.compilersFortran/confdir -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-2307 crayftn: ERROR in command line The "-m" option must be followed by 0, 1, 2, 3 or 4. Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fmod=/tmp/petsc-u_wdb2uz/config.compilersFortran/confdir -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-2307 crayftn: ERROR in command line The "-f" option must be followed by fixed, free, pic, PIC. Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -J/tmp/petsc-u_wdb2uz/config.compilersFortran/confdir -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J found ============================================================================================= TESTING: checkFortranTypeStar from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:135) Determine whether the Fortran compiler handles type(*) ===== Checking compiler Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main interface subroutine a(b) type(*) :: b(:) end subroutine end interface end Defined "HAVE_FORTRAN_TYPE_STAR" to "1" Fortran compiler supports type(*) ============================================================================================= TESTING: checkFortranTypeInitialize from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:125) Determines if PETSc objects in Fortran are initialized by default (doesn't work with common blocks) Defined "FORTRAN_TYPE_INITIALIZE" to " = -2" Initializing Fortran objects ============================================================================================= TESTING: configureFortranFlush from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:116) ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.F90 Successful compile: Source: program main call flush(6) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilersFortran/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_FORTRAN_FLUSH" to "1" ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilersFortran(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/compilersFortran.py:414) Check if -MMD works for dependency generation, and add it if it does Trying FC compiler flag -MMD -MP Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC -MMD -MP /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "MD". ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "P". Source: program main end Output from compiling with -fPIC -MMD -MP ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "MD". ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "P". PETSc Error: No output file produced Rejecting compiler flag -MMD -MP due to nonzero status from link Rejected FC compiler flag -MMD -MP Trying FC compiler flag -MMD Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC -MMD /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "MD". Source: program main end Output from compiling with -fPIC -MMD ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "MD". PETSc Error: No output file produced Rejecting compiler flag -MMD due to nonzero status from link Rejected FC compiler flag -MMD Trying FC compiler flag -xMMD Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC -xMMD /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-78 crayftn: ERROR in command line The -x option has an invalid argument, "MMD". Source: program main end Output from compiling with -fPIC -xMMD ftn-78 crayftn: ERROR in command line The -x option has an invalid argument, "MMD". PETSc Error: No output file produced Rejecting compiler flag -xMMD due to nonzero status from link Rejected FC compiler flag -xMMD Trying FC compiler flag -qmakedep=gcc Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC -qmakedep=gcc /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-2105 crayftn: ERROR in command line "-q" is an invalid command-line option. Source: program main end Output from compiling with -fPIC -qmakedep=gcc ftn-2105 crayftn: ERROR in command line "-q" is an invalid command-line option. PETSc Error: No output file produced Rejecting compiler flag -qmakedep=gcc due to nonzero status from link Rejected FC compiler flag -qmakedep=gcc Trying FC compiler flag -MD Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC -MD /tmp/petsc-u_wdb2uz/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "D". Source: program main end Output from compiling with -fPIC -MD ftn-78 crayftn: ERROR in command line The -M option has an invalid argument, "D". PETSc Error: No output file produced Rejecting compiler flag -MD due to nonzero status from link Rejected FC compiler flag -MD child config.compilersFortran 6.057862 ============================================================================================= TESTING: checkStdC from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:107) ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.headers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c ======== Checking running linked program ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.headers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.headers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.headers/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.headers/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.headers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.headers/conftest ============================================================================================= TESTING: checkStat from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:140) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c ============================================================================================= TESTING: checkSysWait from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:175) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.headers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: checkTime from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:197) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIME_H" to "1" ============================================================================================= TESTING: checkMath from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.headers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:8:8: warning: if statement has empty body [-Wempty-body] if (pi); ^ /tmp/petsc-u_wdb2uz/config.headers/conftest.c:8:8: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: zmmintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: zmmintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: checkRecursiveMacros from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.headers/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } child config.headers 4.482380 ============================================================================================= TESTING: configureCacheDetails from config.utilities.cacheDetails(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { ; return 0; } ======== Checking running linked program ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-u_wdb2uz/config.utilities.cacheDetails/conftest Defined "LEVEL1_DCACHE_LINESIZE" to "64" child config.utilities.cacheDetails 0.286603 ============================================================================================= TESTING: check_struct_sigaction from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:42) Checks if "struct sigaction" exists in signal.h. This check is for C89 check. Checking for type: struct sigaction ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:18: warning: unused variable 'a' [-Wunused-variable] struct sigaction a;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { struct sigaction a;; return 0; } struct sigaction found Defined "HAVE_STRUCT_SIGACTION" to "1" ============================================================================================= TESTING: check__int64 from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:48) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:1: error: unknown type name '__int64'; did you mean '__int64_t'? __int64 a;; ^~~~~~~ __int64_t /usr/include/bits/types.h:43:25: note: '__int64_t' declared here typedef signed long int __int64_t; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { __int64 a;; return 0; } __int64 found ============================================================================================= TESTING: checkSizeTypes from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:54) Checks for types associated with sizes, such as size_t. Checking for type: size_t ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:8: warning: unused variable 'a' [-Wunused-variable] size_t a;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { size_t a;; return 0; } size_t found ============================================================================================= TESTING: checkFileTypes from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:64) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:8: warning: unused variable 'a' [-Wunused-variable] mode_t a;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:7: warning: unused variable 'a' [-Wunused-variable] off_t a;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { off_t a;; return 0; } off_t found ============================================================================================= TESTING: checkIntegerTypes from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:59) Checks for types associated with integers, such as int32_t. Checking for type: int32_t ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:9: warning: unused variable 'a' [-Wunused-variable] int32_t a;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a;; return 0; } int32_t found ============================================================================================= TESTING: checkPID from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:70) Checks for pid_t, and defines it if necessary Checking for type: pid_t ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:11:7: warning: unused variable 'a' [-Wunused-variable] pid_t a;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { pid_t a;; return 0; } pid_t found ============================================================================================= TESTING: checkUID from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:74) Checks for uid_t and gid_t, and defines them if necessary Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.types/conftest.c ============================================================================================= TESTING: checkC99Complex from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:81) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.types/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { double _Complex x; x = I; ; return 0; } Defined "HAVE_C99_COMPLEX" to "1" ============================================================================================= TESTING: checkCxxComplex from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:95) Check for complex numbers in namespace std ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.types/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.cc:6:22: warning: unused variable 'x' [-Wunused-variable] std::complex x; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.types/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_CXX_COMPLEX" to "1" ============================================================================================= TESTING: checkConst from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:106) Checks for working const, and if not found defines it to empty string ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.types/conftest.c:24:16: warning: if statement has empty body [-Wempty-body] if (zero.x); ^ /tmp/petsc-u_wdb2uz/config.types/conftest.c:24:16: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.types/conftest.c:25:14: warning: if statement has empty body [-Wempty-body] if (x[0]); ^ /tmp/petsc-u_wdb2uz/config.types/conftest.c:25:14: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.types/conftest.c:31:14: warning: if statement has empty body [-Wempty-body] if (*s); ^ /tmp/petsc-u_wdb2uz/config.types/conftest.c:31:14: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.types/conftest.c:52:15: warning: if statement has empty body [-Wempty-body] if (foo); ^ /tmp/petsc-u_wdb2uz/config.types/conftest.c:52:15: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.types/conftest.c:46:20: warning: variable 'b' is uninitialized when used here [-Wuninitialized] struct s *b; b->j = 5; ^ /tmp/petsc-u_wdb2uz/config.types/conftest.c:46:18: note: initialize the variable 'b' to silence this warning struct s *b; b->j = 5; ^ = 0 /tmp/petsc-u_wdb2uz/config.types/conftest.c:30:8: warning: variable 't' is uninitialized when used here [-Wuninitialized] *t++ = 0; ^ /tmp/petsc-u_wdb2uz/config.types/conftest.c:27:14: note: initialize the variable 't' to silence this warning char *t; ^ = 0 6 warnings generated. Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; Defined "SIZEOF_VOID_P" to "8" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(short)==2)*2-1]; Defined "SIZEOF_SHORT" to "2" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(int)==4)*2-1]; Defined "SIZEOF_INT" to "4" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(long)==8)*2-1]; Defined "SIZEOF_LONG" to "8" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(long long)==8)*2-1]; Defined "SIZEOF_LONG_LONG" to "8" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: enum ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(enum{ENUM_DUMMY})==4)*2-1]; Defined "SIZEOF_ENUM" to "4" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(size_t)==8)*2-1]; Defined "SIZEOF_SIZE_T" to "8" Defined "USING_64BIT_PTR" to "1" ============================================================================================= TESTING: checkVisibility from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:196) ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_C" to "1" ===== Checking compiler Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_CXX" to "1" ============================================================================================= TESTING: checkMaxPathLen from config.types(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/types.py:218) Determining PETSC_MAX_PATH_LEN ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MAXPATHLEN) # define PETSC_MAX_PATH_LEN MAXPATHLEN #elif defined(MAX_PATH) # define PETSC_MAX_PATH_LEN MAX_PATH #elif defined(_MAX_PATH) # define PETSC_MAX_PATH_LEN _MAX_PATH #else # define PETSC_MAX_PATH_LEN 4096 #endif #define xstr(s) str(s) #define str(s) #s char petsc_max_path_len[] = xstr(PETSC_MAX_PATH_LEN); int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MAXPATHLEN) # define PETSC_MAX_PATH_LEN MAXPATHLEN #elif defined(MAX_PATH) # define PETSC_MAX_PATH_LEN MAX_PATH #elif defined(_MAX_PATH) # define PETSC_MAX_PATH_LEN _MAX_PATH #else # define PETSC_MAX_PATH_LEN 4096 #endif #define xstr(s) str(s) #define str(s) #s char petsc_max_path_len[] = xstr(PETSC_MAX_PATH_LEN); Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.types/conftest.c Defined "MAX_PATH_LEN" to "4096" child config.types 2.683530 ============================================================================================= TESTING: configureMemAlign from PETSc.options.memAlign(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/memAlign.py:29) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 child PETSc.options.memAlign 0.003498 ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lfpe -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lfpe clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lfpe clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lfpe clang-12: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-12: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lfpe -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lfpe clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lfpe clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lfpe clang-12: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-12: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkMath from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:296) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } void dummy(void) {_check_sin(); _check_floor(); _check_log10(); _check_pow();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa CheckMath: using math library [] ============================================================================================= TESTING: checkMathErf from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:315) Check for erf() in libm, the math library Checking for functions [erf] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } int main() { _check_erf();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } void dummy(void) {_check_erf();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa erf() found Defined "HAVE_ERF" to "1" ============================================================================================= TESTING: checkMathTgamma from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:324) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } int main() { _check_tgamma();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } void dummy(void) {_check_tgamma();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa tgamma() found Defined "HAVE_TGAMMA" to "1" ============================================================================================= TESTING: checkMathLgamma from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:333) Check for lgamma() in libm, the math library Checking for functions [lgamma] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } int main() { _check_lgamma();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } void dummy(void) {_check_lgamma();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa lgamma() found Defined "HAVE_LGAMMA" to "1" ============================================================================================= TESTING: checkMathFenv from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:346) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } void dummy(void) {_check_fesetenv();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_FENV_H" to "1" ============================================================================================= TESTING: checkMathLog2 from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:354) Check for log2() in libm, the math library Checking for functions [log2] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5:81: warning: unused variable 'y' [-Wunused-variable] static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } int main() { _check_log2();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.compilers/conftest.c:5:81: warning: unused variable 'y' [-Wunused-variable] static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } void dummy(void) {_check_log2();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa log2() found Defined "HAVE_LOG2" to "1" ============================================================================================= TESTING: checkRealtime from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:363) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } void dummy(void) {_check_clock_gettime();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa realtime functions are linked in by default ============================================================================================= TESTING: checkDynamic from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:379) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -ldl -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } void dummy(void) {_check_dlopen();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -ldl -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_LIBDL" to "1" Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" child config.libraries 6.822225 ============================================================================================= TESTING: configureLibraryOptions from PETSc.options.libraryOptions(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/libraryOptions.py:38) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE, PETSC_USE_FORTRAN_KERNELS, and PETSC_USE_AVX512_KERNELS Defined "USE_LOG" to "1" Executing: cc -qversion Defined "USE_MALLOC_COALESCED" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); static void _check_bgl_perfctr_void() { bgl_perfctr_void(); } int main() { _check_bgl_perfctr_void();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: bgl_perfctr_void >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: bgl_perfctr_void >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: bgl_perfctr_void >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [ADIOI_BGL_Open] in library [''] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); static void _check_ADIOI_BGL_Open() { ADIOI_BGL_Open(); } int main() { _check_ADIOI_BGL_Open();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: ADIOI_BGL_Open >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: ADIOI_BGL_Open >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: ADIOI_BGL_Open >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): *********BGL/IBM test failure Defined "USE_BACKWARD_LOOP" to "1" Defined "USE_AVX512_KERNELS" to "1" Defined "Alignx(a,b)" to " " ============================================================================================= TESTING: configureISColorValueType from PETSc.options.libraryOptions(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/libraryOptions.py:99) Sets PETSC_IS_COLORING_VALUE_TYPE, PETSC_MPIU_IS_COLORING_VALUE_TYPE, and PETSC_IS_COLORING_MAX as required by ISColoring Defined "MPIU_IS_COLORING_VALUE_TYPE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "USHRT_MAX" Defined "IS_COLORING_VALUE_TYPE" to "short" Defined "IS_COLORING_VALUE_TYPE_F" to "integer2" child PETSc.options.libraryOptions 0.389825 child config.atomics 0.000015 ============================================================================================= TESTING: checkSysinfo from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:106) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_SYSINFO" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.functions/conftest.c:9:4: error: "Cannot check sysinfo without special headers" # error "Cannot check sysinfo without special headers" ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:13:30: warning: implicit declaration of function 'sysinfo' is invalid in C99 [-Wimplicit-function-declaration] char buf[10]; long count=10; sysinfo(1, buf, count); ^ 1 warning and 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_SYS_SYSINFO_H # include #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVPrintf from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:125) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ============================================================================================= TESTING: checkVFPrintf from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:131) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ============================================================================================= TESTING: checkVSNPrintf from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:137) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_VSNPRINTF" to "1" ============================================================================================= TESTING: checkNanosleep from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:167) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_NANOSLEEP" to "1" ============================================================================================= TESTING: checkMemmove from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:173) Check for functional memmove() - as MS VC requires correct includes to for this test ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { char c1[1], c2[1] = "c"; size_t n=1; memmove(c1,c2,n); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MEMMOVE" to "1" ============================================================================================= TESTING: checkSignalHandlerType from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:143) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.functions/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "SIGNAL_CAST" to " " ============================================================================================= TESTING: checkFreeReturnType from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:153) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.functions/conftest.c:6:25: error: assigning to 'int' from incompatible type 'void' int ierr; void *p; ierr = free(p); return 0; ^ ~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVariableArgumentLists from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:159) Checks whether the variable argument list functionality is working ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_VA_COPY" to "1" ============================================================================================= TESTING: checkClassify from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:85) Recursive decompose to rapidly classify functions as found or missing To confirm that a function is missing, we require a compile/link failure with only that function in a compilation unit. In contrast, we can confirm that many functions are present by compiling them all together in a large compilation unit. We optimistically compile everything together, then trim all functions that were named in the error message and bisect the result. The trimming is only an optimization to increase the likelihood of a big-batch compile succeeding; we do not rely on the compiler naming missing functions. Checking for functions [usleep memalign fork _getcwd lseek sbreak _pipe getrusage _set_output_format dlopen stricmp gethostname readlink getdomainname bzero dlerror dlclose fpresetsticky time _sleep popen getwd clock getpagesize rand socket drand48 _lseek snprintf PXFGETARG uname fpsetsticky _mkdir access _access _snprintf dlsym getcwd strcasecmp sleep gethostbyname realpath] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.functions/conftest.c:27:6: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration] char bzero(); ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:27:6: note: 'bzero' is a builtin with type 'void (void *, unsigned long)' /tmp/petsc-u_wdb2uz/config.functions/conftest.c:41:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] char snprintf(); ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:41:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' /tmp/petsc-u_wdb2uz/config.functions/conftest.c:51:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] char strcasecmp(); ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:51:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char usleep(); char memalign(); char fork(); char _getcwd(); char lseek(); char sbreak(); char _pipe(); char getrusage(); char _set_output_format(); char dlopen(); char stricmp(); char gethostname(); char readlink(); char getdomainname(); char bzero(); char dlerror(); char dlclose(); char fpresetsticky(); char time(); char _sleep(); char popen(); char getwd(); char clock(); char getpagesize(); char rand(); char socket(); char drand48(); char _lseek(); char snprintf(); char PXFGETARG(); char uname(); char fpsetsticky(); char _mkdir(); char access(); char _access(); char _snprintf(); char dlsym(); char getcwd(); char strcasecmp(); char sleep(); char gethostbyname(); char realpath(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c:83 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:83) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c:95 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:95) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c:101 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:101) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c:113 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:113) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c:125 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:125) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c:167 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:167) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c:179 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:179) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c:227 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:227) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c:239 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:239) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c:251 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:251) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c:257 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:257) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _access >>> referenced by conftest.c:269 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:269) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c:275 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:275) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c:83 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:83) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c:95 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:95) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c:101 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:101) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c:113 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:113) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c:125 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:125) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c:167 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:167) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c:179 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:179) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c:227 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:227) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c:239 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:239) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c:251 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:251) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c:257 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:257) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _access >>> referenced by conftest.c:269 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:269) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c:275 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:275) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c:83 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:83) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c:95 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:95) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c:101 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:101) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c:113 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:113) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c:125 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:125) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c:167 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:167) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c:179 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:179) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c:227 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:227) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c:239 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:239) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c:251 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:251) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c:257 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:257) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _access >>> referenced by conftest.c:269 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:269) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c:275 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:275) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [usleep memalign fork getrusage dlopen gethostname readlink getdomainname bzero dlerror dlclose time] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.functions/conftest.c:21:6: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration] char bzero(); ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:21:6: note: 'bzero' is a builtin with type 'void (void *, unsigned long)' 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char usleep(); char memalign(); char fork(); char getrusage(); char dlopen(); char gethostname(); char readlink(); char getdomainname(); char bzero(); char dlerror(); char dlclose(); char time(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_USLEEP" to "1" Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_TIME" to "1" Checking for functions [popen getwd clock getpagesize rand socket drand48 uname dlsym strcasecmp gethostbyname realpath] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.functions/conftest.c:22:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] char strcasecmp(); ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:22:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char popen(); char getwd(); char clock(); char getpagesize(); char rand(); char socket(); char drand48(); char uname(); char dlsym(); char strcasecmp(); char gethostbyname(); char realpath(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_POPEN" to "1" Defined "HAVE_GETWD" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_RAND" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_REALPATH" to "1" Checking for functions [_getcwd] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [lseek] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_LSEEK" to "1" Checking for functions [sbreak] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_pipe] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _pipe(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: __pipe >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: __pipe >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: __pipe >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_set_output_format] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _set_output_format(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [stricmp] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [fpresetsticky] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fpresetsticky(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_sleep] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: usleep >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: usleep >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: usleep >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_lseek] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: llseek >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: llseek >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: llseek >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [snprintf] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.functions/conftest.c:13:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] char snprintf(); ^ /tmp/petsc-u_wdb2uz/config.functions/conftest.c:13:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_SNPRINTF" to "1" Checking for functions [PXFGETARG] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [fpsetsticky] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fpsetsticky(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_mkdir] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _mkdir(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: mkdir >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: mkdir >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: mkdir >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [access] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_ACCESS" to "1" Checking for functions [_access] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _access >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: eaccess >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _access >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: eaccess >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _access >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: eaccess >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_snprintf] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: __snprintf >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: __snprintf >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c:24 (/tmp/petsc-u_wdb2uz/config.functions/conftest.c:24) >>> /tmp/petsc-u_wdb2uz/config.functions/conftest.o:(main) >>> did you mean: __snprintf >>> defined in: /lib64/libc.so.6 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [getcwd] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_GETCWD" to "1" Checking for functions [sleep] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_SLEEP" to "1" ============================================================================================= TESTING: checkMmap from config.functions(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/functions.py:179) Check for functional mmap() to allocate shared memory and define HAVE_MMAP ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.functions/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { int fd; fd=open("/tmp/file",O_RDWR); mmap((void*)0,100,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.functions/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MMAP" to "1" child config.functions 4.938927 ============================================================================================= TESTING: configureMemorySize from config.utilities.getResidentSetSize(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() child config.utilities.getResidentSetSize 0.002972 ============================================================================================= TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Checking for functions [] in library [''] [] ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.F90 Successful compile: Source: program main integer i character*(80) arg i = command_argument_count() call get_command_argument(i,arg) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" child config.utilities.fortranCommandLine 0.537948 ============================================================================================= TESTING: configureFPTrap from config.utilities.FPTrap(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sigfpe.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sigfpe.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'sigfpe.h' file not found #include ^~~~~~~~~~ 1 error generated.: Checking for header: fpxcp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'fpxcp.h' file not found #include ^~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'fpxcp.h' file not found #include ^~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'fpxcp.h' file not found #include ^~~~~~~~~ 1 error generated.: Checking for header: floatingpoint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'floatingpoint.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'floatingpoint.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'floatingpoint.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated.: child config.utilities.FPTrap 0.149454 ============================================================================================= TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: 'sysctl.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: stderr: In file included from /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c:4: In file included from /usr/include/stdlib.h:25: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:183:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main() { ; return 0; } Defined "_DEFAULT_SOURCE" to "1" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0;; return 0; } Defined "_GNU_SOURCE" to "1" child config.utilities.featureTestMacros 0.358800 ============================================================================================= TESTING: configureMissingUtypeTypedefs from config.utilities.missing(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/missing.py:55) Checks if u_short is undefined ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:6:9: warning: unused variable 'foo' [-Wunused-variable] u_short foo; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ============================================================================================= TESTING: configureMissingFunctions from config.utilities.missing(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/missing.py:61) Checks for SOCKETS ============================================================================================= TESTING: configureMissingSignals from config.utilities.missing(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/missing.py:79) Check for missing signals, and define MISSING_ if necessary ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ============================================================================================= TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/missing.py:96) ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ============================================================================================= TESTING: configureMissingSrandPrototype from config.utilities.missing(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/utilities/missing.py:121) ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.utilities.missing/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa child config.utilities.missing 2.212641 ============================================================================================= TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/sharedLibraries.py:34) ============================================================================================= TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/sharedLibraries.py:49) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Executing: uname -s stdout: Linux Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).$(SL_LINKER_SUFFIX).$(2)" Defined make macro "SL_LINKER_FUNCTION" to " -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Executing: cc -v Defined make macro "BUILDSHAREDLIB" to "yes" Defined "USE_SHARED_LIBRARIES" to "1" ============================================================================================= TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/sharedLibraries.py:93) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ============================================================================================= TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/sharedLibraries.py:99) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ============================================================================================= TESTING: checkSymbolResolution from PETSc.options.sharedLibraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/sharedLibraries.py:108) Checks that dladdr() works ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0; ; return 0; } Defined "HAVE_DLADDR" to "1" Checking for header: cxxabi.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types /tmp/petsc-u_wdb2uz/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 # 1 "/tmp/petsc-u_wdb2uz/config.headers/conffix.h" 1 # 3 "/tmp/petsc-u_wdb2uz/config.headers/conftest.c" 2 stderr: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'cxxabi.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'cxxabi.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-u_wdb2uz/config.headers/conftest.c:3:10: fatal error: 'cxxabi.h' file not found #include ^~~~~~~~~~ 1 error generated.: child PETSc.options.sharedLibraries 0.191221 ============================================================================================= TESTING: configureScalarType from PETSc.options.scalarTypes(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/scalarTypes.py:39) Choose between real and complex numbers Scalar type is real ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.c:6:21: warning: unused variable 'a' [-Wunused-variable] double b = 2.0; int a = isnormal(b); ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnormal(b); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_ISNORMAL" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.c:6:21: warning: unused variable 'a' [-Wunused-variable] double b = 2.0; int a = isnan(b); ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_ISNAN" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.c:6:21: warning: unused variable 'a' [-Wunused-variable] double b = 2.0; int a = isinf(b); ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_ISINF" to "1" ============================================================================================= TESTING: configurePrecision from PETSc.options.scalarTypes(/gpfs/alpine/csc314/scratch/adams/petsc/config/PETSc/options/scalarTypes.py:80) Set the default real number precision for PETSc objects Checking C compiler works with __float128 Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5:48: warning: variable 'f' is uninitialized when used here [-Wuninitialized] static void _check_logq() { __float128 f; logq(f);; } ^ /tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5:41: note: initialize the variable 'f' to silence this warning static void _check_logq() { __float128 f; logq(f);; } ^ = 0.0 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.compilers/conftest.c:5:48: warning: variable 'f' is uninitialized when used here [-Wuninitialized] static void _check_logq() { __float128 f; logq(f);; } ^ /tmp/petsc-u_wdb2uz/config.compilers/conftest.c:5:41: note: initialize the variable 'f' to silence this warning static void _check_logq() { __float128 f; logq(f);; } ^ = 0.0 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } void dummy(void) {_check_logq();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_LIBQUADMATH" to "1" C compiler with quadmath library Checking Fortran works with quadmath library Checking for functions [ ] in library ['quadmath'] [] ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.F90 Successful compile: Source: program main real*16 s,w; w = 2.0 ;s = cos(w) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Fortran works with quadmath library Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5:48: warning: variable 'f' is uninitialized when used here [-Wuninitialized] static void _check_logq() { __float128 f; logq(f);; } ^ /tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5:41: note: initialize the variable 'f' to silence this warning static void _check_logq() { __float128 f; logq(f);; } ^ = 0.0 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.compilers/conftest.c:5:48: warning: variable 'f' is uninitialized when used here [-Wuninitialized] static void _check_logq() { __float128 f; logq(f);; } ^ /tmp/petsc-u_wdb2uz/config.compilers/conftest.c:5:41: note: initialize the variable 'f' to silence this warning static void _check_logq() { __float128 f; logq(f);; } ^ = 0.0 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } void dummy(void) {_check_logq();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_LIBQUADMATH" to "1" Adding ['quadmath'] to LIBS Defined "HAVE_REAL___FLOAT128" to "1" Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double child PETSc.options.scalarTypes 2.640562 ============================================================================================= TESTING: configureMkdir from config.programs(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/mkdir...not found Checking for program /opt/rocm-4.3.0/bin/mkdir...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/mkdir...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/mkdir...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/mkdir...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/mkdir...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/mkdir...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/mkdir...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/mkdir...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/mkdir...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/mkdir...not found Checking for program /opt/clmgr/sbin/mkdir...not found Checking for program /opt/clmgr/bin/mkdir...not found Checking for program /opt/sgi/sbin/mkdir...not found Checking for program /opt/sgi/bin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/bin/mkdir...found Executing: /usr/bin/mkdir -p .conftest/tmp Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ============================================================================================= TESTING: configureAutoreconf from config.programs(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/programs.py:44) Check for autoreconf Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/autoreconf...not found Checking for program /opt/rocm-4.3.0/bin/autoreconf...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/autoreconf...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/autoreconf...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/autoreconf...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/autoreconf...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/autoreconf...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/autoreconf...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/autoreconf...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/autoreconf...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/autoreconf...not found Checking for program /opt/clmgr/sbin/autoreconf...not found Checking for program /opt/clmgr/bin/autoreconf...not found Checking for program /opt/sgi/sbin/autoreconf...not found Checking for program /opt/sgi/bin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/bin/autoreconf...found Executing: ['/usr/bin/autoreconf'] autoreconf test successful! Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/libtoolize...not found Checking for program /opt/rocm-4.3.0/bin/libtoolize...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/libtoolize...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/libtoolize...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/libtoolize...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/libtoolize...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/libtoolize...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/libtoolize...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/libtoolize...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/libtoolize...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/libtoolize...not found Checking for program /opt/clmgr/sbin/libtoolize...not found Checking for program /opt/clmgr/bin/libtoolize...not found Checking for program /opt/sgi/sbin/libtoolize...not found Checking for program /opt/sgi/bin/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/bin/libtoolize...found ============================================================================================= TESTING: configurePrograms from config.programs(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/programs.py:71) Check for the programs needed to build and run PETSc Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/bash...not found Checking for program /opt/rocm-4.3.0/bin/bash...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/bash...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/bash...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/bash...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/bash...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/bash...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/bash...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/bash...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/bash...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/bash...not found Checking for program /opt/clmgr/sbin/bash...not found Checking for program /opt/clmgr/bin/bash...not found Checking for program /opt/sgi/sbin/bash...not found Checking for program /opt/sgi/bin/bash...not found Checking for program /usr/local/bin/bash...not found Checking for program /usr/bin/bash...not found Checking for program /bin/bash...found Defined make macro "SHELL" to "/bin/bash" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/sed...not found Checking for program /opt/rocm-4.3.0/bin/sed...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/sed...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/sed...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/sed...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/sed...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/sed...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/sed...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/sed...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/sed...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/sed...not found Checking for program /opt/clmgr/sbin/sed...not found Checking for program /opt/clmgr/bin/sed...not found Checking for program /opt/sgi/sbin/sed...not found Checking for program /opt/sgi/bin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" Executing: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-u_wdb2uz/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/mv...not found Checking for program /opt/rocm-4.3.0/bin/mv...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/mv...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/mv...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/mv...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/mv...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/mv...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/mv...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/mv...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/mv...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/mv...not found Checking for program /opt/clmgr/sbin/mv...not found Checking for program /opt/clmgr/bin/mv...not found Checking for program /opt/sgi/sbin/mv...not found Checking for program /opt/sgi/bin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/cp...not found Checking for program /opt/rocm-4.3.0/bin/cp...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/cp...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/cp...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/cp...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/cp...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/cp...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/cp...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/cp...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/cp...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/cp...not found Checking for program /opt/clmgr/sbin/cp...not found Checking for program /opt/clmgr/bin/cp...not found Checking for program /opt/sgi/sbin/cp...not found Checking for program /opt/sgi/bin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/grep...not found Checking for program /opt/rocm-4.3.0/bin/grep...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/grep...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/grep...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/grep...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/grep...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/grep...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/grep...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/grep...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/grep...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/grep...not found Checking for program /opt/clmgr/sbin/grep...not found Checking for program /opt/clmgr/bin/grep...not found Checking for program /opt/sgi/sbin/grep...not found Checking for program /opt/sgi/bin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/rm...not found Checking for program /opt/rocm-4.3.0/bin/rm...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/rm...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/rm...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/rm...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/rm...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/rm...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/rm...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/rm...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/rm...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/rm...not found Checking for program /opt/clmgr/sbin/rm...not found Checking for program /opt/clmgr/bin/rm...not found Checking for program /opt/sgi/sbin/rm...not found Checking for program /opt/sgi/bin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/diff...not found Checking for program /opt/rocm-4.3.0/bin/diff...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/diff...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/diff...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/diff...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/diff...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/diff...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/diff...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/diff...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/diff...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/diff...not found Checking for program /opt/clmgr/sbin/diff...not found Checking for program /opt/clmgr/bin/diff...not found Checking for program /opt/sgi/sbin/diff...not found Checking for program /opt/sgi/bin/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/tmp/petsc-u_wdb2uz/config.programs/diff1" "/tmp/petsc-u_wdb2uz/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /gpfs/alpine/csc314/scratch/adams/petsc/lib/petsc/bin/win32fe/ps...not found Unable to find programs: ['ps'] in listing of the specific search path: ['/usr/ucb', '/usr/usb'] Warning accessing /usr/ucb gives errors: [Errno 2] No such file or directory: '/usr/ucb' Warning accessing /usr/usb gives errors: [Errno 2] No such file or directory: '/usr/usb' Defined make macro "PYTHON" to "/usr/bin/python3" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/m4...not found Checking for program /opt/rocm-4.3.0/bin/m4...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/m4...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/m4...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/m4...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/m4...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/m4...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/m4...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/m4...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/m4...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/m4...not found Checking for program /opt/clmgr/sbin/m4...not found Checking for program /opt/clmgr/bin/m4...not found Checking for program /opt/sgi/sbin/m4...not found Checking for program /opt/sgi/bin/m4...not found Checking for program /usr/local/bin/m4...not found Checking for program /usr/bin/m4...found Defined make macro "M4" to "/usr/bin/m4" child config.programs 2.083831 ============================================================================================= TESTING: consistencyChecks from config.packages.make(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.make(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:997) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: configureMake from config.packages.make(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/make.py:96) Check Guesses for GNU make Executing: gmake --version stdout: GNU Make 4.2.1 Built for x86_64-suse-linux-gnu Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/gmake...not found Checking for program /opt/rocm-4.3.0/bin/gmake...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/gmake...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/gmake...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/gmake...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/gmake...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/gmake...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/gmake...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/gmake...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/gmake...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/gmake...not found Checking for program /opt/clmgr/sbin/gmake...not found Checking for program /opt/clmgr/bin/gmake...not found Checking for program /opt/sgi/sbin/gmake...not found Checking for program /opt/sgi/bin/gmake...not found Checking for program /usr/local/bin/gmake...not found Checking for program /usr/bin/gmake...found Defined make macro "MAKE" to "/usr/bin/gmake" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/make...not found Checking for program /opt/rocm-4.3.0/bin/make...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/make...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/make...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/make...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/make...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/make...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/make...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/make...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/make...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/make...not found Checking for program /opt/clmgr/sbin/make...not found Checking for program /opt/clmgr/bin/make...not found Checking for program /opt/sgi/sbin/make...not found Checking for program /opt/sgi/bin/make...not found Checking for program /usr/local/bin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE_USER" to "make" ============================================================================================= TESTING: setupGNUMake from config.packages.make(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/make.py:150) Setup other GNU make stuff Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/gmake --print-directory" Defined make macro "OMAKE" to "/usr/bin/gmake --no-print-directory" Defined make macro "MAKE_PAR_OUT_FLG" to "--output-sync=recurse" ============================================================================================= TESTING: configureMakeNP from config.packages.make(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/make.py:197) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 256 cores: using make_np = 97 Defined make macro "MAKE_NP" to "97" Defined make macro "MAKE_TEST_NP" to "94" Defined make macro "MAKE_LOAD" to "307.20000000000005" Defined make macro "NPMAX" to "256" child config.packages.make 0.044714 ============================================================================================= TESTING: consistencyChecks from config.packages.hip(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.hip(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.hip(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/hip.py:81) Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/hipconfig...not found Checking for program /opt/rocm-4.3.0/bin/hipconfig...found Defined make macro "HIP_CONFIG" to "/opt/rocm-4.3.0/bin/hipconfig" Executing: ['/opt/rocm-4.3.0/bin/hipconfig', '--platform'] stdout: amd Defined "HAVE_HIP" to "1" Defined "HAVE_HIPROCM" to "1" Defined "__HIP_PLATFORM_HCC__" to "1" Defined "__HIP_PLATFORM_AMD__" to "1" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/rocminfo...not found Checking for program /opt/rocm-4.3.0/bin/rocminfo...found Defined make macro "ROCMINFO" to "/opt/rocm-4.3.0/bin/rocminfo" Running Executable with threads to time it out at 60 Executing: /opt/rocm-4.3.0/bin/rocminfo | grep " gfx" stdout: Name: gfx908 ROCM utility /opt/rocm-4.3.0/bin/rocminfo said the HIP arch is gfx908 ================================================================================== Checking for a functional hip Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/hipcc...not found Checking for program /opt/rocm-4.3.0/bin/hipcc...found Defined make macro "SYSTEMHIPC" to "/opt/rocm-4.3.0/bin/hipcc" Not checking for library in Package specific search directory HIP: ['/opt/rocm-4.3.0/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names No functions to check for in library ['/opt/rocm-4.3.0/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking for optional headers [] in Package specific search directory HIP: ['/opt/rocm-4.3.0/include'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/opt/rocm-4.3.0/include'] Found header files [] in ['/opt/rocm-4.3.0/include'] Checking for headers ['hipblas.h', 'hipsparse.h'] in Package specific search directory HIP: ['/opt/rocm-4.3.0/include'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['hipblas.h', 'hipsparse.h'] in ['/opt/rocm-4.3.0/include'] Checking include with compiler flags var HIPPPFLAGS ['/opt/rocm-4.3.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: hipcc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/opt/rocm-4.3.0/include /tmp/petsc-u_wdb2uz/config.headers/conftest.hip.cpp Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var HIPPPFLAGS ['/opt/rocm-4.3.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: hipcc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/opt/rocm-4.3.0/include /tmp/petsc-u_wdb2uz/config.headers/conftest.hip.cpp Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['hipblas.h', 'hipsparse.h'] in ['/opt/rocm-4.3.0/include'] Checking if sizeof(void*) in HIP is the same as with regular compiler Checking for size of type: void * ===== Checking compiler Executing: hipcc -c -o /tmp/petsc-u_wdb2uz/config.types/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -std=c++17 --amdgpu-target=gfx908 /tmp/petsc-u_wdb2uz/config.types/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; ============================================================================================= TESTING: checkVersion from config.packages.hip(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1068) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "hip/hip_version.h" petscpkgver(HIP_VERSION_MAJOR.HIP_VERSION_MINOR); Executing: hipcc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.packages.hip -I/opt/rocm-4.3.0/include /tmp/petsc-u_wdb2uz/config.packages.hip/conftest.hip.cpp For hip need 3.8 <= 4.3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.hip(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:993) By default we don't care about checking if the library is shared child config.packages.hip 3.834491 ============================================================================================= TESTING: consistencyChecks from config.packages.X(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.X(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.X(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:928) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional X Checking for library in Compiler specific search X: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: XSetWMName >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: XSetWMName >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: XSetWMName >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Checking for library in Compiler specific search X: ['libX11.a'] ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['libX11.a'] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lX11 -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lX11 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lX11 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lX11 clang-12: error: linker command failed with exit code 1 (use -v to see invocation): X: SearchDir DirPath not found.. skipping: /opt/X11 X: SearchDir DirPath not found.. skipping: /Developer/SDKs/MacOSX10.5.sdk/usr/X11 X: SearchDir DirPath not found.. skipping: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6 X: SearchDir DirPath not found.. skipping: /usr/X11 X: SearchDir DirPath not found.. skipping: /usr/X11R6 X: SearchDir DirPath not found.. skipping: /usr/X11R5 X: SearchDir DirPath not found.. skipping: /usr/X11R4 X: SearchDir DirPath not found.. skipping: /usr/local/X11 X: SearchDir DirPath not found.. skipping: /usr/local/X11R6 X: SearchDir DirPath not found.. skipping: /usr/local/X11R5 X: SearchDir DirPath not found.. skipping: /usr/local/X11R4 X: SearchDir DirPath not found.. skipping: /usr/X386 X: SearchDir DirPath not found.. skipping: /usr/x386 X: SearchDir DirPath not found.. skipping: /usr/XFree86/X11 Checking for library in Package specific search directory X: ['/usr/local/lib/libX11.a'] Contents of /usr/local: ['src', 'share', 'sbin', 'man', 'lib64', 'lib', 'include', 'bin'] Contents /usr/local/lib: ['sysctl.d'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['/usr/local/lib/libX11.a'] [] Checking directory of requested libraries:/usr/local/lib for first library:libX11. Files in directory:['sysctl.d'] Checking for library in Package specific search directory X: ['/usr/local/lib64/libX11.a'] Contents of /usr/local: ['src', 'share', 'sbin', 'man', 'lib64', 'lib', 'include', 'bin'] Contents /usr/local/lib: ['sysctl.d'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['/usr/local/lib64/libX11.a'] [] Checking directory of requested libraries:/usr/local/lib64 for first library:libX11. Files in directory:[] X: SearchDir DirPath not found.. skipping: /usr/local/x11r5 X: SearchDir DirPath not found.. skipping: /usr/lpp/Xamples X: SearchDir DirPath not found.. skipping: /usr/openwin X: SearchDir DirPath not found.. skipping: /usr/openwin/share ============================================================================================= TESTING: checkVersion from config.packages.X(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1068) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version For x unable to run preprocessor to obtain version information, skipping version check ============================================================================================= TESTING: checkSharedLibrary from config.packages.X(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:993) By default we don't care about checking if the library is shared child config.packages.X 0.329727 ============================================================================================= TESTING: consistencyChecks from config.packages.hwloc(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hwloc(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:997) Called if --with-packagename=0; does nothing by default child config.packages.hwloc 0.003414 ============================================================================================= TESTING: consistencyChecks from config.packages.thrust(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.thrust(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:997) Called if --with-packagename=0; does nothing by default child config.packages.thrust 0.002535 ============================================================================================= TESTING: consistencyChecks from config.packages.cuda(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.cuda(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:997) Called if --with-packagename=0; does nothing by default child config.packages.cuda 0.002344 ============================================================================================= TESTING: consistencyChecks from config.packages.OpenMPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.OpenMPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:997) Called if --with-packagename=0; does nothing by default child config.packages.OpenMPI 0.002418 ============================================================================================= TESTING: consistencyChecks from config.packages.MPICH(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MPICH(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:997) Called if --with-packagename=0; does nothing by default child config.packages.MPICH 0.002694 ============================================================================================= TESTING: consistencyChecks from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:1001) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:786) ================================================================================== Checking for a functional MPI Checking for library in Compiler specific search MPI: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library [] ['/opt/rocm-4.3.0/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -Wl,-rpath,/opt/rocm-4.3.0/lib -L/opt/rocm-4.3.0/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } void dummy(void) {_check_MPI_Init(); _check_MPI_Comm_create();} ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.compilers/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.compilers/conftest -fPIC /tmp/petsc-u_wdb2uz/config.compilers/conftest.o /tmp/petsc-u_wdb2uz/config.compilers/confc.o -Wl,-rpath,/opt/rocm-4.3.0/lib -L/opt/rocm-4.3.0/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Checking for optional headers [] in Compiler specific search MPI: [] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in [] Found header files [] in [] Checking for headers ['mpi.h'] in Compiler specific search MPI: [] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in [] Checking include with compiler flags var CPPFLAGS ['/opt/rocm-4.3.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types -I/opt/rocm-4.3.0/include /tmp/petsc-u_wdb2uz/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['mpi.h'] in [] Defined "HAVE_MPI_F90MODULE_VISIBILITY" to "1" ============================================================================================= TESTING: checkMPIDistro from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:602) Determine if MPICH_NUMVERSION, OMPI_MAJOR_VERSION or MSMPI_VER exist in mpi.h Used for consistency checking of MPI installation at compile time ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:4:25: error: use of undeclared identifier 'I_MPI_VERSION' const char *mpich_ver = I_MPI_VERSION; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include const char *mpich_ver = I_MPI_VERSION; int main() { ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:4:17: error: use of undeclared identifier 'I_MPI_NUMVERSION' int mpich_ver = I_MPI_NUMVERSION; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = I_MPI_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:4:17: error: use of undeclared identifier 'MVAPICH2_NUMVERSION' int mpich_ver = MVAPICH2_NUMVERSION; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MVAPICH2_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; Executing: cc -E -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.packages.MPI /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Defined "HAVE_MPICH_NUMVERSION" to "30400002" Executing: uname -s stdout: Linux ============================================================================================= TESTING: configureMPI2 from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:379) Check for functions added to the interface in MPI-2 ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:35: warning: if statement has empty body [-Wempty-body] int flag;if (MPI_Finalized(&flag)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:35: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int flag;if (MPI_Finalized(&flag)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_FINALIZED" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:71: warning: if statement has empty body [-Wempty-body] if (MPI_Allreduce(MPI_IN_PLACE,0, 1, MPI_INT, MPI_SUM, MPI_COMM_SELF)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:71: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Allreduce(MPI_IN_PLACE,0, 1, MPI_INT, MPI_SUM, MPI_COMM_SELF)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_IN_PLACE" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:121: warning: if statement has empty body [-Wempty-body] if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:121: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={MPI_INT,MPI_DOUBLE}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:131: warning: if statement has empty body [-Wempty-body] MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:131: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:63: warning: if statement has empty body [-Wempty-body] if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:63: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:49: warning: if statement has empty body [-Wempty-body] if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:49: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_REDUCE_LOCAL" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:102: warning: if statement has empty body [-Wempty-body] char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:102: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_GET_LIBRARY_VERSION" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:94: warning: if statement has empty body [-Wempty-body] int base[100]; MPI_Win win; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:94: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int base[100]; MPI_Win win; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_WIN_CREATE" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:90: warning: if statement has empty body [-Wempty-body] int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:90: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:85: warning: variable 'win' is uninitialized when used here [-Wuninitialized] int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ^~~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:24: note: initialize the variable 'win' to silence this warning int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ^ = 0 2 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_ONE_SIDED" to "1" ============================================================================================= TESTING: configureMPI3 from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:426) Check for functions added to the interface in MPI-3 ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:112: warning: if statement has empty body [-Wempty-body] if (MPI_Comm_split_type(MPI_COMM_WORLD, MPI_COMM_TYPE_SHARED, 0, MPI_INFO_NULL, &scomm)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:112: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:111: warning: if statement has empty body [-Wempty-body] if (MPI_Win_allocate_shared(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:111: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:82: warning: if statement has empty body [-Wempty-body] if (MPI_Win_shared_query(win,0,&size,&disp_unit,&baseptr)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:82: note: put the semicolon on a separate line to silence this warning 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm scomm; MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Comm_split_type(MPI_COMM_WORLD, MPI_COMM_TYPE_SHARED, 0, MPI_INFO_NULL, &scomm)); if (MPI_Win_allocate_shared(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_shared_query(win,0,&size,&disp_unit,&baseptr)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_PROCESS_SHARED_MEMORY" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:104: warning: if statement has empty body [-Wempty-body] if (MPI_Win_allocate(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:104: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:61: warning: if statement has empty body [-Wempty-body] if (MPI_Win_attach(win,baseptr,size)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:61: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:86: warning: if statement has empty body [-Wempty-body] if (MPI_Win_create_dynamic(MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:86: note: put the semicolon on a separate line to silence this warning 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Win_allocate(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_attach(win,baseptr,size)); if (MPI_Win_create_dynamic(MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_FEATURE_DYNAMIC_WINDOW" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:96: warning: if statement has empty body [-Wempty-body] if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:96: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:110: warning: if statement has empty body [-Wempty-body] if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:110: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:96: warning: if statement has empty body [-Wempty-body] if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:96: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:10:109: warning: if statement has empty body [-Wempty-body] if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:10:109: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:11:97: warning: if statement has empty body [-Wempty-body] if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:11:97: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:12:110: warning: if statement has empty body [-Wempty-body] if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:12:110: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:13:96: warning: if statement has empty body [-Wempty-body] if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:13:96: note: put the semicolon on a separate line to silence this warning 7 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int send=0,recv,counts[2]={1,1},displs[2]={1,2}; MPI_Request req; if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)); if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_NONBLOCKING_COLLECTIVES" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:145: warning: if statement has empty body [-Wempty-body] if (MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD,0,0,MPI_WEIGHTS_EMPTY,0,0,MPI_WEIGHTS_EMPTY,MPI_INFO_NULL,0,&distcomm)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:8:145: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:89: warning: if statement has empty body [-Wempty-body] if (MPI_Neighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:89: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:10:95: warning: if statement has empty body [-Wempty-body] if (MPI_Ineighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:10:95: note: put the semicolon on a separate line to silence this warning 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm distcomm; MPI_Request req; if (MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD,0,0,MPI_WEIGHTS_EMPTY,0,0,MPI_WEIGHTS_EMPTY,MPI_INFO_NULL,0,&distcomm)); if (MPI_Neighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm)); if (MPI_Ineighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm,&req)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_NEIGHBORHOOD_COLLECTIVES" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:104: warning: if statement has empty body [-Wempty-body] int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:104: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:99: warning: variable 'win' is uninitialized when used here [-Wuninitialized] int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ^~~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:24: note: initialize the variable 'win' to silence this warning int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ^ = 0 2 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_GET_ACCUMULATE" to "1" ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:94: warning: if statement has empty body [-Wempty-body] int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:94: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:84: warning: variable 'win' is uninitialized when used here [-Wuninitialized] int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ^~~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:6:24: note: initialize the variable 'win' to silence this warning int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ^ = 0 2 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_RGET" to "1" ============================================================================================= TESTING: configureMPIEXEC from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:188) Checking for location of mpiexec Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/srun...not found Checking for program /opt/rocm-4.3.0/bin/srun...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/srun...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/srun...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/srun...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/srun...not found Checking for program /opt/clmgr/sbin/srun...not found Checking for program /opt/clmgr/bin/srun...not found Checking for program /opt/sgi/sbin/srun...not found Checking for program /opt/sgi/bin/srun...not found Checking for program /usr/local/bin/srun...not found Checking for program /usr/bin/srun...found Defined make macro "MPIEXEC" to "srun -p ecp -N 1 -A csc314 -t 00:10:00" Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/srun...not found Checking for program /opt/rocm-4.3.0/bin/srun...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/srun...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/srun...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/srun...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/srun...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/srun...not found Checking for program /opt/clmgr/sbin/srun...not found Checking for program /opt/clmgr/bin/srun...not found Checking for program /opt/sgi/sbin/srun...not found Checking for program /opt/sgi/bin/srun...not found Checking for program /usr/local/bin/srun...not found Checking for program /usr/bin/srun...found Running Executable with threads to time it out at 120 Executing: srun -p ecp -N 1 -A csc314 -t 00:10:00 -n 1 printenv stdout: __LMOD_REF_COUNT_PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH:1 __LMOD_REF_COUNT_INCLUDE_PATH_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/include/craylibs:1 ASSEMBLER_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/bin/as CRAY_LMOD_MPI=cray-mpich/8.0 SLURM_MPI_TYPE=cray_shasta LMOD_FAMILY_CRAYPE_NETWORK_VERSION=false MPICH_GPU_SUPPORT_ENABLED=1 LD_LIBRARY_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/lib:/opt/rocm-4.3.0/lib64:/opt/rocm-4.3.0/lib:/opt/rocm-4.3.0/llvm/lib:/opt/cray/pe/papi/6.0.0.10/lib64:/opt/cray/libfabric/1.11.0.4.75/lib64 __LMOD_REF_COUNT_PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig:1;/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib/pkgconfig:1 HOSTTYPE=x86_64 CRAY_DSMML_ROOTDIR=/opt/cray/pe/dsmml/0.2.2 CRAY_DSMML_DIR=/opt/cray/pe/dsmml/0.2.2/dsmml __LMOD_REF_COUNT_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin:1;/opt/rocm-4.3.0/bin:1;/opt/cray/pe/craype/2.7.11/bin:1;/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin:1;/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin:1;/opt/cray/pe/cce/12.0.3/utils/x86_64/bin:1;/opt/cray/pe/cce/12.0.3/bin:1;/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin:1;/opt/cray/pe/perftools/21.10.0/bin:1;/opt/cray/pe/papi/6.0.0.10/bin:1;/opt/cray/libfabric/1.11.0.4.75/bin:1;/opt/clmgr/sbin:1;/opt/clmgr/bin:1;/opt/sgi/sbin:1;/opt/sgi/bin:1;/usr/local/bin:1;/usr/bin:1;/bin:2;/opt/bin:1;/opt/c3/bin:1;/opt/puppetlabs/bin:1;/sbin:1;/opt/cray/pe/bin:1 _ModuleTable002_=ZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09IkRlZkFwcHMiLH0sWyJQcmdFbnYtY3JheSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvUHJnRW52LWNyYXkvOC4yLjAubHVhIixbImZ1bGxOYW1lIl09IlByZ0Vudi1jcmF5LzguMi4wIixbImxvYWRPcmRlciJdPTEzLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09IlByZ0Vudi1jcmF5Iix9LGNjZT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2NjZS8xMi4wLjMubHVhIixbImZ1bGxOYW1lIl09ImNjZS8xMi4wLjMiLFsibG9hZE9yZGVyIl09OCxwcm9wVD17fSxbInN0YWNr PE_LIBSCI_OMP_REQUIRES= PE_MPICH_GTL_DIR_amd_gfx90a=-L/opt/cray/pe/mpich/8.1.10/gtl/lib SSH_CONNECTION=68.40.185.15 50387 128.219.141.43 22 XAUTHLOCALHOSTNAME=login2 LESSCLOSE=lessclose.sh %s %s CRAY_LD_LIBRARY_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib:/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib:/opt/cray/pe/mpich/8.1.10/gtl/lib:/opt/cray/pe/dsmml/0.2.2/dsmml/lib:/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib:/opt/cray/pe/cce/12.0.3/cce/x86_64/lib:/opt/cray/pe/pmi/6.0.14/lib:/opt/cray/pe/perftools/21.10.0/lib64 HIP_PLATFORM=amd XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB PE_ENV=CRAY LINKER_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/bin/ld __LMOD_REF_COUNT_PE_DSMML_PKGCONFIG_LIBS=dsmml:1 __LMOD_REF_COUNT_PE_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 MPIR_CVAR_GPU_EAGER_DEVICE_MEM=0 LMOD_FAMILY_CRAYPE_CPU=craype-x86-rome CRAYPAT_LD_LIBRARY_PATH=/opt/cray/pe/gcc-libs:/opt/cray/gcc-libs:/opt/cray/pe/perftools/21.10.0/lib64 CRAY_LMOD_COMPILER=crayclang/10.0 LMOD_MODULERCFILE=/sw/spock/lmod/etc/rc.lua FTN_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64 CRAY_DSMML_PREFIX=/opt/cray/pe/dsmml/0.2.2/dsmml PE_PRODUCT_LIST=CRAY_LIBSCI:CRAYPE:CRAY_PMI:CRAYPE_X86_ROME:PERFTOOLS:CRAYPAT CRAYPAT_ROOT=/opt/cray/pe/perftools/21.10.0 LMOD_FAMILY_MPI_VERSION=8.1.10 _=/usr/bin/srun PE_PERFTOOLS_MPICH_LIBDIR=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib PE_LIBSCI_MODULE_NAME=cray-libsci/21.08.1.2 PE_MPICH_GTL_DIR_amd_gfx906=-L/opt/cray/pe/mpich/8.1.10/gtl/lib LANG=en_US.UTF-8 PE_LIBSCI_GENCOMPILERS_CRAY_x86_64=9.0 LMOD_SYSTEM_NAME=spock CRAY_BINUTILS_ROOT_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/../ MEMBERWORK=/gpfs/alpine/scratch/adams PE_MPICH_GTL_DIR_amd_gfx908=-L/opt/cray/pe/mpich/8.1.10/gtl/lib PE_DSMML_MODULE_NAME=cray-dsmml WINDOWMANAGER=xterm _ModuleTable008_=Y2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImVtYWNzIix9LGxpYmZhYnJpYz17WyJmbiJdPSIvb3B0L2NyYXkvbW9kdWxlZmlsZXMvbGliZmFicmljLzEuMTEuMC40Ljc1IixbImZ1bGxOYW1lIl09ImxpYmZhYnJpYy8xLjExLjAuNC43NSIsWyJsb2FkT3JkZXIiXT0yLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImxpYmZhYnJpYyIsfSxbInBlcmZ0b29scy1iYXNlIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9wZXJmdG9vbHMtYmFzZS8yMS4xMC4wLmx1YSIsWyJmdWxsTmFtZSJdPSJwZXJmdG9vbHMtYmFzZS8yMS4xMC4wIixbImxvYWRPcmRl LESS=-M -I -R PE_MPICH_GTL_LIBS_nvidia70=-lmpi_gtl_cuda DISPLAY=localhost:12.0 LMOD_FAMILY_COMPILER_VERSION=12.0.3 HIP_DEVICE_LIB_PATH=/opt/rocm-4.3.0/amdgcn/bitcode HOSTNAME=login2 LMOD_SYSTEM_DEFAULT_MODULES=craype-x86-rome:craype-network-ofi:perftools-base:xpmem:cray-pmi:cray-pmi-lib:PrgEnv-cray:DefApps HIP_CLANG_PATH=/opt/rocm-4.3.0/llvm/bin OLDPWD=/ccs/home/adams __LMOD_REF_COUNT__LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-rome.lua:1;/opt/cray/modulefiles/libfabric/1.11.0.4.75:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:1;/opt/cray/pe/lmod/modulefiles/core/perftools-base/21.10.0.lua:1;/opt/cray/modulefiles/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:1;/opt/cray/pe/lmod/modulefiles/core/cray-pmi/6.0.14.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-pmi-lib/6.0.14.lua:1;/opt/cray/pe/lmod/modulefiles/core/cce/12.0.3.lua:1;/opt/cray/pe/lmod/modulefiles/core/craype/2.7.11.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:1;/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0/cray-mpich/8.1.10.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:1;/opt/cray/pe/lmod/modulefiles/core/PrgEnv-cray/8.2.0.lua:1;/sw/spock/modulefiles/DefApps/default.lua:1;/sw/spock/modulefiles/rocm/4.3.0.lua:1;/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core/emacs/27.2.lua:1 ROCMINFO_PATH=/opt/rocm-4.3.0 CSHEDIT=emacs GPG_TTY=/dev/pts/14 LESS_ADVANCED_PREPROCESSOR=no DEBUG=FALSE COLORTERM=1 __LMOD_REF_COUNT_XDG_DATA_DIRS=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/librsvg-2.51.0-rj5a4ieg3ohsfiwgjfm6emgb32whivru/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/shared-mime-info-1.9-5eh3sccaccytwtj5r5umz63tsvjykdlr/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/share:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/share:1;/usr/share:1 GCC_X86_64=/opt/cray/pe/gcc/8.1.0/snos ASSEMBLER_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/as PETSC_ARCH=arch-olcf-spock CRAY_PERFTOOLS_VERSION=21.10.0 _ModuleTable007_=fSxbImNyYXlwZS14ODYtcm9tZSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NyYXlwZS10YXJnZXRzL2RlZmF1bHQvY3JheXBlLXg4Ni1yb21lLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5cGUteDg2LXJvbWUiLFsibG9hZE9yZGVyIl09MSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5cGUteDg2LXJvbWUiLH0sZW1hY3M9e1siZm4iXT0iL3N3L3Nwb2NrL3NwYWNrLWVudnMvYmFzZS9tb2R1bGVzL3NwYWNrL2xpbnV4LXNsZXMxNS14ODZfNjQvQ29yZS9lbWFjcy8yNy4yLmx1YSIsWyJmdWxsTmFtZSJdPSJlbWFjcy8yNy4yIixbImxvYWRPcmRlciJdPTE2LHByb3BUPXt9LFsic3Rh __LMOD_REF_COUNT_NLSPATH=/opt/cray/pe/cce/12.0.3/cce/x86_64/share/nls/En/%N.cat:1 ROCM_PATH=/opt/rocm-4.3.0 LMOD_FAMILY_CRAYPE_NETWORK=craype-network-ofi COMPILERRT_PATH_X86_64=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/lib/linux LMOD_FAMILY_CRAYPE_VERSION=2.7.11 PE_XPMEM_PKGCONFIG_LIBS=cray-xpmem APP2_STATE=21.10.0 LINKER_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld MACHTYPE=x86_64-suse-linux PE_LIBSCI_FIXED_PRGENV=CRAYCLANG __LMOD_REF_COUNT_LD_LIBRARY_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/lib:1;/opt/rocm-4.3.0/lib64:1;/opt/rocm-4.3.0/lib:1;/opt/rocm-4.3.0/llvm/lib:1;/opt/cray/pe/papi/6.0.0.10/lib64:1;/opt/cray/libfabric/1.11.0.4.75/lib64:1 __LMOD_REF_COUNT_PKG_CONFIG_PATH=/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:1;/opt/cray/pe/craype/2.7.11/pkg-config:1;/opt/cray/pe/pmi/6.0.14/lib/pkgconfig:1;/opt/cray/libfabric/1.11.0.4.75/lib64/pkgconfig:1 USE_EB=TRUE PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:PE_MPICH:PE_DSMML:PE_PMI:PE_XPMEM CRAY_MPICH_BASEDIR=/opt/cray/pe/mpich/8.1.10/ofi PE_MPICH_GTL_DIR_nvidia80=-L/opt/cray/pe/mpich/8.1.10/gtl/lib _ModuleTable004_=ZE9yZGVyIl09MTIscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheS1saWJzY2kiLH0sWyJjcmF5LW1waWNoIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29tbmV0L2NyYXljbGFuZy8xMC4wL29maS8xLjAvY3JheS1tcGljaC84LjEuMTAubHVhIixbImZ1bGxOYW1lIl09ImNyYXktbXBpY2gvOC4xLjEwIixbImxvYWRPcmRlciJdPTExLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktbXBpY2giLH0sWyJjcmF5LXBtaSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1wbWkv PE_LIBSCI_GENCOMPILERS_GNU_x86_64=9.1 MINICOM=-c on PAT_BUILD_PAPI_LIBDIR=/opt/cray/pe/papi/6.0.0.10/lib64 C3_RSH=ssh -oConnectTimeout=10 -oForwardX11=no PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_GTL_DIR_@accelerator@:PE_MPICH_GTL_LIBS_@accelerator@ PE_MPICH_PKGCONFIG_LIBS=mpich OSTYPE=linux PE_LEVEL=12.0 OLCF_FAMILY_CRAYPE=craype XDG_SESSION_ID=6106 __LMOD_REF_COUNT_INCLUDE_PATH_X86_64=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/include:1;/opt/cray/pe/cce/12.0.3/cce/x86_64/include/craylibs:1 CRAY_DSMML_VER=0.2.2 USER=adams PAGER=less CRAY_CXX_IPA_LIBS_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/lib/libcray-c++-rts.a LMOD_FAMILY_PRGENV_VERSION=8.2.0 OLCF_FAMILY_CRAYPE_NETWORK_VERSION=false OLCF_ROCM_ROOT=/opt/rocm-4.3.0 MPI=TRUE _ModuleTable012_=Q29yZSIsIi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmUiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdCIsIi9zdy9zcG9jay9tb2R1bGVmaWxlcyIsIi9vcHQvY3JheS9tb2R1bGVmaWxlcyIsIi9vcHQvbW9kdWxlZmlsZXMiLH0sWyJzeXN0ZW1CYXNlTVBBVEgiXT0iL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZTovb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlOi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZp CRAY_CPU_TARGET=x86-rome PE_LIBSCI_VOLATILE_PRGENV=AMD CRAY GNU __LMOD_REF_COUNT_MODULEPATH=/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cray-mpich/8.1.10-wk3zvtt/cce/12.0.3:1;/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cce/12.0.3:1;/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core:1;/opt/cray/pe/lmod/modulefiles/mpi/crayclang/10.0/ofi/1.0/cray-mpich/8.0:1;/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/compiler/crayclang/10.0:1;/opt/cray/pe/lmod/modulefiles/mix_compilers:1;/opt/cray/pe/lmod/modulefiles/perftools/21.10.0:1;/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/cpu/x86-rome/1.0:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1;/opt/cray/pe/lmod/modulefiles/core:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default:1;/sw/spock/modulefiles:1;/opt/cray/modulefiles:1;/opt/modulefiles:1 PKGCONFIG_ENABLED=1 MORE=-sl CRAY_PERFTOOLS_PREFIX=/opt/cray/pe/perftools/21.10.0 PE_FORTRAN_PKGCONFIG_LIBS=mpichf90 __LMOD_REF_COUNT_LOADEDMODULES=craype-x86-rome:1;libfabric/1.11.0.4.75:1;craype-network-ofi:1;perftools-base/21.10.0:1;xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:1;cray-pmi/6.0.14:1;cray-pmi-lib/6.0.14:1;cce/12.0.3:1;craype/2.7.11:1;cray-dsmml/0.2.2:1;cray-mpich/8.1.10:1;cray-libsci/21.08.1.2:1;PrgEnv-cray/8.2.0:1;DefApps/default:1;rocm/4.3.0:1;emacs/27.2:1 __LMOD_REF_COUNT_CRAY_LD_LIBRARY_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib:1;/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib:1;/opt/cray/pe/mpich/8.1.10/gtl/lib:1;/opt/cray/pe/dsmml/0.2.2/dsmml/lib:1;/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib:1;/opt/cray/pe/cce/12.0.3/cce/x86_64/lib:1;/opt/cray/pe/pmi/6.0.14/lib:1;/opt/cray/pe/perftools/21.10.0/lib64:1 CRAY_CXX_IPA_LIBS=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/libcray-c++-rts.a OLCF_FAMILY_MPI_VERSION=8.1.10 CRAY_LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 PWD=/gpfs/alpine/csc314/scratch/adams/petsc OLCF_FAMILY_COMPILER_VERSION=12.0.3 LINES=103 PE_MPICH_GTL_DIR_nvidia70=-L/opt/cray/pe/mpich/8.1.10/gtl/lib HOME=/ccs/home/adams OLCF_FAMILY_CRAYPE_CPU=craype-x86-rome CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pe/pmi/6.0.14/include CRAYLIBS_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/lib PELOCAL_PRGENV=true CMAKE_PREFIX_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs:/opt/rocm-4.3.0/hip:/opt/rocm-4.3.0 PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH GIT_PS1_SHOWDIRTYSTATE=1 PE_LIBSCI_GENCOMPS_AMD_x86_64=40 HOST=login2 __LMOD_REF_COUNT_PE_PMI_PKGCONFIG_LIBS=cray-pmi:1 SSH_CLIENT=68.40.185.15 50387 22 LMOD_VERSION=8.3.1 DIM=3 XNLSPATH=/usr/X11R6/lib/X11/nls OLCF_EMACS_ROOT=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90 PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci CRAY_LMOD_CPU=x86-rome/1.0 PE_LIBSCI_OMP_REQUIRES_openmp=_mp PE_MPICH_GTL_LIBS_nvidia80=-lmpi_gtl_cuda LMOD_FAMILY_CRAYPE_CPU_VERSION=false BASH_ENV=/usr/share/lmod/lmod/init/bash CRAYLIBS_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib XDG_DATA_DIRS=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/librsvg-2.51.0-rj5a4ieg3ohsfiwgjfm6emgb32whivru/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/shared-mime-info-1.9-5eh3sccaccytwtj5r5umz63tsvjykdlr/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/share:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/share:/usr/share GI_TYPELIB_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/at-spi2-core-2.40.1-elbd2suy6xjguksoyixc2opjn5omftxp/lib/girepository-1.0:/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/lib/girepository-1.0 __LMOD_REF_COUNT_PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 CRAY_BINUTILS_ROOT=/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/../ CRAY_LMOD_NET=ofi/1.0 AUTOGEN_PARALLEL=1 __LMOD_REF_COUNT_HIPCC_COMPILE_FLAGS_APPEND=--rocm-path=/opt/rocm-4.3.0:1 __LMOD_REF_COUNT_PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:1;PE_MPICH:1;PE_DSMML:1;PE_PMI:1;PE_XPMEM:1 PE_PMI_PKGCONFIG_LIBS=cray-pmi PE_MPICH_MODULE_NAME=cray-mpich LIBGL_DEBUG=quiet CRAY_LIBSCI_DIR=/opt/cray/pe/libsci/21.08.1.2 NLSPATH=/opt/cray/pe/cce/12.0.3/cce/x86_64/share/nls/En/%N.cat OLCF_FAMILY_MPI=cray-mpich __LMOD_REF_COUNT_PE_MPICH_GENCOMPILERS_CRAYCLANG=10.0:1 PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig __LMOD_REF_COUNT_PE_MPICH_FIXED_PRGENV=CRAYCLANG:1 OLCF_FAMILY_CRAYPE_VERSION=2.7.11 __LMOD_REF_COUNT_LIBRARY_PATH=/opt/rocm-4.3.0/llvm/lib:1 LIBSCI_VERSION=21.08.1.2 PROFILEREAD=true LIBRARY_PATH=/opt/rocm-4.3.0/llvm/lib HSA_PATH=/opt/rocm-4.3.0 PERFTOOLS_VERSION=21.10.0 __LMOD_REF_COUNT_GI_TYPELIB_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gtkplus-3.24.29-ggbveuu4rkujbqmg2xjgrlgyh6fpkknr/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/pango-1.42.0-jgcsdoo64eyv3ghlteygxlv4vls2jv46/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gdk-pixbuf-2.42.2-gau3rsfnlxiynlj5kcqhwy3abtfznfp2/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/atk-2.36.0-beagkza6p54ppfre2aiugqpq3lnieunf/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/at-spi2-core-2.40.1-elbd2suy6xjguksoyixc2opjn5omftxp/lib/girepository-1.0:1;/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/gobject-introspection-1.56.1-miphvwwmarjdhvvnxga2ld6lqw3vnwkb/lib/girepository-1.0:1 CRAY_BINUTILS_VERSION=/opt/cray/pe/cce/12.0.3 __LMOD_REF_COUNT_CMAKE_PREFIX_PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs:1;/opt/rocm-4.3.0/hip:1;/opt/rocm-4.3.0:1 LMOD_sys=Linux CRAY_CCE_CLANGSHARE=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share PE_PKGCONFIG_LIBS=libsci_mpi:libsci:mpich:dsmml _ModuleTable010_=WyJsb2FkT3JkZXIiXT01LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09InhwbWVtIix9LH0sbXBhdGhBPXsiL3N3L3Nwb2NrL3NwYWNrLWVudnMvYmFzZS9tb2R1bGVzL3NwYWNrL2NyYXktc2xlczE1LXg4Nl82NC9jcmF5LW1waWNoLzguMS4xMC13azN6dnR0L2NjZS8xMi4wLjMiLCIvc3cvc3BvY2svc3BhY2stZW52cy9iYXNlL21vZHVsZXMvc3BhY2svY3JheS1zbGVzMTUteDg2XzY0L2NjZS8xMi4wLjMiLCIvc3cvc3BvY2svc3BhY2stZW52cy9iYXNlL21vZHVsZXMvc3BhY2svbGludXgtc2xlczE1LXg4Nl82NC9Db3JlIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbXBpL2NyYXljbGFuZy8xMC4wL29m CRAY_PMI_PREFIX=/opt/cray/pe/pmi/6.0.14 HIPCC_COMPILE_FLAGS_APPEND=--rocm-path=/opt/rocm-4.3.0 _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXtbIlByZ0VudiJdPSJQcmdFbnYtY3JheSIsWyJjb21waWxlciJdPSJjY2UiLFsiY3JheXBlIl09ImNyYXlwZSIsWyJjcmF5cGVfY3B1Il09ImNyYXlwZS14ODYtcm9tZSIsWyJjcmF5cGVfbmV0d29yayJdPSJjcmF5cGUtbmV0d29yay1vZmkiLFsibXBpIl09ImNyYXktbXBpY2giLH0sbVQ9e0RlZkFwcHM9e1siZm4iXT0iL3N3L3Nwb2NrL21vZHVsZWZpbGVzL0RlZkFwcHMvZGVmYXVsdC5sdWEiLFsiZnVsbE5hbWUiXT0iRGVmQXBwcy9kZWZhdWx0IixbImxvYWRPcmRlciJdPTE0LHByb3BUPXt9LFsic3RhY2tE LOADEDMODULES=craype-x86-rome:libfabric/1.11.0.4.75:craype-network-ofi:perftools-base/21.10.0:xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:cray-pmi/6.0.14:cray-pmi-lib/6.0.14:cce/12.0.3:craype/2.7.11:cray-dsmml/0.2.2:cray-mpich/8.1.10:cray-libsci/21.08.1.2:PrgEnv-cray/8.2.0:DefApps/default:rocm/4.3.0:emacs/27.2 OLCF_FAMILY_CRAYPE_CPU_VERSION=false CRAYPE_NETWORK_TARGET=ofi GIT_PS1_SHOWUPSTREAM=auto INCLUDE_PATH_AARCH64=/opt/cray/pe/cce/12.0.3/cce/aarch64/include/craylibs CRAY_PE_USE_CLANG=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/clang __LMOD_REF_COUNT_MANPATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/share/man:1;/opt/cray/pe/libsci/21.08.1.2/man:1;/opt/cray/pe/man/csmlversion:1;/opt/cray/pe/mpich/8.1.10/ofi/man:1;/opt/cray/pe/mpich/8.1.10/man/mpich:1;/opt/cray/pe/dsmml/0.2.2/dsmml/man:1;/opt/cray/pe/craype/2.7.11/man:1;/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/man:1;/opt/cray/pe/cce/12.0.3/man:1;/opt/cray/pe/pmi/6.0.14/man:1;/opt/cray/pe/perftools/21.10.0/man:1;/opt/cray/pe/papi/6.0.0.10/share/pdoc/man:1;/opt/cray/libfabric/1.11.0.4.75/share/man:1;/usr/share/lmod/lmod/share/man:1;/usr/local/man:1;/usr/share/man:1;/opt/c3/man:1;/opt/puppetlabs/puppet/share/man:1;/opt/clmgr/man:1;/opt/sgi/share/man:1;/opt/clmgr/share/man:1;/opt/clmgr/lib/cm-cli/man:1 _ModuleTable006_=ZmlsZXMvY29yZS9jcmF5cGUvMi43LjExLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5cGUvMi43LjExIixbImxvYWRPcmRlciJdPTkscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheXBlIix9LFsiY3JheXBlLW5ldHdvcmstb2ZpIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdC9jcmF5cGUtbmV0d29yay1vZmkubHVhIixbImZ1bGxOYW1lIl09ImNyYXlwZS1uZXR3b3JrLW9maSIsWyJsb2FkT3JkZXIiXT0zLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXlwZS1uZXR3b3JrLW9maSIs GCC_AARCH64=/opt/gcc-cross-aarch64/8.1.0/aarch64 _ModuleTable003_=RGVwdGgiXT0xLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjY2UiLH0sWyJjcmF5LWRzbW1sIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9jcmF5LWRzbW1sLzAuMi4yLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LWRzbW1sLzAuMi4yIixbImxvYWRPcmRlciJdPTEwLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktZHNtbWwiLH0sWyJjcmF5LWxpYnNjaSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1saWJzY2kvMjEuMDguMS4yLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LWxpYnNjaS8yMS4wOC4xLjIiLFsibG9h LMOD_ROOT=/usr/share/lmod SSH_TTY=/dev/pts/14 FROM_HEADER= PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig:/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0/lib/pkgconfig COLUMNS=300 CRAY_MPICH_ROOTDIR=/opt/cray/pe/mpich/8.1.10 _ModuleTable013_=bGVzL2NyYXlwZS10YXJnZXRzL2RlZmF1bHQ6L3N3L3Nwb2NrL21vZHVsZWZpbGVzOi9vcHQvY3JheS9tb2R1bGVmaWxlczovb3B0L21vZHVsZWZpbGVzIix9 MAIL=/var/spool/mail/adams CRAY_CCE_SHARE=/opt/cray/pe/cce/12.0.3/cce/x86_64/share CRAY_BINUTILS_BIN_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/bin LESSKEY=/etc/lesskey.bin _ModuleTable009_=ciJdPTQscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MCxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0icGVyZnRvb2xzLWJhc2UiLH0scm9jbT17WyJmbiJdPSIvc3cvc3BvY2svbW9kdWxlZmlsZXMvcm9jbS80LjMuMC5sdWEiLFsiZnVsbE5hbWUiXT0icm9jbS80LjMuMCIsWyJsb2FkT3JkZXIiXT0xNSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJyb2NtLzQuMy4wIix9LHhwbWVtPXtbImZuIl09Ii9vcHQvY3JheS9tb2R1bGVmaWxlcy94cG1lbS8yLjIuNDAtMi4xXzIuNDRfX2czY2YzMzI1LnNoYXN0YSIsWyJmdWxsTmFtZSJdPSJ4cG1lbS8yLjIuNDAtMi4xXzIuNDRfX2czY2YzMzI1LnNoYXN0YSIs SHELL=/bin/bash TERM=xterm-256color CRAY_MPICH_VER=8.1.10 LMOD_ADMIN_FILE=/sw/spock/lmod/etc/admin.list PE_MPICH_GENCOMPILERS_CRAYCLANG=10.0 CRAY_BINUTILS_ROOT_AARCH64=/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../ PE_MPICH_FIXED_PRGENV=CRAYCLANG OLCF_FAMILY_PRGENV_VERSION=8.2.0 LMOD_SITE_NAME=OLCF LMOD_FAMILY_PRGENV=PrgEnv-cray PE_LIBSCI_GENCOMPILERS_AMD_x86_64=4.0 _ModuleTable_Sz_=13 CRAY_LIBSCI_VERSION=21.08.1.2 MPICH_SMP_SINGLE_COPY_MODE=CMA CRAY_CXX_IPA_LIBS_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64/lib/libcray-c++-rts.a CRAY_BINUTILS_BIN_X86_64=/opt/cray/pe/cce/12.0.3/binutils/x86_64/bin USE_PCM_DB=2 LMOD_FAMILY_COMPILER=cce CC_X86_64=/opt/cray/pe/cce/12.0.3/cce/x86_64 XLOCALEDIR=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/libx11-1.7.0-mlxeyo46fwcfxyjrg2znncrjkrttjcnh/share/X11/locale:/usr/share/X11/locale CRAY_DSMML_BASEDIR=/opt/cray/pe/dsmml/0.2.2 CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/lib64 FORTRAN_SYSTEM_MODULE_NAMES=ftn_lib_definitions PROJWORK=/gpfs/alpine/proj-shared PYTHONSTARTUP=/etc/pythonstart CRAY_PE_CCE_VARIANT=CC=Clang:FTN=Classic LLVM_PATH=/opt/rocm-4.3.0/llvm CRAY_CC_VERSION=12.0.3 SHLVL=2 LANGUAGE=en_US.UTF-8 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64 HIP_COMPILER=clang HIP_PATH=/opt/rocm-4.3.0/hip CRAY_BINUTILS_BIN=/opt/cray/pe/cce/12.0.3/binutils/x86_64/bin MANPATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/share/man:/opt/cray/pe/libsci/21.08.1.2/man:/opt/cray/pe/man/csmlversion:/opt/cray/pe/mpich/8.1.10/ofi/man:/opt/cray/pe/mpich/8.1.10/man/mpich:/opt/cray/pe/dsmml/0.2.2/dsmml/man:/opt/cray/pe/craype/2.7.11/man:/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/share/man:/opt/cray/pe/cce/12.0.3/man:/opt/cray/pe/pmi/6.0.14/man:/opt/cray/pe/perftools/21.10.0/man:/opt/cray/pe/papi/6.0.0.10/share/pdoc/man:/opt/cray/libfabric/1.11.0.4.75/share/man:/usr/share/lmod/lmod/share/man:/usr/local/man:/usr/share/man:/opt/c3/man:/opt/puppetlabs/puppet/share/man:/opt/clmgr/man:/opt/sgi/share/man:/opt/clmgr/share/man:/opt/clmgr/lib/cm-cli/man CRAY_FTN_VERSION=12.0.3 CRAY_DSMML_VERSION=0.2.2 MPICH_DIR=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0 OSCAR_HOME=/opt/oscar OLCF_FAMILY_PRGENV=PrgEnv-cray MODULEPATH=/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cray-mpich/8.1.10-wk3zvtt/cce/12.0.3:/sw/spock/spack-envs/base/modules/spack/cray-sles15-x86_64/cce/12.0.3:/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core:/opt/cray/pe/lmod/modulefiles/mpi/crayclang/10.0/ofi/1.0/cray-mpich/8.0:/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0:/opt/cray/pe/lmod/modulefiles/compiler/crayclang/10.0:/opt/cray/pe/lmod/modulefiles/mix_compilers:/opt/cray/pe/lmod/modulefiles/perftools/21.10.0:/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:/opt/cray/pe/lmod/modulefiles/cpu/x86-rome/1.0:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core:/opt/cray/pe/lmod/modulefiles/core:/opt/cray/pe/lmod/modulefiles/craype-targets/default:/sw/spock/modulefiles:/opt/cray/modulefiles:/opt/modulefiles CRAY_MPICH_DIR=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0 LMOD_FAMILY_CRAYPE=craype LOGNAME=adams DEVICE_LIB_PATH=/opt/rocm-4.3.0/amdgcn/bitcode __LMOD_REF_COUNT_XLOCALEDIR=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/libx11-1.7.0-mlxeyo46fwcfxyjrg2znncrjkrttjcnh/share/X11/locale:1;/usr/share/X11/locale:1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/62983/bus CRAY_PMI_VERSION=6.0.14 CRAY_MPICH_VERSION=8.1.10 XDG_RUNTIME_DIR=/run/user/62983 MODULEPATH_ROOT=/usr/share/modulefiles LMOD_PACKAGE_PATH=/sw/spock/lmod/libexec PE_MPICH_GTL_LIBS_amd_gfx906=-lmpi_gtl_hsa PE_DSMML_PKGCONFIG_LIBS=dsmml PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@:PE_SCI_EXT_LIBPATH:PE_SCI_EXT_LIBNAME XDG_CONFIG_DIRS=/etc/xdg PE_LIBSCI_GENCOMPS_CRAY_x86_64=90 PATH=/sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin:/opt/rocm-4.3.0/bin:/opt/cray/pe/craype/2.7.11/bin:/opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin:/opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin:/opt/cray/pe/cce/12.0.3/utils/x86_64/bin:/opt/cray/pe/cce/12.0.3/bin:/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin:/opt/cray/pe/perftools/21.10.0/bin:/opt/cray/pe/papi/6.0.0.10/bin:/opt/cray/libfabric/1.11.0.4.75/bin:/opt/clmgr/sbin:/opt/clmgr/bin:/opt/sgi/sbin:/opt/sgi/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/c3/bin:/opt/puppetlabs/bin:/sbin:/opt/cray/pe/bin PE_MPICH_GTL_LIBS_amd_gfx908=-lmpi_gtl_hsa __LMOD_REF_COUNT_FORTRAN_SYSTEM_MODULE_NAMES=ftn_lib_definitions:1 __LMOD_REF_COUNT_PE_PRODUCT_LIST=CRAY_LIBSCI:1;CRAYPE:1;CRAY_PMI:1;CRAYPE_X86_ROME:1;PERFTOOLS:1;CRAYPAT:1 _LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-rome.lua:/opt/cray/modulefiles/libfabric/1.11.0.4.75:/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:/opt/cray/pe/lmod/modulefiles/core/perftools-base/21.10.0.lua:/opt/cray/modulefiles/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta:/opt/cray/pe/lmod/modulefiles/core/cray-pmi/6.0.14.lua:/opt/cray/pe/lmod/modulefiles/core/cray-pmi-lib/6.0.14.lua:/opt/cray/pe/lmod/modulefiles/core/cce/12.0.3.lua:/opt/cray/pe/lmod/modulefiles/core/craype/2.7.11.lua:/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:/opt/cray/pe/lmod/modulefiles/comnet/crayclang/10.0/ofi/1.0/cray-mpich/8.1.10.lua:/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:/opt/cray/pe/lmod/modulefiles/core/PrgEnv-cray/8.2.0.lua:/sw/spock/modulefiles/DefApps/default.lua:/sw/spock/modulefiles/rocm/4.3.0.lua:/sw/spock/spack-envs/base/modules/spack/linux-sles15-x86_64/Core/emacs/27.2.lua OLCF_FAMILY_COMPILER=cce MODULESHOME=/usr/share/lmod/lmod LMOD_SETTARG_FULL_SUPPORT=no PKG_CONFIG_PATH=/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:/opt/cray/pe/craype/2.7.11/pkg-config:/opt/cray/pe/pmi/6.0.14/lib/pkgconfig:/opt/cray/libfabric/1.11.0.4.75/lib64/pkgconfig LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 PETSC_DIR=/gpfs/alpine/csc314/scratch/adams/petsc G_BROKEN_FILENAMES=1 _ModuleTable011_=aS8xLjAvY3JheS1tcGljaC84LjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb21uZXQvY3JheWNsYW5nLzEwLjAvb2ZpLzEuMCIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvbXBpbGVyL2NyYXljbGFuZy8xMC4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbWl4X2NvbXBpbGVycyIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL3BlcmZ0b29scy8yMS4xMC4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbmV0L29maS8xLjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcHUveDg2LXJvbWUvMS4wIiwiL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eCIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMv HISTSIZE=100 PE_MPICH_GTL_LIBS_amd_gfx90a=-lmpi_gtl_hsa CRAYPE_DIR=/opt/cray/pe/craype/2.7.11 LMOD_PKG=/usr/share/lmod/lmod __LMOD_REF_COUNT_PE_MPICH_PKGCONFIG_LIBS=mpich:1 OFFLOAD_INIT=on_start USE_PETSC=TRUE CPU=x86_64 __LMOD_REF_COUNT_PE_PKGCONFIG_LIBS=libsci_mpi:1;libsci:1;mpich:1;dsmml:1 CRAYPE_VERSION=2.7.11 INCLUDE_PATH_X86_64=/opt/cray/pe/cce/12.0.3/cce-clang/x86_64/lib/clang/12.0.0/include:/opt/cray/pe/cce/12.0.3/cce/x86_64/include/craylibs OLCF_FAMILY_CRAYPE_NETWORK=craype-network-ofi LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod _ModuleTable005_=Ni4wLjE0Lmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LXBtaS82LjAuMTQiLFsibG9hZE9yZGVyIl09Nixwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5LXBtaSIsfSxbImNyYXktcG1pLWxpYiJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1wbWktbGliLzYuMC4xNC5sdWEiLFsiZnVsbE5hbWUiXT0iY3JheS1wbWktbGliLzYuMC4xNCIsWyJsb2FkT3JkZXIiXT03LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktcG1pLWxpYiIsfSxjcmF5cGU9e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxl WORLDWORK=/gpfs/alpine/world-shared CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pe/pmi/6.0.14/lib CRAY_MPICH_PREFIX=/opt/cray/pe/mpich/8.1.10/ofi/crayclang/10.0 LESSOPEN=lessopen.sh %s OMP_NUM_THREADS=1 CRAYPAT_OPTS_EXECUTABLE=libexec64/opts CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/2.2.40-2.1_2.44__g3cf3325.shasta/include LMOD_DIR=/usr/share/lmod/lmod/libexec PE_LIBSCI_GENCOMPS_GNU_x86_64=91 LMOD_FAMILY_MPI=cray-mpich BASH_FUNC_module%%=() { eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh) } BASH_FUNC_ml%%=() { eval $($LMOD_DIR/ml_cmd "$@") } SLURM_CONF=/var/spool/slurm/conf-cache/slurm.conf SLURM_PRIO_PROCESS=0 SRUN_DEBUG=3 SLURM_UMASK=0022 SLURM_CLUSTER_NAME=spock SLURM_SUBMIT_DIR=/gpfs/alpine/csc314/scratch/adams/petsc SLURM_SUBMIT_HOST=login2 SLURM_JOB_NAME=printenv SLURM_JOB_CPUS_PER_NODE=64 SLURM_NTASKS=1 SLURM_NPROCS=1 SLURM_JOB_ID=304031 SLURM_JOBID=304031 SLURM_STEP_ID=0 SLURM_STEPID=0 SLURM_NNODES=1 SLURM_JOB_NUM_NODES=1 SLURM_NODELIST=spock13 SLURM_JOB_PARTITION=ecp SLURM_TASKS_PER_NODE=1 SLURM_THREADS_PER_CORE=1 SLURM_SRUN_COMM_PORT=7272 SLURM_JOB_UID=62983 SLURM_JOB_USER=adams SLURM_JOB_ACCOUNT=csc314 SLURM_JOB_QOS=normal SLURM_WORKING_CLUSTER=spock:util1:6817:9216:109 SLURM_JOB_NODELIST=spock13 SLURM_STEP_NODELIST=spock13 SLURM_STEP_NUM_NODES=1 SLURM_STEP_NUM_TASKS=1 SLURM_STEP_TASKS_PER_NODE=1 SLURM_STEP_LAUNCHER_PORT=7272 SLURM_STEP_RESV_PORTS=27563-27564 SLURM_SRUN_COMM_HOST=172.30.201.141 SLURM_TOPOLOGY_ADDR=root.s1.spock13 SLURM_TOPOLOGY_ADDR_PATTERN=switch.switch.node SLURM_CPUS_ON_NODE=128 SLURM_CPU_BIND=quiet,mask_cpu:0x00000000000000000000000000000001 SLURM_CPU_BIND_LIST=0x00000000000000000000000000000001 SLURM_CPU_BIND_TYPE=mask_cpu: SLURM_CPU_BIND_VERBOSE=quiet SLURM_TASK_PID=106640 SLURM_NODEID=0 SLURM_PROCID=0 SLURM_LOCALID=0 SLURM_LAUNCH_NODE_IPADDR=172.30.201.141 SLURM_GTIDS=0 SLURM_JOB_GID=3012 SLURMD_NODENAME=spock13 PALS_APID=304031.0 PALS_RANKID=0 PALS_NODEID=0 PALS_SPOOL_DIR=/var/spool/slurm/mpi_cray_shasta/304031.0 PALS_APINFO=/var/spool/slurm/mpi_cray_shasta/304031.0/apinfo PMI_CONTROL_PORT=27563 TMPDIR=/tmp Defined make macro "MPIEXEC" to "/usr/bin/srun -p ecp -N 1 -A csc314 -t 00:10:00" Checking for program /usr/libexec/ApplicationFirewall/socketfilterfw...not found Checking for program /gpfs/alpine/csc314/scratch/adams/petsc/lib/petsc/bin/win32fe/socketfilterfw...not found Unable to find programs: ['socketfilterfw'] in listing of the specific search path: ['/usr/libexec/ApplicationFirewall'] Warning accessing /usr/libexec/ApplicationFirewall gives errors: [Errno 2] No such file or directory: '/usr/libexec/ApplicationFirewall' Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/hostname...not found Checking for program /opt/rocm-4.3.0/bin/hostname...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/hostname...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/hostname...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/hostname...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/hostname...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/hostname...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/hostname...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/hostname...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/hostname...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/hostname...not found Checking for program /opt/clmgr/sbin/hostname...not found Checking for program /opt/clmgr/bin/hostname...not found Checking for program /opt/sgi/sbin/hostname...not found Checking for program /opt/sgi/bin/hostname...not found Checking for program /usr/local/bin/hostname...not found Checking for program /usr/bin/hostname...found Defined make macro "HOSTNAME" to "hostname" Running Executable with threads to time it out at 60 Executing: hostname stdout: login2 Return code from hostname: 0 Hostname works, running network checks Checking for program /sbin/ping...not found Checking for program /sw/spock/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/emacs-27.2-g7ttkmjnuierpwazuj3wxbrtqf6nbvfs/bin/ping...not found Checking for program /opt/rocm-4.3.0/bin/ping...not found Checking for program /opt/cray/pe/craype/2.7.11/bin/ping...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/x86_64/x86_64-pc-linux-gnu/bin/ping...not found Checking for program /opt/cray/pe/cce/12.0.3/binutils/cross/x86_64-aarch64/aarch64-linux-gnu/../bin/ping...not found Checking for program /opt/cray/pe/cce/12.0.3/utils/x86_64/bin/ping...not found Checking for program /opt/cray/pe/cce/12.0.3/bin/ping...not found Checking for program /opt/cray/pe/cce/12.0.3/cce-clang/x86_64/bin/ping...not found Checking for program /opt/cray/pe/perftools/21.10.0/bin/ping...not found Checking for program /opt/cray/pe/papi/6.0.0.10/bin/ping...not found Checking for program /opt/cray/libfabric/1.11.0.4.75/bin/ping...not found Checking for program /opt/clmgr/sbin/ping...not found Checking for program /opt/clmgr/bin/ping...not found Checking for program /opt/sgi/sbin/ping...not found Checking for program /opt/sgi/bin/ping...not found Checking for program /usr/local/bin/ping...not found Checking for program /usr/bin/ping...found Defined make macro "PING" to "ping" Executing: uname -s stdout: Linux Running Executable with threads to time it out at 60 Executing: ping -c 2 login2 stdout: PING login2.spock.olcf.ornl.gov (172.30.201.141) 56(84) bytes of data. 64 bytes from login2.spock.olcf.ornl.gov (172.30.201.141): icmp_seq=1 ttl=64 time=0.046 ms 64 bytes from login2.spock.olcf.ornl.gov (172.30.201.141): icmp_seq=2 ttl=64 time=0.040 ms --- login2.spock.olcf.ornl.gov ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1003ms rtt min/avg/max/mdev = 0.040/0.043/0.046/0.003 ms Return code from ping: 0 ============================================================================================= ======== Checking running linked program ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Init(0,0); MPI_Finalize(); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Testing executable /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest to see if it can be run Executing: /usr/bin/srun -p ecp -N 1 -A csc314 -t 00:10:00 -n 1 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest Running Executable with threads to time it out at 120 Executing: /usr/bin/srun -p ecp -N 1 -A csc314 -t 00:10:00 -n 1 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest ERROR while running executable: Could not execute "['/usr/bin/srun -p ecp -N 1 -A csc314 -t 00:10:00 -n 1 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest']": slurmstepd: error: execve(): /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest: No such file or directory srun: error: spock13: task 0: Exited with exit code 2 srun: launch/slurm: _step_signal: Terminating StepId=304032.0 ============================================================================================= TESTING: configureMPITypes from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:483) Checking for MPI Datatype handles ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_LONG_DOUBLE" to "1" ===== Checking compiler Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_INT64_T" to "1" ============================================================================================= TESTING: SGIMPICheck from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:530) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library [] [] ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); static void _check_MPI_SGI_barrier() { MPI_SGI_barrier(); } int main() { _check_MPI_SGI_barrier();; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: MPI_SGI_barrier >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: MPI_SGI_barrier >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: MPI_SGI_barrier >>> referenced by conftest.c:5 (/tmp/petsc-u_wdb2uz/config.libraries/conftest.c:5) >>> /tmp/petsc-u_wdb2uz/config.libraries/conftest.o:(main) clang-12: error: linker command failed with exit code 1 (use -v to see invocation): SGI MPI test failure ============================================================================================= TESTING: CxxMPICheck from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:540) Make sure C++ can compile and link Checking for header mpi.h Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library [] [] ===== Checking linker Executing: CC -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 -fPIC -std=gnu++17 /tmp/petsc-u_wdb2uz/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_MPI_Finalize() { int ierr; ierr = MPI_Finalize();; } int main() { _check_MPI_Finalize();; return 0; } Executing: CC -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa ============================================================================================= TESTING: FortranMPICheck from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:556) Make sure fortran include [mpif.h] and library symbols are found Checking for fortran mpi_init() Checking for functions [] in library [] [] ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" integer ierr call mpi_init(ierr) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Checking for mpi.mod Checking for functions [] in library [] [] ===== Checking linker Executing: ftn -c -o /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/config.libraries -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.F90 Successful compile: Source: program main use mpi integer(kind=selected_int_kind(5)) ierr,rank call mpi_init(ierr) call mpi_comm_rank(MPI_COMM_WORLD,rank,ierr) end Executing: ftn -o /tmp/petsc-u_wdb2uz/config.libraries/conftest -fPIC /tmp/petsc-u_wdb2uz/config.libraries/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPI_F90MODULE" to "1" ============================================================================================= TESTING: configureIO from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:578) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these ===== Checking linker Executing: cc -c -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -I/tmp/petsc-u_wdb2uz/config.compilerFlags -I/tmp/petsc-u_wdb2uz/config.setCompilers -I/tmp/petsc-u_wdb2uz/config.utilities.closure -I/tmp/petsc-u_wdb2uz/config.compilersFortran -I/tmp/petsc-u_wdb2uz/config.headers -I/tmp/petsc-u_wdb2uz/config.utilities.cacheDetails -I/tmp/petsc-u_wdb2uz/config.types -I/tmp/petsc-u_wdb2uz/config.functions -I/tmp/petsc-u_wdb2uz/config.utilities.featureTestMacros -I/tmp/petsc-u_wdb2uz/config.utilities.missing -I/tmp/petsc-u_wdb2uz/PETSc.options.sharedLibraries -I/tmp/petsc-u_wdb2uz/config.compilers -I/tmp/petsc-u_wdb2uz/PETSc.options.scalarTypes -I/tmp/petsc-u_wdb2uz/config.libraries -I/tmp/petsc-u_wdb2uz/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:48: warning: if statement has empty body [-Wempty-body] if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:7:48: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:12:54: warning: if statement has empty body [-Wempty-body] if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:12:54: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:14:102: warning: if statement has empty body [-Wempty-body] if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:14:102: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:18:61: warning: if statement has empty body [-Wempty-body] if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:18:61: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:20:101: warning: if statement has empty body [-Wempty-body] if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:20:101: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:22:74: warning: if statement has empty body [-Wempty-body] if (MPI_File_close(&fh)); ^ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:22:74: note: put the semicolon on a separate line to silence this warning /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:18:55: warning: variable 'info' is uninitialized when used here [-Wuninitialized] if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); ^~~~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:17:14: note: initialize the variable 'info' to silence this warning MPI_Info info; ^ = 0 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:12:24: warning: variable 'fh' is uninitialized when used here [-Wuninitialized] if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); ^~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:9:61: note: initialize the variable 'fh' to silence this warning MPI_File fh; ^ = 0 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:18:27: warning: variable 'disp' is uninitialized when used here [-Wuninitialized] if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); ^~~~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:16:65: note: initialize the variable 'disp' to silence this warning MPI_Offset disp; ^ = 0 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:14:76: warning: variable 'buf' is uninitialized when used here [-Wuninitialized] if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); ^~~ /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.c:10:10: note: initialize the variable 'buf' to silence this warning void *buf; ^ = 0 10 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); MPI_File fh; void *buf; MPI_Status status; if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); MPI_Offset disp; MPI_Info info; if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); if (MPI_File_close(&fh)); ; return 0; } Executing: cc -o /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -O3 /tmp/petsc-u_wdb2uz/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl -L/opt/cray/pe/mpich/8.1.10/gtl/lib -lmpi_gtl_hsa Defined "HAVE_MPIIO" to "1" ============================================================================================= TESTING: findMPIIncludeAndLib from config.packages.MPI(/gpfs/alpine/csc314/scratch/adams/petsc/config/BuildSystem/config/packages/MPI.py:691) Find MPI include paths and libraries from "mpicc -show" or Cray "cc --cray-print-opts=cflags/libs" and save. Executing: cc --help stdout: OVERVIEW: clang LLVM compiler USAGE: {cc|CC} [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -B Add to search path for binaries and object files used implicitly -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. -cl-kernel-arg-info OpenCL only. Generate kernel argument metadata. -cl-mad-enable OpenCL only. Allow use of less precise MAD computations in the generated binary. -cl-no-signed-zeros OpenCL only. Allow use of less precise no signed zeros computations in the generated binary. -cl-opt-disable OpenCL only. This option disables all optimizations. By default optimizations are enabled. -cl-single-precision-constant OpenCL only. Treat double precision floating-point constant as single precision constant. -cl-std= OpenCL language standard to compile for. -cl-strict-aliasing OpenCL only. This option is added for compatibility with OpenCL 1.0. -cl-uniform-work-group-size OpenCL only. Defines that the global work-size be a multiple of the work-group size specified to clEnqueueNDRangeKernel -cl-unsafe-math-optimizations OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable. --config Specifies configuration file --cuda-compile-host-device Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations. --cuda-device-only Compile CUDA code for device only --cuda-host-only Compile CUDA code for host only. Has no effect on non-CUDA compilations. --cuda-include-ptx= Include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once. --cuda-noopt-device-debug Enable device-side debug info generation. Disables ptxas optimizations. --cuda-path-ignore-env Ignore environment variables to detect CUDA installation --cuda-path= CUDA installation path -cxx-isystem Add directory to the C++ SYSTEM include search path -C Include comments in preprocessed output -c Only run preprocess, compile, and assemble steps -dD Print macro definitions in -E mode in addition to normal output -dependency-dot Filename to write DOT-formatted header dependencies to -dependency-file Filename (or -) to write dependency output to -dI Print include directives in -E mode in addition to normal output -dM Print macro definitions in -E mode instead of normal output -dsym-dir Directory to output dSYM's (if any) to -D = Define to (or 1 if omitted) -emit-ast Emit Clang AST files for source inputs -emit-interface-stubs Generate Interface Stub Files. -emit-llvm Use the LLVM representation for assembler and object files -emit-merged-ifs Generate Interface Stub Files, emit merged text not binary. --emit-static-lib Enable linker job to emit a static library. -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang Trivial automatic variable initialization to zero is only here for benchmarks, it'll eventually be removed, and I'm OK with that because I'm only using it to benchmark -E Only run the preprocessor -faapcs-bitfield-load Follows the AAPCS standard that all volatile bit-field write generates at least one load. (ARM only). -faapcs-bitfield-width Follow the AAPCS standard requirement stating that volatile bit-field width is dictated by the field container type. (ARM only). -faccess-control -faddrsig Emit an address-significance table -faligned-allocation Enable C++17 aligned allocation functions -fallow-editor-placeholders Treat editor placeholders as valid source code -fansi-escape-codes Use ANSI escape codes for diagnostics -fapple-kext Use Apple's kernel extensions ABI -fapple-link-rtlib Force linking the clang builtins runtime library -fapple-pragma-pack Enable Apple gcc-compatible #pragma pack handling -fapplication-extension Restrict code to those available for App Extensions -fasm-blocks -fast [Cray] Enables -Ofast and -flto -fautolink -fbasic-block-sections= Place each function's basic blocks in unique sections (ELF Only) : all | labels | none | list= -fbinutils-version= Produced object files can use all ELF features supported by this binutils version and newer. If -fno-integrated-as is specified, the generated assembly will consider GNU as support. 'none' means that all ELF features can be used, regardless of binutils support. Defaults to 2.26. -fblocks Enable the 'blocks' language feature -fborland-extensions Accept non-standard constructs supported by the Borland compiler -fbuild-session-file= Use the last modification time of as the build session timestamp -fbuild-session-timestamp=