Executing: uname -s stdout: Linux ============================================================================================= Configuring PETSc to compile on your system ============================================================================================= ================================================================================ ================================================================================ Starting configure run at Wed, 16 Nov 2022 04:49:35 -0800 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --CFLAGS=" -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES" --CXXFLAGS=" -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES" --CUDAFLAGS="-g -Xcompiler -rdynamic" --with-cc=cc --with-cxx=CC --with-fortran-bindings=0 --COPTFLAGS=" -O" --CXXOPTFLAGS=" -O" --FOPTFLAGS=" -O" --with-debugging=0 --with-cuda=1 --with-cuda-arch=80 --with-mpiexec="srun -G4" --with-batch=0 --with-kokkos-kernels-tpl=0 --with-make-np=8 --with-64-bit-indices=0 PETSC_ARCH=arch-perlmutter-opt-gcc-kokkos-cuda Working directory: /global/u2/m/madams/petsc Machine platform: uname_result(system='Linux', node='login25', release='5.3.18-150300.59.87_11.0.78-cray_shasta_c', version='#1 SMP Thu Oct 20 22:11:23 UTC 2022 (c16132b)', machine='x86_64', processor='x86_64') Python version: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC] ================================================================================ Environmental variables __LMOD_REF_COUNT_PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH:1 CRAY_LMOD_MPI=cray-mpich/8.0 LMOD_FAMILY_CRAYPE_NETWORK_VERSION=false CONDA_SHLVL=1 MPICH_GPU_SUPPORT_ENABLED=0 LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/CUPTI/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/Debugger/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/nvvm/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64:/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/lib:/opt/cray/pe/gcc/11.2.0/snos/lib64:/opt/cray/pe/papi/6.0.0.15/lib64:/opt/cray/libfabric/1.15.0.0/lib64 CRAYPE_LINK_TYPE=dynamic CSHRCREAD=true CONDA_EXE=/global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/conda __LMOD_REF_COUNT_PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig:1 HOSTTYPE=x86_64 ALLINEA_PAPI_CONFIG=/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/map/metrics/papi/PAPI.config CRAY_DSMML_ROOTDIR=/opt/cray/pe/dsmml/0.2.2 LMOD_FAMILY_CRAYPE_ACCEL=craype-accel-nvidia80 CRAY_DSMML_DIR=/opt/cray/pe/dsmml/0.2.2/dsmml __LMOD_REF_COUNT_PATH=/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin:1;/opt/cray/pe/mpich/8.1.17/bin:1;/opt/cray/pe/craype/2.7.16/bin:1;/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin:1;/global/common/software/nersc/bin:1;/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1:1;/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin:1;/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin:1;/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin:1;/opt/cray/pe/gcc/11.2.0/bin:1;/opt/cray/pe/perftools/22.06.0/bin:1;/opt/cray/pe/papi/6.0.0.15/bin:1;/opt/cray/libfabric/1.15.0.0/bin:1;/usr/local/bin:1;/usr/bin:1;/bin:1;/usr/lib/mit/bin:1;/opt/cray/pe/bin:1 _ModuleTable002_=L2NvbW1vbi9zb2Z0d2FyZS9uZXJzYy9wbS0yMDIyLjA4LjQvZXh0cmFfbW9kdWxlZmlsZXMvTnNpZ2h0LUNvbXB1dGUvMjAyMi4xLjEubHVhIixbImZ1bGxOYW1lIl09Ik5zaWdodC1Db21wdXRlLzIwMjIuMS4xIixbImxvYWRPcmRlciJdPTkscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MixbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iTnNpZ2h0LUNvbXB1dGUiLH0sWyJOc2lnaHQtU3lzdGVtcyJdPXtbImZuIl09Ii9nbG9iYWwvY29tbW9uL3NvZnR3YXJlL25lcnNjL3BtLTIwMjIuMDguNC9leHRyYV9tb2R1bGVmaWxlcy9Oc2lnaHQtU3lzdGVtcy8yMDIyLjIuMS5sdWEiLFsiZnVsbE5hbWUiXT0iTnNpZ2h0LVN5c3RlbXMvMjAyMi4yLjEiLFsibG9hZE9yZGVy PE_MPICH_GTL_DIR_amd_gfx90a=-L/opt/cray/pe/mpich/8.1.17/gtl/lib PE_LIBSCI_OMP_REQUIRES= SSH_CONNECTION=128.55.210.213 49410 128.55.126.1 22 LESSCLOSE=lessclose.sh %s %s ALLINEA_LICENSE_DIR=/global/common/software/nersc/shasta2105/arm-forge/licenses CRAY_LD_LIBRARY_PATH=/opt/cray/pe/libsci/21.08.1.2/GNU/9.1/x86_64/lib:/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1/lib:/opt/cray/pe/mpich/8.1.17/gtl/lib:/opt/cray/pe/dsmml/0.2.2/dsmml/lib:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64:/opt/cray/pe/perftools/22.06.0/lib64 EBVERSIONNSIGHTMINSYSTEMS=2022.2.1 XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB PE_ENV=GNU __LMOD_REF_COUNT_PE_DSMML_PKGCONFIG_LIBS=dsmml:1 __LMOD_REF_COUNT_PE_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 LMOD_FAMILY_CRAYPE_CPU=craype-x86-milan CRAYPAT_LD_LIBRARY_PATH=/opt/cray/pe/gcc-libs:/opt/cray/gcc-libs:/opt/cray/pe/perftools/22.06.0/lib64 GCC_PREFIX=/opt/cray/pe/gcc/11.2.0 CRAY_LMOD_COMPILER=gnu/8.0 LMOD_MODULERCFILE=/global/common/software/nersc/perlmutter/pm-2022.08.4/lmod-configuration/sitepackages/modulerc.lua CRAY_DSMML_PREFIX=/opt/cray/pe/dsmml/0.2.2/dsmml PE_PRODUCT_LIST=CRAY_LIBSCI:CRAYPE:PERFTOOLS:CRAYPAT:CRAY_HPC_SDK:CRAY_ACCEL LMOD_IGNORE_CACHE=1 LMOD_FAMILY_MPI_VERSION=8.1.17 CRAYPAT_ROOT=/opt/cray/pe/perftools/22.06.0 LIBGL_ALWAYS_INDIRECT=1 PE_PERFTOOLS_MPICH_LIBDIR=/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1/lib DDT_LINK_DMALLOCTH=-L/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/lib/64 -ldmallocth PE_MPICH_GTL_DIR_amd_gfx906=-L/opt/cray/pe/mpich/8.1.17/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 TZ=America/Los_Angeles LMOD_SYSTEM_NAME=perlmutter NERSC_FAMILY_PRGENV=PrgEnv-gnu PE_MPICH_GTL_DIR_amd_gfx908=-L/opt/cray/pe/mpich/8.1.17/gtl/lib PE_DSMML_MODULE_NAME=cray-dsmml WINDOWMANAGER=xterm _ModuleTable008_=cmF5cGUtbmV0d29yay1vZmkubHVhIixbImZ1bGxOYW1lIl09ImNyYXlwZS1uZXR3b3JrLW9maSIsWyJsb2FkT3JkZXIiXT0zLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXlwZS1uZXR3b3JrLW9maSIsfSxbImNyYXlwZS14ODYtbWlsYW4iXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcmF5cGUtdGFyZ2V0cy9kZWZhdWx0L2NyYXlwZS14ODYtbWlsYW4ubHVhIixbImZ1bGxOYW1lIl09ImNyYXlwZS14ODYtbWlsYW4iLFsibG9hZE9yZGVyIl09MSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5cGUteDg2LW1pbGFu LESS=-M -I -R PE_MPICH_GTL_LIBS_nvidia70=-lmpi_gtl_cuda DISPLAY=login25:11.0 JAVA_ROOT=/usr/lib64/jvm/java LMOD_FAMILY_COMPILER_VERSION=11.2.0 HOSTNAME=login25 LMOD_SYSTEM_DEFAULT_MODULES=craype-x86-milan:craype-network-ofi:perftools-base:xpmem:PrgEnv-gnu:xalt/2.10.2:darshan:gpu OLDPWD=/global/homes/m/madams __LMOD_REF_COUNT__LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-milan.lua:1;/opt/cray/modulefiles/libfabric/1.15.0.0:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:1;/opt/cray/pe/lmod/modulefiles/core/perftools-base/22.06.0.lua:1;/opt/cray/modulefiles/xpmem/2.4.4-2.3_13.8__gff0e1d9.shasta:1;/opt/cray/pe/lmod/modulefiles/core/gcc/11.2.0.lua:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/xalt/2.10.2:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/darshan/3.4.0.lua:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/Nsight-Compute/2022.1.1.lua:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/Nsight-Systems/2022.2.1.lua:1;/opt/cray/pe/lmod/modulefiles/core/cudatoolkit/11.7.lua:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-accel-nvidia80.lua:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/gpu/1.0.lua:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/cmake/3.22.0.lua:1;/opt/cray/pe/lmod/modulefiles/core/craype/2.7.16.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:1;/opt/cray/pe/lmod/modulefiles/comnet/gnu/8.0/ofi/1.0/cray-mpich/8.1.17.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:1;/opt/cray/pe/lmod/modulefiles/core/PrgEnv-gnu/8.3.3.lua:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/arm-forge/22.0.4-linux-x86_64.lua:1 CSHEDIT=emacs GPG_TTY=/dev/pts/1 LMOD_CASE_INDEPENDENT_SORTING=yes PE_LIBSCI_GENCOMPILERS_NVIDIA_x86_64=20.7 LESS_ADVANCED_PREPROCESSOR=no __LMOD_REF_COUNT_PE_MPICH_GENCOMPILERS_GNU=9.1:1 COLORTERM=1 PETSC_ARCH=arch-perlmutter-opt-gcc-kokkos-cuda _ModuleTable007_=WyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXlwZSIsfSxbImNyYXlwZS1hY2NlbC1udmlkaWE4MCJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NyYXlwZS10YXJnZXRzL2RlZmF1bHQvY3JheXBlLWFjY2VsLW52aWRpYTgwLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5cGUtYWNjZWwtbnZpZGlhODAiLFsibG9hZE9yZGVyIl09MTIscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheXBlLWFjY2VsLW52aWRpYTgwIix9LFsiY3JheXBlLW5ldHdvcmstb2ZpIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdC9j CRAY_PERFTOOLS_VERSION=22.06.0 CONDA_PREFIX=/global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11 LMOD_FAMILY_CRAYPE_NETWORK=craype-network-ofi JAVA_HOME=/usr/lib64/jvm/java LMOD_FAMILY_CRAYPE_VERSION=2.7.16 PE_XPMEM_PKGCONFIG_LIBS=cray-xpmem APP2_STATE=22.06.0 MACHTYPE=x86_64-suse-linux PE_LIBSCI_FIXED_PRGENV=CRAYCLANG LMOD_RC=/global/common/software/nersc/perlmutter/pm-2022.08.4/lmod-configuration/sitepackages/lmodrc.lua __LMOD_REF_COUNT_LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/CUPTI/lib64:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/Debugger/lib64:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/nvvm/lib64:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64:1;/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/lib:1;/opt/cray/pe/gcc/11.2.0/snos/lib64:1;/opt/cray/pe/papi/6.0.0.15/lib64:1;/opt/cray/libfabric/1.15.0.0/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.16/pkg-config:1;/opt/modulefiles/cudatoolkit:1;/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/lib/pkgconfig:1;/opt/cray/libfabric/1.15.0.0/lib64/pkgconfig:1 NERSC_FAMILY_CRAYPE=craype XTPE_LINK_TYPE=dynamic GNU_VERSION=11.2.0 CRAY_CUDATOOLKIT_POST_LINK_OPTS=-L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/nvvm/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/Debugger/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/CUPTI/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -Wl,--as-needed,-lcupti,-lcudart,--no-as-needed -lcuda PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:PE_MPICH:PE_DSMML:PE_XPMEM _ModuleTable015_=cmF5L21vZHVsZWZpbGVzIix9LFsic3lzdGVtQmFzZU1QQVRIIl09Ii91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXg6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9Db3JlOi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmU6L29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZTovb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcmF5cGUtdGFyZ2V0cy9kZWZhdWx0Oi9nbG9iYWwvY29tbW9uL3NvZnR3YXJlL25lcnNjL3BtLTIwMjIuMDguNC9tb2R1bGVmaWxlczovZ2xvYmFsL2NvbW1vbi9zb2Z0d2FyZS9uZXJzYy9wbS0yMDIyLjA4LjQvZXh0cmFfbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZTovb3B0L2Ny CRAY_MPICH_BASEDIR=/opt/cray/pe/mpich/8.1.17/ofi HUGETLB_VERBOSE=0 PE_MPICH_GTL_DIR_nvidia80=-L/opt/cray/pe/mpich/8.1.17/gtl/lib _ModuleTable004_=LjAuNC1saW51eC14ODZfNjQubHVhIixbImZ1bGxOYW1lIl09ImFybS1mb3JnZS8yMi4wLjQtbGludXgteDg2XzY0IixbImxvYWRPcmRlciJdPTIwLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImFybS1mb3JnZSIsfSxjbWFrZT17WyJmbiJdPSIvZ2xvYmFsL2NvbW1vbi9zb2Z0d2FyZS9uZXJzYy9wbS0yMDIyLjA4LjQvZXh0cmFfbW9kdWxlZmlsZXMvY21ha2UvMy4yMi4wLmx1YSIsWyJmdWxsTmFtZSJdPSJjbWFrZS8zLjIyLjAiLFsibG9hZE9yZGVyIl09MTQscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MCxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY21ha2UiLH0sWyJjcmF5LWRzbW1sIl09e1si SSH_AUTH_SOCK=/tmp/ssh-NgyfIlcXUj/agent.3095 PE_LIBSCI_GENCOMPILERS_GNU_x86_64=9.1 MINICOM=-c on DDT_LINK_DMALLOCXX=-L/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/lib/64 -ldmallocxx PAT_BUILD_PAPI_LIBDIR=/opt/cray/pe/papi/6.0.0.15/lib64 PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_GTL_DIR_@accelerator@:PE_MPICH_GTL_LIBS_@accelerator@ _CE_M= PE_MPICH_PKGCONFIG_LIBS=mpich OSTYPE=linux DARSHAN_BASE_DIR=/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0 PROJ_LIB=/global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/share/proj XDG_SESSION_ID=31994 CRAY_DSMML_VER=0.2.2 USER=madams PAGER=less LMOD_FAMILY_PRGENV_VERSION=8.3.3 MAN_POSIXLY_CORRECT=1 _ModuleTable012_=ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJwZXJmdG9vbHMtYmFzZSIsfSx4YWx0PXtbImZuIl09Ii9nbG9iYWwvY29tbW9uL3NvZnR3YXJlL25lcnNjL3BtLTIwMjIuMDguNC9leHRyYV9tb2R1bGVmaWxlcy94YWx0LzIuMTAuMiIsWyJmdWxsTmFtZSJdPSJ4YWx0LzIuMTAuMiIsWyJsb2FkT3JkZXIiXT03LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09InhhbHQvMi4xMC4yIix9LHhwbWVtPXtbImZuIl09Ii9vcHQvY3JheS9tb2R1bGVmaWxlcy94cG1lbS8yLjQuNC0yLjNfMTMuOF9fZ2ZmMGUxZDkuc2hhc3RhIixbImZ1bGxOYW1lIl09InhwbWVtLzIuNC40LTIuM18xMy44X19nZmYwZTFkOS5zaGFzdGEiLFsibG9hZE9y CRAY_CPU_TARGET=x86-milan PE_LIBSCI_VOLATILE_PRGENV=AOCC CRAY GNU NVIDIA PKGCONFIG_ENABLED=1 __LMOD_REF_COUNT_MODULEPATH=/opt/cray/pe/lmod/modulefiles/mpi/gnu/8.0/ofi/1.0/cray-mpich/8.0:1;/opt/cray/pe/lmod/modulefiles/comnet/gnu/8.0/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/mix_compilers:1;/opt/cray/pe/lmod/modulefiles/compiler/gnu/8.0:1;/opt/cray/pe/lmod/modulefiles/perftools/22.06.0:1;/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/cpu/x86-milan/1.0:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:2;/opt/cray/pe/lmod/modulefiles/core:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default:1;/global/common/software/nersc/pm-2022.08.4/modulefiles:1;/global/common/software/nersc/pm-2022.08.4/extra_modulefiles:1;/opt/cray/modulefiles:1 MORE=-sl CRAY_PERFTOOLS_PREFIX=/opt/cray/pe/perftools/22.06.0 PE_FORTRAN_PKGCONFIG_LIBS=mpichf90 __LMOD_REF_COUNT_LOADEDMODULES=craype-x86-milan:1;libfabric/1.15.0.0:1;craype-network-ofi:1;perftools-base/22.06.0:1;xpmem/2.4.4-2.3_13.8__gff0e1d9.shasta:1;gcc/11.2.0:1;xalt/2.10.2:1;darshan/3.4.0:1;Nsight-Compute/2022.1.1:1;Nsight-Systems/2022.2.1:1;cudatoolkit/11.7:1;craype-accel-nvidia80:1;gpu/1.0:1;cmake/3.22.0:1;craype/2.7.16:1;cray-dsmml/0.2.2:1;cray-mpich/8.1.17:1;cray-libsci/21.08.1.2:1;PrgEnv-gnu/8.3.3:1;arm-forge/22.0.4-linux-x86_64:1 __LMOD_REF_COUNT_CRAY_LD_LIBRARY_PATH=/opt/cray/pe/libsci/21.08.1.2/GNU/9.1/x86_64/lib:2;/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1/lib:1;/opt/cray/pe/mpich/8.1.17/gtl/lib:1;/opt/cray/pe/dsmml/0.2.2/dsmml/lib:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64:1;/opt/cray/pe/perftools/22.06.0/lib64:1 GCC_VERSION=11.2.0 CRAY_LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 ALLINEA_CONFIG_DIR=/global/homes/m/madams/.allinea/perlmutter PWD=/global/homes/m/madams/petsc PE_MPICH_GTL_DIR_nvidia70=-L/opt/cray/pe/mpich/8.1.17/gtl/lib PAT_RT_HWPC=1 CRAY_TCMALLOC_MEMFS_FORCE=1 HOME=/global/homes/m/madams CONDA_PYTHON_EXE=/global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/python CRAY_ACCEL_VENDOR=nvidia EBDEVELNSIGHTMINSYSTEMS=/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/easybuild/Nsight-Systems-2022.2.1-easybuild-devel PELOCAL_PRGENV=true CMAKE_PREFIX_PATH=/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0:/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1:/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1 NERSC_HOST=perlmutter PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH EBROOTNSIGHTMINCOMPUTE=/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1 GIT_PS1_SHOWDIRTYSTATE=1 LMOD_SYSHOST=perlmutter HOST=login25 SSH_CLIENT=128.55.210.213 49410 22 __LMOD_REF_COUNT_PE_GNU_FIXED_PKGCONFIG_PATH=/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1/lib/pkgconfig:1 LMOD_VERSION=8.3.1 CUDA_HOME=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7 XNLSPATH=/usr/X11R6/lib/X11/nls NERSC_FAMILY_MPI=cray-mpich PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90 CPATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include LMOD_FAMILY_HARDWARE_VERSION=1.0 PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci XDG_SESSION_TYPE=tty __LMOD_REF_COUNT_INFOPATH=/opt/cray/pe/gcc/11.2.0/snos/share/info:1 SDK_HOME=/usr/lib64/jvm/java CRAY_LMOD_CPU=x86-milan/1.0 PE_MPICH_GTL_LIBS_nvidia80=-lmpi_gtl_cuda PE_LIBSCI_OMP_REQUIRES_openmp=_mp LMOD_FAMILY_CRAYPE_CPU_VERSION=false GCC_PATH=/opt/cray/pe/gcc/11.2.0 CRAY_CUDATOOLKIT_DIR=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7 DDT_NO_TIMEOUT=1 BASH_ENV=/usr/share/lmod/lmod/init/bash XDG_DATA_DIRS=/usr/share __LMOD_REF_COUNT_PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 ALLINEA_TOOLS_DIR=/global/common/software/nersc/shasta2105//arm-forge CRAY_LMOD_NET=ofi/1.0 SVN_EDITOR=vim __LMOD_REF_COUNT_PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:1;PE_MPICH:1;PE_DSMML:1;PE_XPMEM:1 PE_MPICH_MODULE_NAME=cray-mpich _CE_CONDA= CRAY_LIBSCI_DIR=/opt/cray/pe/libsci/21.08.1.2 LIBGL_DEBUG=quiet DDT_LINK_DMALLOC=-L/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/lib/64 -ldmalloc LMOD_FAMILY_CRAYPE_ACCEL_VERSION=false PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig JDK_HOME=/usr/lib64/jvm/java __LMOD_REF_COUNT_PE_MPICH_FIXED_PRGENV=GNU:1 LIBSCI_VERSION=21.08.1.2 PROFILEREAD=true TMPDIR=/tmp PERFTOOLS_VERSION=22.06.0 __LMOD_REF_COUNT_CMAKE_PREFIX_PATH=/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0:1;/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1:1;/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1:1 LMOD_sys=Linux _ModuleTable010_=PSJhY3RpdmUiLFsidXNlck5hbWUiXT0iZGFyc2hhbiIsfSxnY2M9e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9nY2MvMTEuMi4wLmx1YSIsWyJmdWxsTmFtZSJdPSJnY2MvMTEuMi4wIixbImxvYWRPcmRlciJdPTYscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iZ2NjIix9LGdwdT17WyJmbiJdPSIvZ2xvYmFsL2NvbW1vbi9zb2Z0d2FyZS9uZXJzYy9wbS0yMDIyLjA4LjQvZXh0cmFfbW9kdWxlZmlsZXMvZ3B1LzEuMC5sdWEiLFsiZnVsbE5hbWUiXT0iZ3B1LzEuMCIsWyJsb2FkT3JkZXIiXT0xMyxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1 PE_PKGCONFIG_LIBS=libsci_mpi:libsci:mpich:dsmml:cudatoolkit_11.7:darshan-runtime CRAY_ACCEL_TARGET= CMAKE_DIR=/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0 _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXtbIlByZ0VudiJdPSJQcmdFbnYtZ251IixbImNvbXBpbGVyIl09ImdjYyIsWyJjcmF5cGUiXT0iY3JheXBlIixbImNyYXlwZV9hY2NlbCJdPSJjcmF5cGUtYWNjZWwtbnZpZGlhODAiLFsiY3JheXBlX2NwdSJdPSJjcmF5cGUteDg2LW1pbGFuIixbImNyYXlwZV9uZXR3b3JrIl09ImNyYXlwZS1uZXR3b3JrLW9maSIsWyJjdWRhdG9vbGtpdCJdPSJjdWRhdG9vbGtpdCIsWyJoYXJkd2FyZSJdPSJncHUiLFsibXBpIl09ImNyYXktbXBpY2giLH0sbVQ9e1siTnNpZ2h0LUNvbXB1dGUiXT17WyJmbiJdPSIvZ2xvYmFs PROJ_NETWORK=ON LMOD_FAMILY_HARDWARE=gpu LOADEDMODULES=craype-x86-milan:libfabric/1.15.0.0:craype-network-ofi:perftools-base/22.06.0:xpmem/2.4.4-2.3_13.8__gff0e1d9.shasta:gcc/11.2.0:xalt/2.10.2:darshan/3.4.0:Nsight-Compute/2022.1.1:Nsight-Systems/2022.2.1:cudatoolkit/11.7:craype-accel-nvidia80:gpu/1.0:cmake/3.22.0:craype/2.7.16:cray-dsmml/0.2.2:cray-mpich/8.1.17:cray-libsci/21.08.1.2:PrgEnv-gnu/8.3.3:arm-forge/22.0.4-linux-x86_64 LMOD_AVAIL_STYLE=grouped:system CRAY_CUDATOOLKIT_INCLUDE_OPTS=-I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/nvvm/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/Debugger/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/extras/CUPTI/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include CRAYPE_NETWORK_TARGET=ofi GIT_PS1_SHOWUPSTREAM=auto __LMOD_REF_COUNT_ACLOCAL_PATH=/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/share/aclocal:1 _ModuleTable006_=XT0iY3JheS1saWJzY2kiLH0sWyJjcmF5LW1waWNoIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29tbmV0L2dudS84LjAvb2ZpLzEuMC9jcmF5LW1waWNoLzguMS4xNy5sdWEiLFsiZnVsbE5hbWUiXT0iY3JheS1tcGljaC84LjEuMTciLFsibG9hZE9yZGVyIl09MTcscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheS1tcGljaCIsfSxjcmF5cGU9e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9jcmF5cGUvMi43LjE2Lmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5cGUvMi43LjE2IixbImxvYWRPcmRlciJdPTE1LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEs __LMOD_REF_COUNT_MANPATH=/opt/cray/pe/libsci/21.08.1.2/man:1;/opt/cray/pe/man/csmlversion:1;/opt/cray/pe/mpich/8.1.17/ofi/man:1;/opt/cray/pe/mpich/8.1.17/man/mpich:1;/opt/cray/pe/dsmml/0.2.2/dsmml/man:1;/opt/cray/pe/craype/2.7.16/man:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/doc/man:1;/opt/cray/pe/gcc/11.2.0/snos/share/man:1;/opt/cray/pe/perftools/22.06.0/man:1;/opt/cray/pe/papi/6.0.0.15/share/pdoc/man:1;/opt/cray/libfabric/1.15.0.0/share/man:1;/usr/share/lmod/lmod/share/man:1;/usr/local/man:1;/usr/share/man:1;/usr/man:1 CFS=/global/cfs/cdirs SCRATCH=/pscratch/sd/m/madams _ModuleTable003_=Il09MTAscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MixbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iTnNpZ2h0LVN5c3RlbXMiLH0sWyJQcmdFbnYtZ251Il09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9QcmdFbnYtZ251LzguMy4zLmx1YSIsWyJmdWxsTmFtZSJdPSJQcmdFbnYtZ251LzguMy4zIixbImxvYWRPcmRlciJdPTE5LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09IlByZ0Vudi1nbnUiLH0sWyJhcm0tZm9yZ2UiXT17WyJmbiJdPSIvZ2xvYmFsL2NvbW1vbi9zb2Z0d2FyZS9uZXJzYy9wbS0yMDIyLjA4LjQvZXh0cmFfbW9kdWxlZmlsZXMvYXJtLWZvcmdlLzIy LMOD_ROOT=/usr/share/lmod CONDA_PROMPT_MODIFIER=(base) SSH_TTY=/dev/pts/1 PAT_RT_PERFCTR_DISABLE_COMPONENTS=cray_cassini,nvml,cuda PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig FROM_HEADER= CRAY_MPICH_ROOTDIR=/opt/cray/pe/mpich/8.1.17 _ModuleTable013_=ZGVyIl09NSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJ4cG1lbSIsfSx9LG1wYXRoQT17Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL21waS9nbnUvOC4wL29maS8xLjAvY3JheS1tcGljaC84LjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb21uZXQvZ251LzguMC9vZmkvMS4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbWl4X2NvbXBpbGVycyIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvbXBpbGVyL2dudS84LjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9wZXJmdG9vbHMvMjIuMDYuMCIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVz MAIL=/var/spool/mail/madams NERSC_FAMILY_MPI_VERSION=8.1.17 EBVERSIONNSIGHTMINCOMPUTE=2022.1.1 _ModuleTable016_=YXkvbW9kdWxlZmlsZXMiLH0= LESSKEY=/etc/lesskey.bin _ModuleTable009_=Iix9LGN1ZGF0b29sa2l0PXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3VkYXRvb2xraXQvMTEuNy5sdWEiLFsiZnVsbE5hbWUiXT0iY3VkYXRvb2xraXQvMTEuNyIsWyJsb2FkT3JkZXIiXT0xMSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0xLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjdWRhdG9vbGtpdCIsfSxkYXJzaGFuPXtbImZuIl09Ii9nbG9iYWwvY29tbW9uL3NvZnR3YXJlL25lcnNjL3BtLTIwMjIuMDguNC9leHRyYV9tb2R1bGVmaWxlcy9kYXJzaGFuLzMuNC4wLmx1YSIsWyJmdWxsTmFtZSJdPSJkYXJzaGFuLzMuNC4wIixbImxvYWRPcmRlciJdPTgscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MCxbInN0YXR1cyJd TERM=xterm-256color SHELL=/bin/bash CRAY_MPICH_VER=8.1.17 XDG_SESSION_CLASS=user PE_MPICH_FIXED_PRGENV=GNU LMOD_SITE_NAME=NERSC LMOD_FAMILY_PRGENV=PrgEnv-gnu _ModuleTable_Sz_=16 CRAY_LIBSCI_VERSION=21.08.1.2 __LMOD_REF_COUNT_CPATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include:1;/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include:1 PE_LIBSCI_GENCOMPS_NVIDIA_x86_64=207 LMOD_FAMILY_COMPILER=gcc CRAY_DSMML_BASEDIR=/opt/cray/pe/dsmml/0.2.2 CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/2.4.4-2.3_13.8__gff0e1d9.shasta/lib64 PERL5LIB=/global/common/software/nersc/pm-2022q3/sw/darshan/perl-packages/perl-Pod-LaTeX/lib IPM_REPORT=full CRAY_CUDATOOLKIT_PREFIX=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7 ALLINEA_MPIRUN=/usr/bin/srun PE_MPICH_GENCOMPILERS_GNU=9.1 LMOD_FAMILY_CUDATOOLKIT_VERSION=11.7 LMOD_FAMILY_CUDATOOLKIT=cudatoolkit PE_LIBSCI_GENCOMPS_AOCC_x86_64=20 CUDATOOLKIT_HOME=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7 SHLVL=1 KMP_AFFINITY=balanced G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/pe/libsci/21.08.1.2/GNU/9.1/x86_64 ACLOCAL_PATH=/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/share/aclocal ALLINEA_TOOLS_VERSION=22.0.4-linux-x86_64 NCCL_NET_GDR_LEVEL=PHB CRAY_CUDATOOLKIT_VERSION=22.5_11.7 MANPATH=/opt/cray/pe/libsci/21.08.1.2/man:/opt/cray/pe/man/csmlversion:/opt/cray/pe/mpich/8.1.17/ofi/man:/opt/cray/pe/mpich/8.1.17/man/mpich:/opt/cray/pe/dsmml/0.2.2/dsmml/man:/opt/cray/pe/craype/2.7.16/man:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/doc/man:/opt/cray/pe/gcc/11.2.0/snos/share/man:/opt/cray/pe/perftools/22.06.0/man:/opt/cray/pe/papi/6.0.0.15/share/pdoc/man:/opt/cray/libfabric/1.15.0.0/share/man:/usr/share/lmod/lmod/share/man:/usr/local/man:/usr/share/man:/usr/man NERSC_FAMILY_CRAYPE_VERSION=2.7.16 CRAY_DSMML_VERSION=0.2.2 MPICH_DIR=/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1 MODULEPATH=/opt/cray/pe/lmod/modulefiles/mpi/gnu/8.0/ofi/1.0/cray-mpich/8.0:/opt/cray/pe/lmod/modulefiles/comnet/gnu/8.0/ofi/1.0:/opt/cray/pe/lmod/modulefiles/mix_compilers:/opt/cray/pe/lmod/modulefiles/compiler/gnu/8.0:/opt/cray/pe/lmod/modulefiles/perftools/22.06.0:/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:/opt/cray/pe/lmod/modulefiles/cpu/x86-milan/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:/global/common/software/nersc/pm-2022.08.4/modulefiles:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles:/opt/cray/modulefiles PE_LIBSCI_GENCOMPILERS_AOCC_x86_64=2.0 CRAY_MPICH_DIR=/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1 __LMOD_REF_COUNT_PERL5LIB=/global/common/software/nersc/pm-2022q3/sw/darshan/perl-packages/perl-Pod-LaTeX/lib:1 ALLINEA_TOOLS_DOCDIR=/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/doc LMOD_FAMILY_CRAYPE=craype LOGNAME=madams DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/13302/bus CRAY_MPICH_VERSION=8.1.17 PETSC_OPTIONS=-use_gpu_aware_mpi 0 XDG_RUNTIME_DIR=/run/user/13302 MODULEPATH_ROOT=/usr/share/modulefiles LMOD_PACKAGE_PATH=/global/common/software/nersc/perlmutter/pm-2022.08.4/lmod-configuration/sitepackages PSCRATCH=/pscratch/sd/m/madams PE_MPICH_GTL_LIBS_amd_gfx906=-lmpi_gtl_hsa PE_DSMML_PKGCONFIG_LIBS=dsmml JRE_HOME=/usr/lib64/jvm/java 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=/global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin:/global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin:/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin:/opt/cray/pe/mpich/8.1.17/bin:/opt/cray/pe/craype/2.7.16/bin:/global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin:/global/common/software/nersc/bin:/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1:/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin:/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin:/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin:/opt/cray/pe/gcc/11.2.0/bin:/opt/cray/pe/perftools/22.06.0/bin:/opt/cray/pe/papi/6.0.0.15/bin:/opt/cray/libfabric/1.15.0.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/cray/pe/bin PE_MPICH_GTL_LIBS_amd_gfx908=-lmpi_gtl_hsa _ModuleTable014_=L25ldC9vZmkvMS4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3B1L3g4Ni1taWxhbi8xLjAiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcmF5cGUtdGFyZ2V0cy9kZWZhdWx0IiwiL2dsb2JhbC9jb21tb24vc29mdHdhcmUvbmVyc2MvcG0tMjAyMi4wOC40L21vZHVsZWZpbGVzIiwiL2dsb2JhbC9jb21tb24vc29mdHdhcmUvbmVyc2MvcG0tMjAyMi4wOC40L2V4dHJhX21vZHVsZWZpbGVzIiwiL29wdC9j JAVA_BINDIR=/usr/lib64/jvm/java/bin __LMOD_REF_COUNT_PE_PRODUCT_LIST=CRAY_LIBSCI:1;CRAYPE:1;PERFTOOLS:1;CRAYPAT:1;CRAY_HPC_SDK:1;CRAY_ACCEL:1 _LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-milan.lua:/opt/cray/modulefiles/libfabric/1.15.0.0:/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:/opt/cray/pe/lmod/modulefiles/core/perftools-base/22.06.0.lua:/opt/cray/modulefiles/xpmem/2.4.4-2.3_13.8__gff0e1d9.shasta:/opt/cray/pe/lmod/modulefiles/core/gcc/11.2.0.lua:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/xalt/2.10.2:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/darshan/3.4.0.lua:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/Nsight-Compute/2022.1.1.lua:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/Nsight-Systems/2022.2.1.lua:/opt/cray/pe/lmod/modulefiles/core/cudatoolkit/11.7.lua:/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-accel-nvidia80.lua:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/gpu/1.0.lua:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/cmake/3.22.0.lua:/opt/cray/pe/lmod/modulefiles/core/craype/2.7.16.lua:/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:/opt/cray/pe/lmod/modulefiles/comnet/gnu/8.0/ofi/1.0/cray-mpich/8.1.17.lua:/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:/opt/cray/pe/lmod/modulefiles/core/PrgEnv-gnu/8.3.3.lua:/global/common/software/nersc/pm-2022.08.4/extra_modulefiles/arm-forge/22.0.4-linux-x86_64.lua PS1=(base) \A\[\033[;1m\]\[\033[35m\]$(ret=$?; [ $ret -ne 0 ] && echo -n " $ret")\[\033[;0m\] \[\033[31m\]\h \[\033[36m\]$(__git_ps1 '%s') \[\033[33m\]$NERSC_HOST:\[\033[32m\]\w\[\033[0m\]\$ NERSC_FAMILY_PRGENV_VERSION=8.3.3 MODULESHOME=/usr/share/lmod/lmod CONDA_DEFAULT_ENV=base PKG_CONFIG_PATH=/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:/opt/cray/pe/craype/2.7.16/pkg-config:/opt/modulefiles/cudatoolkit:/global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/lib/pkgconfig:/opt/cray/libfabric/1.15.0.0/lib64/pkgconfig LMOD_SETTARG_FULL_SUPPORT=no LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 INFOPATH=/opt/cray/pe/gcc/11.2.0/snos/share/info EBROOTNSIGHTMINSYSTEMS=/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1 LMOD_CACHED_LOADS=no PETSC_DIR=/global/homes/m/madams/petsc G_BROKEN_FILENAMES=1 _ModuleTable011_=c2VyTmFtZSJdPSJncHUiLH0sbGliZmFicmljPXtbImZuIl09Ii9vcHQvY3JheS9tb2R1bGVmaWxlcy9saWJmYWJyaWMvMS4xNS4wLjAiLFsiZnVsbE5hbWUiXT0ibGliZmFicmljLzEuMTUuMC4wIixbImxvYWRPcmRlciJdPTIscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0ibGliZmFicmljIix9LFsicGVyZnRvb2xzLWJhc2UiXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL3BlcmZ0b29scy1iYXNlLzIyLjA2LjAubHVhIixbImZ1bGxOYW1lIl09InBlcmZ0b29scy1iYXNlLzIyLjA2LjAiLFsibG9hZE9yZGVyIl09NCxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09 PE_GNU_FIXED_PKGCONFIG_PATH=/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1/lib/pkgconfig PE_MPICH_GTL_LIBS_amd_gfx90a=-lmpi_gtl_hsa HISTSIZE=1000 CRAYPE_DIR=/opt/cray/pe/craype/2.7.16 LMOD_PKG=/usr/share/lmod/lmod __LMOD_REF_COUNT_PE_MPICH_PKGCONFIG_LIBS=mpich:1 OFFLOAD_INIT=on_start DDT_LINK_DMALLOCTHCXX=-L/global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/lib/64 -ldmallocthcxx __LMOD_REF_COUNT_PE_PKGCONFIG_LIBS=libsci_mpi:1;libsci:1;mpich:1;dsmml:1;cudatoolkit_11.7:1;darshan-runtime:1 CPU=x86_64 CRAYPE_VERSION=2.7.16 EBDEVELNSIGHTMINCOMPUTE=/global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/easybuild/Nsight-Compute-2022.1.1-easybuild-devel _ModuleTable005_=Zm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9jcmF5LWRzbW1sLzAuMi4yLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LWRzbW1sLzAuMi4yIixbImxvYWRPcmRlciJdPTE2LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTEsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktZHNtbWwiLH0sWyJjcmF5LWxpYnNjaSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvY3JheS1saWJzY2kvMjEuMDguMS4yLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LWxpYnNjaS8yMS4wOC4xLjIiLFsibG9hZE9yZGVyIl09MTgscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUi LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod CRAY_MPICH_PREFIX=/opt/cray/pe/mpich/8.1.17/ofi/gnu/9.1 LESSOPEN=lessopen.sh %s CRAYPAT_OPTS_EXECUTABLE=libexec64/opts CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/2.4.4-2.3_13.8__gff0e1d9.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-perlmutter-opt-gcc-kokkos-cuda.py Files in path provided by default path /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin: qmlmin iptest3 dask-mpi gss-client cs2cs matplotlib ristosds fc-scan jupyter-execute jupyter-kernel navigator-updater curl-config bzgrep jupyter-serverextension giftext lz4 pydoc geos-config mergesolv fitsheader h5import f2py gif2hdf ahost fc-validate glib-gettextize pycc pal2rgb sqlite3_analyzer gif2webp uic tificc lzma xzcmp tput jupyter-server zstdgrep gst-discoverer-1.0 ncinfo gsettings sip dwebp pip hdftopal mamba-package pydoc3 h5mkgrp gio xmlwf bsdtar ncgen tiffcmp icuinfo gencnval cph ipython xzgrep conda2solv pngfix qmlimportscanner h5redeploy idle3.9 qdoc qtplugininfo dumpsolv hdfed jupyter-nbconvert ziptool makeconv tiffmedian h5debug qhelpgenerator conda-inspect gobject-query conda-build volint toe xml2-config c_rehash protoc webpmux qcollectiongenerator nc-config fitsinfo conda-repo tic zstdless kvno lzcat gdbus-codegen conda-env gst-inspect-1.0 dbus-send h5c++ x86_64-conda_cos7-linux-gnu-ld h5repack wish curve_keygen tiffset xzmore xz pyjson5 unlzma ttx unzstd djpeg glib-mkenums designer qdbus bokeh dbus-uuidgen infocmp icu-config jpegtran tiff2pdf jupyter-bundlerextension gst-typefind-1.0 h5cc genbrk klist samp_hub jpeg2hdf h5stat bzfgrep fc-cat h5ls qdbusviewer patchelf lzegrep jupyter-labextension tiff2rgba pcretest h5copy bzdiff mamba lzcmp adig glib-genmarshal pygmentize fixqt4headers.pl gifbuild lzmainfo bzless assistant qmllint iconv bzip2recover qmlprofiler dask-scheduler lz4c bsdcat python imageio_remove_bin dbus-monitor tabulate r8tohdf conda-convert gif2h5 xmllint bsdcpio bzcat conda-content-trust rcc curl cwebp h5unjam h4redeploy tqdm tiff2ps dbus-launch gtester anaconda dask-ssh hdf24to8 fc-pattern projsync qgltf pg_config k5srvutil hdfcomp 2to3-3.9 anaconda-navigator python3-config pkgdata dbus-test-tool hrepack fax2ps vshow freetype-config jupyter-migrate python3.9-config infotocap tclsh8.6 pixeltool reset x86_64-conda-linux-gnu-ld compile_et normalizer xzegrep img2webp libpng16-config qmlplugindump xmlpatternsvalidator qwebengine_convert_dict hdftor8 tset gendict gapplication jupyter-kernelspec pasteurize qdbusxml2cpp .scikit-learn-post-link.sh pydoc3.9 projinfo kdestroy dbus-run-session funpack gresource bzip2 fonttools zstd zstdmt h5clear h5diff deactivate gdbus python3.9 jpgicc qdbuscpp2xml gst-device-monitor-1.0 openssl rg jlpm nghttp bzcmp unlz4 zipmerge fc-cache bunzip2 xmlpatterns gencfu vmake conda-skeleton genrb futurize hdf8to24 fc-conflist lzgrep wish8.6 conda-token qtpaths sclient rdjpgcom hdfls tiffinfo cygdb sim_client qlalr jupyter-troubleshoot h4cc wheel jupyter-nbextension tabs hdf2jpeg linkicc glib-compile-schemas fc-query ncdump invproj conda-metapackage h52gif f2py3 skivi acountry png-fix-itxt fitscopy jupyter-nbclassic chardetect nccopy glib-compile-resources tiffdump bzmore qml gtester-report wsdump.py lzless h5watch xmlcatalog gif2rgb pyftsubset idle3 dbus-daemon jupyter-labhub nc3tonc4 tiffcp jupyter hdfimport brotli qt.conf showtable gst-stats-1.0 psicc iptest zstdcat ktutil kinit dbus-cleanup-sockets nghttpx conda-server canbusutil qmlcachegen lzfgrep cct python3 lzmore numba qtattributionsscanner conda-develop pyuic5 lrelease lzmadec qscxmlc h5fc xzless jsonschema lz4cat hdf2gif wrjpgcom hdp tiffsplit pyrcc5 kswitch h5jam ipython3 conda-verify qmake nc4tonc3 moc geod gifclrmp qtdiag gst-play-1.0 krb5-config send2trash h2load ppm2tiff cython jupyter-notebook uuclient gie installcheck pcre-config h5repart testsolv fax2tiff xzdiff h4_ncdump repo2solv fitscheck clear giffix gst-launch-1.0 repc transicc cjpeg h5dump kpasswd fpack xzcat nghttpd giftool lconvert activate h5perf_serial sqlite3 h5format_convert ksu captoinfo webpinfo lupdate hdfpack lzdiff dbus-update-activation-environment conda-debug conda-render syncqt.pl pybabel bzegrep paltohdf fc-list jupyter-dejavu xzfgrep tiffdither derb cythonize imcopy proj tiffcrop qhelpconverter zipcmp pkginfo raw2tiff fits2bitmap qmltestrunner f2py3.9 jupyter-trust kadmin xzdec qmlscene h4_ncgen imageio_download_bin binstar jupyter-lab conda-index conda wcslint libpng-config tclsh pylupdate5 linguist unxz pyftmerge pcregrep ncursesw6-config qmleasing fitsdiff gio-querymodules 2to3 hdiff jupyter-run ncgen3 hdfunpac smem tiff2bw invgeod keyctl dask-worker pip3 fc-match /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin: mamba conda /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin: ddt-mpirun forge ddt perf-report forge-probe map forge-client allinea-client make-profiler-libraries forge-mpirun ddt-client /opt/cray/pe/mpich/8.1.17/bin: cray_mpiio_example_gnuplot.sh cray_mpiio_example_gnuplot_by_ranks.sh cray_mpiio_example_gnuplot_multiplot.sh cray_mpiio_example_gnuplot_summary.sh cray_mpiio_gen_data cray_mpiio_summary cray_spawn_server /opt/cray/pe/craype/2.7.16/bin: 2.25.0.craype.ld CC cc driver ftn /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin: ctest cpack cmake ccmake /global/common/software/nersc/bin: usgrsu myquota make-dir-group-writable stripe_large take showquota.py stripe_medium myquota_old fix_perms burp hpssquota auto-consult showquota sqs jobstats cmnquota prjquota give iris stripe_small hpss_get_sorted_files.py cfsquota generate_sorted_list_for_hpss.py spyomp /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1: bin host-linux-x64 target-linux-sbsa-armv8 easybuild documentation target-linux-x64 EULA.txt /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin: nsys-ui nsys /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1: nv-nsight-cu-cli docs ncu-ui host target extras nv-nsight-cu easybuild ncu sections EULA.txt /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin: __nvcc_device_query bin2c computeprof crt cu++filt cuda-gdb cuda-gdbserver cuda-memcheck cuda-uninstaller cudafe++ cuobjdump fatbinary nvcc nvcc.profile nvdisasm nvlink nvprof nvprune nvvp ptxas /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp: .eclipseproduct artifacts.xml configuration epl-v10.html features icon.xpm notice.html nvvp nvvp.ini p2 plugins readme /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute: EULA.txt docs extras host ncu ncu-ui nv-nsight-cu nv-nsight-cu-cli sections target /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin: nsys nsys-ui /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin: darshan-gen-fortran.pl darshan-summary-per-file.sh darshan-gen-cc.pl darshan-config darshan-mk-log-dirs.pl darshan-parser darshan-job-summary.pl darshan-gen-cxx.pl darshan-merge darshan-analyzer dxt_analyzer.py darshan-convert darshan-diff darshan-dxt-parser /opt/cray/pe/gcc/11.2.0/bin: c++ cpp g++ gcc gccbug gcov gfortran redirect /opt/cray/pe/perftools/22.06.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.15/bin: papi_avail papi_clockres papi_command_line papi_component_avail papi_cost papi_decode papi_error_codes papi_event_chooser papi_hardware_avail papi_mem_info papi_multiplex_cost papi_native_avail papi_sampling_cuda papi_version papi_xml_event_info /opt/cray/libfabric/1.15.0.0/bin: fi_info fi_pingpong fi_strerror /usr/local/bin: /usr/bin: .fipscheck.hmac .hsi-5.0.2.p12.exe .htar-5.0.2.p12.exe DcgmProfTesterKernels.ptx Mail WebKitWebDriver X Xorg Xvfb [ aclocal aclocal-1.15 acpi_listen acpi_validate acpibin acpiexamples acpiexec acpihelp acpinames acpisrc acpixtract addr2line animate ansible ansible-config ansible-connection ansible-console ansible-doc ansible-galaxy ansible-inventory ansible-playbook ansible-pull ansible-vault appdata2solv apropos ar arch arpaname as asn1Coding asn1Decoding asn1Parser aspell aspell-import at atq atrm attr authvar autoconf autoheader autom4te automake automake-1.15 autopoint autoreconf autoscan autoupdate awk b2sum babeltrace babeltrace-log base32 base64 basename basenc bash bashbug batch bc bison bootctl broadwayd build-classpath build-classpath-directory build-jar-repository bunzip2 busctl bwrap bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore bznew c++ c++filt c_rehash cal callgrind_annotate callgrind_control capinfos captoinfo captype cat catatonit catchsegv catman cc ccmake certutil cfs-state-reporter-spire-agent cg_annotate cg_diff cg_merge chacl chage chardetect chardetect-2.7 chardetect-3.6 chattr chcon check-binary-files checkmedia chfn chgrp chkconfig chkstat chmem chmod choom chown chronic chronyc chroot chrt chsh chvt ckdump-spire-agent cksum clean-binary-files clear clrunimap clusterdb cmake cmp cmsutil col colcrt colrm column combine comm compare composite comps2solv conjure conmon convert corelist cowsay cowthink cp cpack cpan cpio cpp cpp-7 cpupcstat cpupower cray cray-ifmap cray-ifmove cray-ifname cray-ifroute cray-ifscan create-jar-links createdb createuser crlutil csh csplit ctags ctest cups-config curl curl-config curve_keygen cut cvmfs2 cvmfs_config cvmfs_fsck cvmfs_talk cvt cvtsudoers cxi_atomic_bw cxi_atomic_lat cxi_gpu_loopback_bw cxi_heatsink_check cxi_read_bw cxi_read_lat cxi_rh cxi_send_bw cxi_send_lat cxi_service cxi_stat cxi_write_bw cxi_write_lat cyrus_sasl_sample_client cyrus_sasl_sample_server date dbilogstrip dbiprof dbiproxy dbus-cleanup-sockets dbus-daemon dbus-launch dbus-launch.nox11 dbus-monitor dbus-run-session dbus-send dbus-test-tool dbus-update-activation-environment dbus-uuidgen dc dcgmi dcgmproftester10 dcgmproftester11 dd deallocvt deltainfoxml2solv delv df diff diff-jars diff3 dig dir dircolors dirname display dltest dmesg dnsdomainname docker-init domainname dracut dropdb dropuser dshbak du dumpcap dumpkeys dumpsolv dvs-hmi-spire-agent dvs-map-spire-agent dwp dwz easy_install easy_install-2.7 easy_install-3.6 ebrowse echo edit editcap efikeygen efisiglist egrep eject elfedit emacs emacs-gtk emacs-x11 emacsclient embedspu enc2xs encguess env envsubst eqn erb erb.ruby2.5 errno etags eu-addr2line eu-ar eu-elfcmp eu-elfcompress eu-elflint eu-findtextrel eu-make-debug-archive eu-nm eu-objdump eu-ranlib eu-readelf eu-size eu-stack eu-strings eu-strip eu-unstrip event_rpcgen.py ex expand expiry expr extlinux f2py f2py-3.6 f2py3 f2py3.6 factor fallocate false fasthash fc-cache fc-cat fc-list fc-match fc-pattern fc-query fc-scan fc-validate fdupes fgconsole fgrep file filesize fillup fincore find find-jar findmnt fips_standalone_hmac fipscheck fipshmac firewall-cmd firewall-offline-cmd flex flex++ flock fluent-binlog-reader fluent-binlog-reader-1.5.2 fluent-binlog-reader.ruby2.5 fluent-binlog-reader.ruby2.5-1.5.2 fluent-ca-generate fluent-ca-generate-1.5.2 fluent-ca-generate.ruby2.5 fluent-ca-generate.ruby2.5-1.5.2 fluent-cat fluent-cat-1.5.2 fluent-cat.ruby2.5 fluent-cat.ruby2.5-1.5.2 fluent-debug fluent-debug-1.5.2 fluent-debug.ruby2.5 fluent-debug.ruby2.5-1.5.2 fluent-gem fluent-gem-1.5.2 fluent-gem.ruby2.5 fluent-gem.ruby2.5-1.5.2 fluent-plugin-config-format fluent-plugin-config-format-1.5.2 fluent-plugin-config-format.ruby2.5 fluent-plugin-config-format.ruby2.5-1.5.2 fluent-plugin-generate fluent-plugin-generate-1.5.2 fluent-plugin-generate.ruby2.5 fluent-plugin-generate.ruby2.5-1.5.2 fluentd fluentd-1.5.2 fluentd.ruby2.5 fluentd.ruby2.5-1.5.2 fmt fold free freetype-config fsfs-access-map funzip funzip-plain fuse-overlayfs fuser fusermount fusermount3 g++ g++-7 g13 g2r gapplication gawk gcc gcc-7 gcc-ar gcc-ar-7 gcc-nm gcc-nm-7 gcc-ranlib gcc-ranlib-7 gconf-merge-tree gconftool-2 gconftool-rebuild gcore gcov gcov-7 gcov-dump gcov-dump-7 gcov-tool gcov-tool-7 gdb gdb-add-index gdbus gdbus-codegen gdk-pixbuf-csource gdk-pixbuf-pixdata gdk-pixbuf-query-loaders-64 gedit gem gem.ruby2.5 gem2rpm gem2rpm-0.10.1 gem2rpm.ruby2.5 gem2rpm.ruby2.5-0.10.1 genDDNSkey gencat gendiff genhash geqn get_kernel_version getconf getent getfacl getfattr gethostip getkeycodes getopt gettext gettext.sh gettextize getunimap gfortran gfortran-7 gio gio-launch-desktop gio-querymodules-64 git git-lfs git-new-workdir git-receive-pack git-shell git-upload-archive git-upload-pack glib-compile-resources glib-compile-schemas glib-genmarshal glib-gettextize glib-mkenums gmake gnuctags gnuplot go gobject-query gofmt goss gpasswd gpg gpg-agent gpg-connect-agent gpg-wks-server gpg-zip gpg2 gpgconf gpgparsemail gpgscm gpgsm gpgsplit gpgtar gpgv gpgv2 gprof grep gresource groff grog grops grotty groups grub2-editenv grub2-emu grub2-file grub2-fstest grub2-glue-efi grub2-kbdcomp grub2-menulst2cfg grub2-mkfont grub2-mkimage grub2-mklayout grub2-mknetdir grub2-mkpasswd-pbkdf2 grub2-mkrelpath grub2-mkrescue grub2-mkstandalone grub2-mount grub2-render-label grub2-script-check grub2-syslinux2cfg gsettings gsettings-data-convert gst-device-monitor-1.0 gst-discoverer-1.0 gst-play-1.0 gstack gtbl gtester gtester-report gtf gtk-builder-convert gtk-builder-tool gtk-demo gtk-encode-symbolic-svg gtk-launch gtk-query-immodules-2.0-64 gtk-query-immodules-3.0-64 gtk-query-settings gtk-update-icon-cache gtk-update-icon-cache-2.0 gtk-update-icon-cache-3.0 gtk3-icon-browser guess_encoding gunzip gvimtutor gzexe gzip h2ph h2xs hardlink head heartbeat-spire-agent hexdump host hostid hostname hostnamectl hpss_avail.py hsi htar hugeadm hugectl hugeedit hwloc-annotate hwloc-bind hwloc-calc hwloc-compress-dir hwloc-diff hwloc-distrib hwloc-gather-cpuid hwloc-gather-topology hwloc-info hwloc-ls hwloc-patch hwloc-ps i386 iasl iconv icu-config id identify idl2wrs ifdata ifnames ifne import info infocmp infotocap inotifywait inotifywatch install install-info installation_sources installcheck instmodsh intel-speed-select iokit-config iokit-gather-stats iokit-libecho iokit-lstats iokit-parse-ior iokit-plot-obdfilter iokit-plot-ost iokit-plot-sgpdd ionice ior-survey ipcalc ipcmk ipcrm ipcs iperf3 iptables-xml irb irb.ruby2.5 irqtop isohybrid isohybrid.pl isolinux-config isosize isql isutf8 itox iusql jar jarsigner java javac javadoc javap jcmd jconsole jdb jdeprscan jdeps jhsdb jimage jinfo jjs jlink jmap jmod join journalctl jp jp-3.6 jps jq jrunscript jshell json_pp jsonschema jsonschema-3.6 jstack jstat jstatd kbd kbd_mode kbdinfo kbdrate kbxutil kernel-install keyctl keytab-lilo keytool kill killall kinit klist kmod kmp-install ksh last lastb lastlog lckdo ld ld.bfd ldapadd ldapcompare ldapdelete ldapexop ldapmodify ldapmodrdn ldappasswd ldapsearch ldapurl ldapwhoami ldd less lessclose.sh lessecho lesskey lessopen.sh lex lexgrog lfs lfs_migrate libnetcfg libpng-config libpng16-config libtool libtoolize line link linux32 linux64 lksh llobdstat llstat ln lnstat loadkeys loadunimap locale localectl localedef logger loginctl logname lognormalizer look ls lsattr lsb-release lsb_release lsblk lscpu lsinitrd lsipc lsirq lslocks lslogins lsmem lsmod lsns lsof lss16toppm lstopo lstopo-no-graphics lua lua5.3 luac luac5.3 luacheck luacov lwp-download lwp-dump lwp-mirror lwp-request lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzma lzmadec lzmainfo lzmore m17n-db m4 magick magick-script mail mailq mailx make makedumpfile makedumpfile-R.pl man mandb manpath mapscrn mariadb mariadb-admin mariadb-check mariadb-dump mariadb-import mariadb-show mariadb_config mariadbd-safe-helper mcookie mcreate md5pass md5sum mdig mds-survey memdiskfind memhog merge-pciids mergecap mergesolv mesg migratepages migspeed mispipe mkdir mkdiskimage mkfifo mkhpsstok.pl mkinfodir mknod mksh mktemp mmdbresolve mmroff modsign-repackage modsign-verify modutil mogrify montage more mount mountpoint ms_print msgattrib msgcat msgcmp msgcomm msgconv msgen msgexec msgfilter msgfmt msggrep msginit msgmerge msgunfmt msguniq munge munlink mv mysql mysql_config mysqladmin mysqlcheck mysqld_safe_helper mysqldump mysqlimport mysqlshow namei ncurses6-config ncursesw6-config neqn netloc_draw_to_json netloc_ib_extract_dats netloc_ib_gather_raw newaliases newgidmap newgrp newuidmap ngettext nice nisdomainname nl nm node_exporter nohup nproc nroff nsenter nslookup nss-policy-check nstat nsupdate numactl numademo numastat numfmt nv-hostengine obdfilter-survey objcopy objdump od odbc_config odbcinst old omshell openssl openvt oprofile_map_events.pl oprofile_start.sh orca-spire-agent ost-survey outpsfheader p11-kit pack200 pagesize passwd paste patch pathchk pcre-config pdcp pdksh pdsh pee peekfd perf perl perl5.26.1 perlbug perldoc perlivp perlthanks pesigcheck pesign pesign-client pevent pg_basebackup pg_checksums pg_dump pg_dumpall pg_isready pg_receivewal pg_recvlogical pg_restore pg_rewind pgrep pic piconv pigz pinentry pinentry-curses pinentry-tty ping ping6 pinky pirb pirb-1.0.3 pirb.ruby2.5 pirb.ruby2.5-1.0.3 pk12util pkg-config pkill pl2pm plookup plot-llstat pmap pmix_info pod2html pod2man pod2text pod2usage podchecker podman podselect ppmtolss16 pps pr precat preconv preunzip prezip prezip-bin printenv printf prlimit prove prtstat pruby pruby-1.0.3 pruby.ruby2.5 pruby.ruby2.5-1.0.3 ps psfaddtable psfgettable psfstriptable psfxtable pslog psql pstree pstree.x11 ptar ptardiff ptargrep ptx purge pwd pwdx pxelinux-options pybabel pybabel-2.7 pybabel-3.6 pydoc pydoc3 pydoc3.6 pygmentize pygmentize-3.6 python python2 python2.7 python3 python3-config python3.6 python3.6-config python3.6m python3.6m-config pyvenv pyvenv-3.6 rake rake.ruby.ruby2.5 rake.ruby2.5 randpkt ranlib rawshark rbash rdoc rdoc.ruby.ruby2.5 rdoc.ruby2.5 readelf readlink realpath rebuild-jar-repository recode-sr-latin redis-benchmark redis-check-aof redis-check-rdb redis-cli reindexdb remunge rename renice reordercap repo2solv repo2solv.sh repomdxml2solv reset resizecons rev ri ri.ruby.ruby2.5 ri.ruby2.5 rm rmdir rmic rmid rmiregistry routef routel rpdcp rpm rpm2cpio rpmbuild rpmdb rpmdb2solv rpmgraph rpmkeys rpmlocate rpmmd2solv rpmqpack rpmquery rpms2solv rpmsign rpmspec rpmverify rst2html rst2html4 rst2html4-docutils rst2html5 rst2html5-docutils rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rsync rsyncstats ruby ruby-find-versioned ruby.ruby2.5 run-with-aspell runc runcon rview rvim s3 sacct sacctmgr safe-rm safe-rmdir salloc sattach sbatch sbcast scancel scdaemon scontrol scp screen screendump script scriptlive scriptreplay scrontab sdiag sdiff secure-forward-ca-generate secure-forward-ca-generate-0.4.5 secure-forward-ca-generate.ruby2.5 secure-forward-ca-generate.ruby2.5-0.4.5 sed seff seq serialver set_static_arp.sh setarch setfacl setfattr setfont setkeycodes setleds setlogcons setmetamode setpalette setpriv setsid setterm setvesablank setvtrgb sftp sg sgather sgpdd-survey sh sha1pass sha1sum sha224sum sha256sum sha384sum sha512sum shade-jar sharkd shasum shifter shifterimg showconsolefont showkey shred shuf signtool signver sinfo sipcalc size sjobexitmod sjstat skill slabtop sleep slencheck slingshot-diag slingshot-firmware slingshot-ifname slingshot-ifroute slingshot-snapshot slingshot-utils slirp4netns slptool smail smicache smidiff smidump smilint smiquery smistrip smixlate smtpd.py snice soelim sort spawn_console spawn_login sphinx-apidoc sphinx-apidoc-3.6 sphinx-autogen sphinx-autogen-3.6 sphinx-build sphinx-build-3.6 sphinx-quickstart sphinx-quickstart-3.6 spire-agent splain split sponge sprio sprof sqlite3_analyzer squashfuse squashfuse_ll squeue squidclient sreport srun ss ssh ssh-add ssh-agent ssh-copy-id ssh-keygen ssh-keyscan sshare ssltap sss_ssh_authorizedkeys sss_ssh_knownhostsproxy sstat startpar stat statx stdbuf stdlogctl strace strace-graph strace-log-merge stream strigger strings strip stty su sudo sudoedit sudoreplay sum susetags2solv sview svn svn-bench svn-populate-node-origins-index svn_apply_autoprops.py svnadmin svnauthz svnauthz-validate svnbench svndiff svndumpfilter svnfsfs svngrep svnlook svnmucc svnraisetreeconflict svnrdump svnserve svnsync svnversion sync syscfg syslinux syslinux-mtools syslinux2ansi systemctl systemd-analyze systemd-ask-password systemd-cat systemd-cgls systemd-cgtop systemd-delta systemd-detect-virt systemd-escape systemd-firstboot systemd-hwdb systemd-id128 systemd-inhibit systemd-machine-id-setup systemd-mount systemd-notify systemd-path systemd-run systemd-socket-activate systemd-stdio-bridge systemd-sysusers systemd-tmpfiles systemd-tty-ask-password-agent systemd-umount systool tabs tac tack tagmedia tail tar taskset tbl tclsh tclsh8.6 tcptraceroute tcsh tee telnet test testsolv tethereal text2pcap tic time timedatectl timeout tload tmux toe top touch tput tr trace tracepath tracepath6 tree trietool trietool-0.2 troff true truncate trust ts tset tshark tsort tty turbostat tzselect uai-ssh.sh udevadm ul ulockmgr_server umount uname uname26 uncompress unexpand unicode_start unicode_stop unidecode unidecode-3.6 uniq unlink unlzma unmunge unpack200 unpigz unshare unxz unzip unzip-plain unzipsfx unzipsfx-plain update-mime-database updateinfoxml2solv uptime users utmpdump uuidgen uuidparse vacuumdb valgrind valgrind-di-server valgrind-listener vdir vdpauinfo vgdb vi vidir view vim vim-nox11 vimdiff vimtutor vipe vitmp vlock vmstat w wall watch watchgnupg wc wdctl wget whatis whereis which who whoami wmidump wmixtract word-list-compress write x86_64 x86_64-suse-linux-gnu-pkg-config x86_energy_perf_policy xargs xauth xconv.pl xdg-dbus-proxy xf86debug xgettext xkbcomp xmlcatalog xmllint xorg-backtrace xsltproc xsubpp xxd xz xzcat xzcmp xzdec xzdiff xzegrep xzfgrep xzgrep xzless xzmore xznew yacc yes ypcat ypchfn ypchsh ypdomainname ypmatch yppasswd ypwhich yzpper zcat zcmp zdiff zegrep zfgrep zforce zgrep zip zipcloak zipdetails zipgrep zipgrep-plain zipinfo zipnote zipsplit zless zmore znew zrun zsh zypp-CheckAccessDeleted zypp-NameReqPrv zypper update_sshproxy_revocation_list.sh sanity nvidia-xconfig nvidia-smi nvidia-sleep.sh nvidia-settings nvidia-powerd nvidia-persistenced nvidia-modprobe nvidia-debugdump nvidia-cuda-mps-server nvidia-cuda-mps-control nvidia-bug-report.sh copylat copybw apiperf /bin: arch awk basename bash cat chgrp chmod chown chvt clrunimap cp cpio csh date dbus-cleanup-sockets dbus-daemon dbus-monitor dbus-send dbus-test-tool dbus-update-activation-environment dbus-uuidgen dd deallocvt df dmesg dnsdomainname domainname dumpkeys echo egrep ex false fgconsole fgrep fillup find findmnt fsync fuser gawk getkeycodes getunimap grep guess_encoding gunzip gzip hostname ip kbd_mode kbdinfo kbdrate keyctl kill ksh lksh ln loadkeys loadunimap logger login ls lsblk lsmod mail mapscrn md5sum mkdir mknod mksh mktemp more mount mv nisdomainname openvt outpsfheader pdksh pgrep pidof ping ping6 pkill ps psfaddtable psfgettable psfstriptable psfxtable pwd readlink resizecons rm rmdir rpm screendump sed setfont setkeycodes setleds setlogcons setmetamode setpalette setvesablank setvtrgb sh showconsolefont showkey sleep sort spawn_console spawn_login stat stty su sync systemctl tar tcsh touch tracepath tracepath6 true umount uname unicode_start unicode_stop usleep vi vim ypdomainname zcat zsh /usr/lib/mit/bin: gss-client k5srvutil kadmin kdestroy kinit klist kpasswd ksu kswitch ktutil kvno sclient sim_client uuclient /opt/cray/pe/bin: set_default set_default_master set-gcc-libs ============================================================================================= TESTING: configureExternalPackagesDir from config.framework(/global/u2/m/madams/petsc/config/BuildSystem/config/framework.py:1068) Set alternative directory external packages are built in serialEvaluation: initial cxxDialectRanges ('c++11', 'c++17') serialEvaluation: new cxxDialectRanges ('c++11', 'c++17') child config.utilities.macosFirewall took 0.000004 seconds ============================================================================================= TESTING: configureDebuggers from config.utilities.debuggers(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/debuggers.py:20) Find a default debugger and determine its arguments Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/gdb...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/gdb...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/gdb...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/gdb...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/gdb...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/gdb...not found Checking for program /global/common/software/nersc/bin/gdb...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/gdb...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/gdb...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/gdb...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/gdb...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/gdb...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/gdb...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/gdb...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/gdb...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/gdb...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/gdb...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/gdb...not found Checking for program /opt/cray/libfabric/1.15.0.0/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"" Defined make macro "DSYMUTIL" to "true" child config.utilities.debuggers took 0.006975 seconds ============================================================================================= TESTING: configureDirectories from PETSc.options.petscdir(/global/u2/m/madams/petsc/config/PETSc/options/petscdir.py:22) Checks PETSC_DIR and sets if not set PETSC_VERSION_RELEASE of 1 indicates the code is from a release branch or a branch created from a release branch. Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 18 #define PETSC_VERSION_SUBMINOR 1 #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 took 0.032310 seconds ============================================================================================= TESTING: getDatafilespath from PETSc.options.dataFilesPath(/global/u2/m/madams/petsc/config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be child PETSc.options.dataFilesPath took 0.000710 seconds ============================================================================================= TESTING: configureGit from config.sourceControl(/global/u2/m/madams/petsc/config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/git...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/git...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/git...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/git...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/git...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/git...not found Checking for program /global/common/software/nersc/bin/git...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/git...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/git...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/git...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/git...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/git...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/git...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/git...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/git...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/git...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/git...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/git...not found Checking for program /opt/cray/libfabric/1.15.0.0/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.35.3 ============================================================================================= TESTING: configureMercurial from config.sourceControl(/global/u2/m/madams/petsc/config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/hg...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/hg...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/hg...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/hg...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/hg...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/hg...not found Checking for program /global/common/software/nersc/bin/hg...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/hg...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/hg...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/hg...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/hg...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/hg...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/hg...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/hg...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/hg...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/hg...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/hg...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/hg...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /usr/lib/mit/bin/hg...not found Checking for program /opt/cray/pe/bin/hg...not found Checking for program /global/homes/m/madams/petsc/lib/petsc/bin/win32fe/hg...not found child config.sourceControl took 0.058098 seconds ============================================================================================= TESTING: configureInstallationMethod from PETSc.options.petscclone(/global/u2/m/madams/petsc/config/PETSc/options/petscclone.py:20) Determine if PETSc was obtained via git or a tarball lib/petsc/bin/maint exists. This appears to be a repository clone .git directory exists Executing: ['git', 'describe', '--match=v*'] stdout: v3.18.1-291-g89fba64eb45 Executing: ['git', 'log', '-1', '--pretty=format:%H'] stdout: 89fba64eb45f073aa933e9f2925d2b871a5df994 Executing: ['git', 'log', '-1', '--pretty=format:%ci'] stdout: 2022-11-15 14:31:39 +0000 Executing: ['git', 'rev-parse', '--abbrev-ref', 'HEAD'] stdout: main Defined "VERSION_GIT" to ""v3.18.1-291-g89fba64eb45"" Defined "VERSION_DATE_GIT" to ""2022-11-15 14:31:39 +0000"" Defined "VERSION_BRANCH_GIT" to ""main"" child PETSc.options.petscclone took 0.086290 seconds ============================================================================================= TESTING: setNativeArchitecture from PETSc.options.arch(/global/u2/m/madams/petsc/config/PETSc/options/arch.py:29) Forms the arch as GNU's configure would form it ============================================================================================= TESTING: configureArchitecture from PETSc.options.arch(/global/u2/m/madams/petsc/config/PETSc/options/arch.py:42) Checks if PETSC_ARCH is set and sets it if not set No previous hashfile found Setting hashfile: arch-perlmutter-opt-gcc-kokkos-cuda/lib/petsc/conf/configure-hash Deleting configure hash file: arch-perlmutter-opt-gcc-kokkos-cuda/lib/petsc/conf/configure-hash Unable to delete configure hash file: arch-perlmutter-opt-gcc-kokkos-cuda/lib/petsc/conf/configure-hash child PETSc.options.arch took 0.875034 seconds ============================================================================================= TESTING: setInstallDir from PETSc.options.installDir(/global/u2/m/madams/petsc/config/PETSc/options/installDir.py:31) Set installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Defined make macro "PREFIXDIR" to "/global/homes/m/madams/petsc/arch-perlmutter-opt-gcc-kokkos-cuda" ============================================================================================= TESTING: saveReconfigure from PETSc.options.installDir(/global/u2/m/madams/petsc/config/PETSc/options/installDir.py:76) Save the configure options in a script in PETSC_ARCH/lib/petsc/conf so the same configure may be easily re-run ============================================================================================= TESTING: cleanConfDir from PETSc.options.installDir(/global/u2/m/madams/petsc/config/PETSc/options/installDir.py:68) Remove all the files from configuration directory for this PETSC_ARCH, from --with-clean option ============================================================================================= TESTING: configureInstallDir from PETSc.options.installDir(/global/u2/m/madams/petsc/config/PETSc/options/installDir.py:52) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /global/homes/m/madams/petsc/arch-perlmutter-opt-gcc-kokkos-cuda/lib/petsc/conf ============================================================================================= TESTING: restoreReconfigure from PETSc.options.installDir(/global/u2/m/madams/petsc/config/PETSc/options/installDir.py:90) If --with-clean was requested but restoring the reconfigure file was requested then restore it child PETSc.options.installDir took 0.002919 seconds ============================================================================================= TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(/global/u2/m/madams/petsc/config/PETSc/options/externalpackagesdir.py:15) Set location where external packages will be downloaded to ============================================================================================= TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/global/u2/m/madams/petsc/config/PETSc/options/externalpackagesdir.py:23) Remove all downloaded external packages, from --with-clean child PETSc.options.externalpackagesdir took 0.000680 seconds ============================================================================================= TESTING: configureCLanguage from PETSc.options.languages(/global/u2/m/madams/petsc/config/PETSc/options/languages.py:28) 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 took 0.001154 seconds ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2655) Remove compilers from the shell environment so they do not interfere with testing ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2672) Set configure compilers from the environment, from -with-environment-variables ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2625) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2646) OpenMPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:723) Initialize the compiler and linker flags Initialized CFLAGS to -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES Initialized CFLAGS to -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES Initialized LDFLAGS to Initialized CUDAFLAGS to -g -Xcompiler -rdynamic Initialized CUDAFLAGS to -g -Xcompiler -rdynamic Initialized LDFLAGS to Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to Initialized SYCLFLAGS to Initialized SYCLFLAGS to Initialized LDFLAGS to Initialized CXXFLAGS to -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES 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 SYCLC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ============================================================================================= TESTING: checkCCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1341) Locate a functional C compiler Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/cc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/cc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/cc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/cc...found Defined make macro "CC" to "cc" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Testing executable /tmp/petsc-tbq3au3i/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.setCompilers/conftest Executing: cc --version stdout: gcc (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: cc -v | head -n 20 ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1383) Locate a functional C preprocessor Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/cc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/cc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/cc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.16/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-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1689) Locate a functional Cxx compiler Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/CC...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/CC...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/CC...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/CC...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/CC...found Defined make macro "CXX" to "CC" Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Testing executable /tmp/petsc-tbq3au3i/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.setCompilers/conftest Executing: CC --version stdout: g++ (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:747) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). Executing: CC --help | head -n 20 stdout: Usage: CC [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications, while still allowing users to use alternate versions by setting LD_LIBRARY_PATH. (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 dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. --craype-prepend-opt=[flag] Add 'flag' before all CrayPE generated flags. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using GCC or CCE. This enables a user to run such an application. without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE-Classic. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE-classic. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using CCE, AOCC, and GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Detected Cray PE wrapper compiler Executing: CC --version stdout: g++ (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GNU compiler ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:769) Determine the CXX dialect supported by the compiler (language) [and corresponding 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++11','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 Raises a config.base.ConfigureSetupError if: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannot all be compiled with the same flag - An unknown C++ dialect is provided The config.base.ConfigureSetupErrors are NOT meant to be caught, as they are fatal errors on part of the user Raises a RuntimeError (which may be caught) if: - The compiler does not support at minimum -std=c++11 checkCxxDialect: checking C++ dialect version for language "CXX" using compiler "CC" checkCxxDialect: PETSc believes compiler (CC) IS gnu-ish checkCxxDialect: PETSc believes that we have NOT processed CC before checkCxxDialect: configure option after sanitization: --with-cxx-dialect=AUTO checkCxxDialect: dialect AUTO has been NOT explicitly selected for CXX checkCxxDialect: Have potential flag pool: - -std=gnu++17 - -std=c++17 - -std=gnu++14 - -std=c++14 - -std=gnu++11 - -std=c++11 checkCxxDialect: checking CXX 17 for cxx with -std=gnu++17 Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -std=gnu++17 /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #include #include #include template void ignore(const T&) { } // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; 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++11 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; 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 -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++11', 'c++17') Defined "HAVE_CXX_DIALECT_CXX11" to "1" Defined "HAVE_CXX_DIALECT_CXX14" to "1" Defined "HAVE_CXX_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkCxxPreprocessor from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1725) Locate a functional Cxx preprocessor Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/CC...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/CC...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/CC...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/CC...not found Checking for program /opt/cray/pe/craype/2.7.16/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-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1419) Locate a functional CUDA compiler Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/nvcc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/nvcc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/nvcc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/nvcc...not found Checking for program /global/common/software/nersc/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/nvcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/nvcc...found Defined make macro "CUDAC" to "nvcc" Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_May__3_18:49:52_PDT_2022 Cuda compilation tools, release 11.7, V11.7.64 Build cuda_11.7.r11.7/compiler.31294372_0 ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:747) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). checkDeviceHostCompiler: checking CUDA accepts host compiler CC Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -Xcompiler -rdynamic -ccbin CC Added CUDA compiler flag -ccbin CC Executing: nvcc --help | head -n 20 stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, PTX assemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : PTX assemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.gpu/.ptx input files to device-only .cubin files. This Executing: nvcc --help stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, PTX assemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : PTX assemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.gpu/.ptx input files to device-only .cubin files. This step discards the host code for each .cu input file. --fatbin (-fatbin) Compile all .cu/.gpu/.ptx/.cubin input files to device-only .fatbin files. This step discards the host code for each .cu input file. --ptx (-ptx) Compile all .cu input files to device-only .ptx files. This step discards the host code for each of these input file. --optix-ir (-optix-ir) Compile CUDA source to OptiX IR (.optixir) output. The OptiX IR is only intended for consumption by OptiX through appropriate APIs. This feature is not supported with link-time-optimization (-dlto), the lto_NN -arch target, or with -gencode. --preprocess (-E) Preprocess all .c/.cc/.cpp/.cxx/.cu input files. --generate-dependencies (-M) Generate a dependency file that can be included in a make file for the .c/.cc/.cpp/.cxx/.cu input file. If -MF is specified, multiple source files are not supported, and the output is written to the specified file, otherwise it is written to stdout. --generate-nonsystem-dependencies (-MM) Same as --generate-dependencies but skip header files found in system directories (Linux only). --generate-dependencies-with-compile (-MD) Generate a dependency file and compile the input file. The dependency file can be included in a make file for the .c/.cc/.cpp/.cxx/.cu input file. This option cannot be specified together with -E. The dependency file name is computed as follows: - If -MF is specified, then the specified file is used as the dependency file name - If -o is specified, the dependency file name is computed from the specified file name by replacing the suffix with '.d'. - Otherwise, the dependency file name is computed by replacing the input file names's suffix with '.d' If the dependency file name is computed based on either -MF or -o, then multiple input files are not supported. --generate-nonsystem-dependencies-with-compile (-MMD) Same as --generate-dependencies-with-compile, but skip header files found in system directories (Linux only). --dependency-output (-MF) Specify the output file for the dependency file generated with -M/-MM/-MD/-MMD. --generate-dependency-targets (-MP) Add an empty target for each dependency. --compile (-c) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file. --device-c (-dc) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains relocatable device code. It is equivalent to '--relocatable-device-code=true --compile'. --device-w (-dw) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains executable device code. It is equivalent to '--relocatable-device-code=false --compile'. --device-link (-dlink) Link object files with relocatable device code and .ptx/.cubin/.fatbin files into an object file with executable device code, which can be passed to the host linker. --link (-link) This option specifies the default behavior: compile and link all inputs. --lib (-lib) Compile all inputs into object files (if necessary) and add the results to the specified output library file. --run (-run) This option compiles and links all inputs into an executable, and executes it. Or, when the input is a single executable, it is executed without any compilation or linking. This step is intended for developers who do not want to be bothered with setting the necessary environment variables; these are set temporarily by nvcc). File and path specifications. ============================= --output-file (-o) Specify name and location of the output file. Only a single input file is allowed when this option is present in nvcc non-linking/archiving mode. --pre-include ,... (-include) Specify header files that must be preincluded during preprocessing. --objdir-as-tempdir (-objtemp) Create intermediate files in the same directory as the object file instead of in the temporary directory. This option will take effect only if -c, -dc or -dw is also used. --library ,... (-l) Specify libraries to be used in the linking stage without the library file extension. The libraries are searched for on the library search paths that have been specified using option '--library-path'. --define-macro ,... (-D) Specify macro definitions to define for use during preprocessing or compilation. --undefine-macro ,... (-U) Undefine macro definitions during preprocessing or compilation. --include-path ,... (-I) Specify include search paths. --system-include ,... (-isystem) Specify system include search paths. --library-path ,... (-L) Specify library search paths. --output-directory (-odir) Specify the directory of the output file. This option is intended for letting the dependency generation step (see '--generate-dependencies') generate a rule that defines the target object file in the proper directory. --compiler-bindir (-ccbin) Specify the directory in which the host compiler executable resides. The host compiler executable name can be also specified to ensure that the correct host compiler is selected. In addition, driver prefix options ('--input-drive-prefix', '--dependency-drive-prefix', or '--drive-prefix') may need to be specified, if nvcc is executed in a Cygwin shell or a MinGW shell on Windows. --allow-unsupported-compiler (-allow-unsupported-compiler) Disable nvcc check for supported host compiler versions. Using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk. This option has no effect on MacOS. --archiver-binary (-arbin) Specify the path of the executable for the archiving tool used to createstatic libraries with '--lib'. If unspecified, a platform-specific defaultis used. --cudart {none|shared|static} (-cudart) Specify the type of CUDA runtime library to be used: no CUDA runtime library, shared/dynamic CUDA runtime library, or static CUDA runtime library. Allowed values for this option: 'none','shared','static'. Default value: 'static'. --cudadevrt {none|static} (-cudadevrt) Specify the type of CUDA device runtime library to be used: no CUDA device runtime library, or static CUDA device runtime library. Allowed values for this option: 'none','static'. Default value: 'static'. --libdevice-directory (-ldir) Specify the directory that contains the libdevice library files when option '--dont-use-profile' is used. Libdevice library files are located in the 'nvvm/libdevice' directory in the CUDA toolkit. --target-directory (-target-dir) Specify the subfolder name in the targets directory where the default include and library paths are located. --use-local-env (-use-local-env) By default nvcc assumes that the MSVC environment needs to be initialized. This is done by executing the appropriate command file available for the MSVC installation detected or specified. Initializing the environment for each nvcc invocation can add noticeable overheads. If the environment used to invoke nvcc has already been configured, this option can be used to skip this step. Options for specifying behavior of compiler/linker. =================================================== --profile (-pg) Instrument generated code/executable for use by gprof (Linux only). --debug (-g) Generate debug information for host code. --device-debug (-G) Generate debug information for device code. If --dopt is not specified, then turns off all optimizations. Don't use for profiling; use -lineinfo instead. --generate-line-info (-lineinfo) Generate line-number information for device code. --optimization-info ,... (-opt-info) Provide optimization reports for the specified kind of optimization. The following tags are supported: inline: Emit remarks related to function inlining. Inlining passmay be invoked multiple times by the compiler and a function notinlined in an earlier pass may be inlined in a subsequent pass. Allowed values for this option: 'inline'. --optimize (-O) Specify optimization level for host code. --dopt (-dopt) Enable device code optimization. When specified along with '-G', enables limited debug information generation for optimized device code (currently, only line number information). When '-G' is not specified, '-dopt=on' is implicit. Allowed values for this option: 'on'. --dlink-time-opt (-dlto) Perform link-time optimization of device code. Link-time optimization must be specified at both compile and link time; at compile time it stores high-level intermediate code, then at link time it links together and optimizes the intermediate code.If that intermediate is not found at link time then nothing happens. Intermediate code is also stored at compile time with the --gpu-code='lto_NN' target. The options -dlto -arch=sm_NN will add a lto_NN target; if you want to only add a lto_NN target and not the compute_NN that -arch=sm_NN usually generates, use -arch=lto_NN. The options '-dlto -dlink -ptx -o ' will cause nvlink to generate . If -o is not used, the file generated will be a_dlink.dlto.ptx. --lto (-lto) Alias for -dlto. --ftemplate-backtrace-limit (-ftemplate-backtrace-limit) Set the maximum number of template instantiation notes for a single warning or error to . A value of 0 is allowed, and indicates that no limit should be enforced. This value is also passed to the host compiler if it provides an equivalent flag. --ftemplate-depth (-ftemplate-depth) Set the maximum instantiation depth for template classes to . This value is also passed to the host compiler if it provides an equivalent flag. --no-exceptions (-noeh) Disable exception handling for host code. --shared (-shared) Generate a shared library during linking. Use option '--linker-options' when other linker options are required for more control. --x {c|c++|cu} (-x) Explicitly specify the language for the input files, rather than letting the compiler choose a default based on the file name suffix. Allowed values for this option: 'c','c++','cu'. --std {c++03|c++11|c++14|c++17} (-std) Select a particular C++ dialect. Note that this flag also turns on the corresponding dialect flag for the host compiler. Allowed values for this option: 'c++03','c++11','c++14','c++17'. --no-host-device-initializer-list (-nohdinitlist) Do not implicitly consider member functions of std::initializer_list as __host__ __device__ functions. --no-host-device-move-forward (-nohdmoveforward) Do not implicitly consider std::move and std::forward as __host__ __device__ function templates. --expt-relaxed-constexpr (-expt-relaxed-constexpr) Experimental flag: Allow host code to invoke __device__ constexpr functions, and device code to invoke __host__ constexpr functions.Note that the behavior of this flag may change in future compiler releases. --extended-lambda (-extended-lambda) Allow __host__, __device__ annotations in lambda declaration. --expt-extended-lambda (-expt-extended-lambda) Alias for -extended-lambda. --machine {32|64} (-m) Specify 32 vs 64 bit architecture. Allowed values for this option: 32,64. Default value: 64. --m32 (-m32) Equivalent to --machine=32. --m64 (-m64) Equivalent to --machine=64. Options for passing specific phase options ========================================== These allow for passing options directly to the intended compilation phase. Using these, users have the ability to pass options to the lower level compilation tools, without the need for nvcc to know about each and every such option. --compiler-options ,... (-Xcompiler) Specify options directly to the compiler/preprocessor. --linker-options ,... (-Xlinker) Specify options directly to the host linker. --archive-options ,... (-Xarchive) Specify options directly to library manager. --ptxas-options ,... (-Xptxas) Specify options directly to ptxas, the PTX optimizing assembler. --nvlink-options ,... (-Xnvlink) Specify options directly to nvlink. Miscellaneous options for guiding the compiler driver. ====================================================== --forward-unknown-to-host-compiler (-forward-unknown-to-host-compiler) Forward unknown options to the host compiler. An 'unknown option' is a command line argument that starts with '-' followed by another character, and is not a recognized nvcc flag or an argument for a recognized nvcc flag. Note: If the unknown option is followed by a separate command line argument, the argument will not be forwarded, unless it begins with the '-' character. E.g. 'nvcc -forward-unknown-to-host-compiler -foo=bar a.cu' will forward '-foo=bar' to host compiler. 'nvcc -forward-unknown-to-host-compiler -foo bar a.cu' will report an error for 'bar' argument. 'nvcc -forward-unknown-to-host-compiler -foo -bar a.cu' will forward '-foo' and '-bar' to host compiler. --forward-unknown-to-host-linker (-forward-unknown-to-host-linker) Forward unknown options to the host linker. An 'unknown option' is a command line argument that starts with '-' followed by another character, and is not a recognized nvcc flag or an argument for a recognized nvcc flag. Note: If the unknown option is followed by a separate command line argument, the argument will not be forwarded, unless it begins with the '-' character. E.g. 'nvcc -forward-unknown-to-host-linker -foo=bar a.cu' will forward '-foo=bar' to host linker. 'nvcc -forward-unknown-to-host-linker -foo bar a.cu' will report an error for 'bar' argument. 'nvcc -forward-unknown-to-host-linker -foo -bar a.cu' will forward '-foo' and '-bar' to host linker. --forward-unknown-opts (-forward-unknown-opts) Implies the combination of options: -forward-unknown-to-host-linker and -forward-unknown-to-host-compiler. E.g. 'nvcc -forward-unknown-opts -foo=bar a.cu' will forward '-foo=bar' to the host linker and compiler. 'nvcc -forward-unknown-opts -foo bar a.cu' will report an error for 'bar' argument. 'nvcc -forward-unknown-opts -foo -bar a.cu' will forward '-foo' and '-bar' to the host linker and compiler. --dont-use-profile (-noprof) Nvcc uses the nvcc.profiles file for compilation. When specifying this option, the profile file is not used. --dryrun (-dryrun) Do not execute the compilation commands generated by nvcc. Instead, list them. --verbose (-v) List the compilation commands generated by this compiler driver, but do not suppress their execution. --threads (-t) Specify the maximum number of threads to be created in parallel when compiling for multiple architectures. If is 1 or if compiling for one architecture, this option is ignored. If is 0, the number of threads will be the number of CPUs on the machine. --keep (-keep) Keep all intermediate files that are generated during internal compilation steps. --keep-dir (-keep-dir) Keep all intermediate files that are generated during internal compilation steps in this directory. --save-temps (-save-temps) This option is an alias of '--keep'. --clean-targets (-clean) This option reverses the behavior of nvcc. When specified, none of the compilation phases will be executed. Instead, all of the non-temporary files that nvcc would otherwise create will be deleted. --time (-time) Generate a comma separated value table with the time taken by each compilation phase, and append it at the end of the file given as the option argument. If the file is empty, the column headings are generated in the first row of the table. If the file name is '-', the timing data is generated in stdout. --run-args ,... (-run-args) Used in combination with option --run to specify command line arguments for the executable. --input-drive-prefix (-idp) On Windows, all command line arguments that refer to file names must be converted to the Windows native format before they are passed to pure Windows executables. This option specifies how the current development environment represents absolute paths. Use '/cygwin/' as for Cygwin build environments, and '/' as for MinGW. --dependency-drive-prefix (-ddp) On Windows, when generating dependency files (see --generate-dependencies), all file names must be converted appropriately for the instance of 'make' that is used. Some instances of 'make' have trouble with the colon in absolute paths in the native Windows format, which depends on the environment in which the 'make' instance has been compiled. Use '/cygwin/' as for a Cygwin make, and '/' as for MinGW. Or leave these file names in the native Windows format by specifying nothing. --drive-prefix (-dp) Specifies as both --input-drive-prefix and --dependency-drive-prefix. --dependency-target-name (-MT) Specify the target name of the generated rule when generating a dependency file (see '--generate-dependencies'). --no-align-double --no-align-double Specifies that '-malign-double' should not be passed as a compiler argument on 32-bit platforms. WARNING: this makes the ABI incompatible with the cuda's kernel ABI for certain 64-bit types. --no-device-link (-nodlink) Skip the device link step when linking object files. Options for steering GPU code generation. ========================================= --gpu-architecture (-arch) Specify the name of the class of NVIDIA 'virtual' GPU architecture for which the CUDA input files must be compiled. With the exception as described for the shorthand below, the architecture specified with this option must be a 'virtual' architecture (such as compute_50). Normally, this option alone does not trigger assembly of the generated PTX for a 'real' architecture (that is the role of nvcc option '--gpu-code', see below); rather, its purpose is to control preprocessing and compilation of the input to PTX. For convenience, in case of simple nvcc compilations, the following shorthand is supported. If no value for option '--gpu-code' is specified, then the value of this option defaults to the value of '--gpu-architecture'. In this situation, as only exception to the description above, the value specified for '--gpu-architecture' may be a 'real' architecture (such as a sm_50), in which case nvcc uses the specified 'real' architecture and its closest 'virtual' architecture as effective architecture values. For example, 'nvcc --gpu-architecture=sm_50' is equivalent to 'nvcc --gpu-architecture=compute_50 --gpu-code=sm_50,compute_50'. -arch=all build for all supported architectures (sm_*), and add PTX for the highest major architecture to the generated code. -arch=all-major build for just supported major versions (sm_*0), plus the earliest supported, and add PTX for the highest major architecture to the generated code. -arch=native build for all architectures (sm_*) on the current system Note: -arch=native, -arch=all, -arch=all-major cannot be used with the -code option, but can be used with -gencode options Note: the values compute_30, compute_32, compute_35, compute_37, compute_50, sm_30, sm_32, sm_35, sm_37 and sm_50 are deprecated and may be removed in a future release. Allowed values for this option: 'all','all-major','compute_35','compute_37', 'compute_50','compute_52','compute_53','compute_60','compute_61','compute_62', 'compute_70','compute_72','compute_75','compute_80','compute_86','compute_87', 'lto_35','lto_37','lto_50','lto_52','lto_53','lto_60','lto_61','lto_62', 'lto_70','lto_72','lto_75','lto_80','lto_86','lto_87','native','sm_35','sm_37', 'sm_50','sm_52','sm_53','sm_60','sm_61','sm_62','sm_70','sm_72','sm_75', 'sm_80','sm_86','sm_87'. --gpu-code ,... (-code) Specify the name of the NVIDIA GPU to assemble and optimize PTX for. nvcc embeds a compiled code image in the resulting executable for each specified architecture, which is a true binary load image for each 'real' architecture (such as sm_50), and PTX code for the 'virtual' architecture (such as compute_50). During runtime, such embedded PTX code is dynamically compiled by the CUDA runtime system if no binary load image is found for the 'current' GPU. Architectures specified for options '--gpu-architecture' and '--gpu-code' may be 'virtual' as well as 'real', but the architectures must be compatible with the architecture. When the '--gpu-code' option is used, the value for the '--gpu-architecture' option must be a 'virtual' PTX architecture. For instance, '--gpu-architecture=compute_60' is not compatible with '--gpu-code=sm_52', because the earlier compilation stages will assume the availability of 'compute_60' features that are not present on 'sm_52'. Note: the values compute_30, compute_32, compute_35, compute_37, compute_50, sm_30, sm_32, sm_35, sm_37 and sm_50 are deprecated and may be removed in a future release. Allowed values for this option: 'compute_35','compute_37','compute_50', 'compute_52','compute_53','compute_60','compute_61','compute_62','compute_70', 'compute_72','compute_75','compute_80','compute_86','compute_87','lto_35', 'lto_37','lto_50','lto_52','lto_53','lto_60','lto_61','lto_62','lto_70', 'lto_72','lto_75','lto_80','lto_86','lto_87','sm_35','sm_37','sm_50','sm_52', 'sm_53','sm_60','sm_61','sm_62','sm_70','sm_72','sm_75','sm_80','sm_86', 'sm_87'. --generate-code ,... (-gencode) This option provides a generalization of the '--gpu-architecture= --gpu-code=, ...' option combination for specifying nvcc behavior with respect to code generation. Where use of the previous options generates code for different 'real' architectures with the PTX for the same 'virtual' architecture, option '--generate-code' allows multiple PTX generations for different 'virtual' architectures. In fact, '--gpu-architecture= --gpu-code=, ...' is equivalent to '--generate-code arch=,code=,...'. '--generate-code' options may be repeated for different virtual architectures. Allowed keywords for this option: 'arch','code'. --relocatable-device-code {true|false} (-rdc) Enable (disable) the generation of relocatable device code. If disabled, executable device code is generated. Relocatable device code must be linked before it can be executed. Default value: false. --entries entry,... (-e) Specify the global entry functions for which code must be generated. By default, code will be generated for all entry functions. --maxrregcount (-maxrregcount) Specify the maximum amount of registers that GPU functions can use. Until a function-specific limit, a higher value will generally increase the performance of individual GPU threads that execute this function. However, because thread registers are allocated from a global register pool on each GPU, a higher value of this option will also reduce the maximum thread block size, thereby reducing the amount of thread parallelism. Hence, a good maxrregcount value is the result of a trade-off. If this option is not specified, then no maximum is assumed. Value less than the minimum registers required by ABI will be bumped up by the compiler to ABI minimum limit. User program may not be able to make use of all registers as some registers are reserved by compiler. --use_fast_math (-use_fast_math) Make use of fast math library. '--use_fast_math' implies '--ftz=true --prec-div=false --prec-sqrt=false --fmad=true'. --ftz {true|false} (-ftz) This option controls single-precision denormals support. '--ftz=true' flushes denormal values to zero and '--ftz=false' preserves denormal values. '--use_fast_math' implies '--ftz=true'. Default value: false. --prec-div {true|false} (-prec-div) This option controls single-precision floating-point division and reciprocals. '--prec-div=true' enables the IEEE round-to-nearest mode and '--prec-div=false' enables the fast approximation mode. '--use_fast_math' implies '--prec-div=false'. Default value: true. --prec-sqrt {true|false} (-prec-sqrt) This option controls single-precision floating-point squre root. '--prec-sqrt=true' enables the IEEE round-to-nearest mode and '--prec-sqrt=false' enables the fast approximation mode. '--use_fast_math' implies '--prec-sqrt=false'. Default value: true. --fmad {true|false} (-fmad) This option enables (disables) the contraction of floating-point multiplies and adds/subtracts into floating-point multiply-add operations (FMAD, FFMA, or DFMA). '--use_fast_math' implies '--fmad=true'. Default value: true. --extra-device-vectorization (-extra-device-vectorization) This option enables more aggressive device code vectorization. Options for steering cuda compilation. ====================================== --default-stream {legacy|null|per-thread} (-default-stream) Specify the stream that CUDA commands from the compiled program will be sent to by default. legacy The CUDA legacy stream (per context, implicitly synchronizes with other streams). per-thread A normal CUDA stream (per thread, does not implicitly synchronize with other streams). 'null' is a deprecated alias for 'legacy'. Allowed values for this option: 'legacy','null','per-thread'. Default value: 'legacy'. Generic tool options. ===================== --disable-warnings (-w) Inhibit all warning messages. --keep-device-functions (-keep-device-functions) In whole program compilation mode, preserve user defined external linkage __device__ function definitions up to PTX. --source-in-ptx (-src-in-ptx) Interleave source in PTX. May only be used in conjunction with --device-debug or --generate-line-info. --restrict (-restrict) Programmer assertion that all kernel pointer parameters are restrict pointers. --Wreorder (-Wreorder) Generate warnings when member initializers are reordered. --Wdefault-stream-launch (-Wdefault-stream-launch) Generate warning when an explicit stream argument is not provided in the <<<...>>> kernel launch syntax. --Wmissing-launch-bounds (-Wmissing-launch-bounds) Generate warning when a __global__ function does not have an explicit __launch_bounds__ annotation. --Wext-lambda-captures-this (-Wext-lambda-captures-this) Generate warning when an extended lambda implicitly captures 'this'. --Wno-deprecated-declarations (-Wno-deprecated-declarations) Suppress warning on use of deprecated entity. --Wno-deprecated-gpu-targets (-Wno-deprecated-gpu-targets) Suppress warnings about deprecated GPU target architectures. --Werror ,... (-Werror) Make warnings of the specified kinds into errors. The following is the list of warning kinds accepted by this option: cross-execution-space-call Be more strict about unsupported cross execution space calls. The compiler will generate an error instead of a warning for a call from a __host__ __device__ to a __host__ function. reorder Generate errors when member initializers are reordered. deprecated-declarations Generate error on use of a deprecated entity. default-stream-launch Generate error when an explicit stream argument is not provided in the <<<...>>> kernel launch syntax. missing-launch-bounds Generate error when a __global__ function does not have an explicit __launch_bounds__ annotation. ext-lambda-captures-this Generate error when an extended lambda implicitly captures 'this' Allowed values for this option: 'all-warnings','cross-execution-space-call', 'default-stream-launch','deprecated-declarations','ext-lambda-captures-this', 'missing-launch-bounds','reorder'. --resource-usage (-res-usage) Show resource usage such as registers and memory of the GPU code. This option implies '--nvlink-options --verbose' when '--relocatable-device-code=true' is set. Otherwise, it implies '--ptxas-options --verbose'. --extensible-whole-program (-ewp) Do extensible whole program compilation of device code. --no-compress (-no-compress) Do not compress device code in fatbinary. --qpp-config (-qpp-config) Specify the configuration ([[compiler/]version,][target]) for the q++ host compiler. The argument will be forwarded to the q++ compiler with its -V flag. --compile-as-tools-patch (-astoolspatch) Compile patch code for CUDA tools. Implies --keep-device-functions. --list-gpu-code (-code-ls) List the gpu architectures (sm_XX) supported by the compiler and exit. If both --list-gpu-code and --list-gpu-arch are set, the list is displayed using the same format as the --generate-code value. --list-gpu-arch (-arch-ls) List the virtual device architectures (compute_XX) supported by the compiler and exit. If both --list-gpu-code and --list-gpu-arch are set, the list is displayed using the same format as the --generate-code value. --version-ident {true|false} (-dQ) This option enables (disables) the generation of compiler tool version identity in device code object. Default value: false. --display-error-number (-err-no) This option displays a diagnostic number for any message generated by the CUDA frontend compiler (note: not the host compiler). --no-display-error-number (-no-err-no) This option disables the display of a diagnostic number for any message generated by the CUDA frontend compiler (note: not the host compiler). --diag-error ,... (-diag-error) Emit error for specified diagnostic message(s) generated by the CUDA frontend compiler (note: does not affect diagnostics generated by the host compiler/preprocessor). --diag-suppress ,... (-diag-suppress) Suppress specified diagnostic message(s) generated by the CUDA frontend compiler (note: does not affect diagnostics generated by the host compiler/preprocessor). --diag-warn ,... (-diag-warn) Emit warning for specified diagnostic message(s) generated by the CUDA frontend compiler (note: does not affect diagnostics generated by the host compiler/preprocessor). --host-linker-script {use-lcs|gen-lcs} (-hls) Use the host linker script (GNU/Linux only) to enable support for certain CUDA specific requirements, while building executable files or shared libraries. use-lcs Prepares a host linker script to enable host linker support for relocatable device object files that are larger in size, that would otherwise, in certain cases cause the host linker to fail with relocation truncation error. gen-lcs Generates a host linker script that can be passed to host linker manually, in the case where host linker is invoked separately outside of nvcc. This option can be combined with -shared or -r option to generate linker scripts that can be used while generating host shared libraries or host relocatable links respectively. The file generated using this option must be provided as the last input file to the host linker. Default Output Filename: The output is generated to stdout by default. Use the option -o filename to specify the output filename. A linker script may already be in use and passed to the host linker using the host linker option --script (or -T), then the generated host linker script must augment the existing linker script. In such cases, the option -aug-hls must be used to generate linker script that contains only the augmentation parts. Otherwise, the host linker behaviour is undefined. A host linker option, such as -z with a non-default argument, that can modify the default linker script internally, is incompatible with this option and the behavior of any such usage is undefined. Allowed values for this option: 'gen-lcs','use-lcs'. --augment-host-linker-script (-aug-hls) Enables generation of host linker script that augments an existing host linker script (GNU/Linux only). See option --host-linker-script for more details. --host-relocatable-link (-r) When used in combination with -hls=gen-lcs, controls the behaviour of -hls=gen-lcs and sets it to generate host linker script that can be used in host relocatable link (ld -r linkage). See option -hls=gen-lcs for more information. This option currently is effective only when used with -hls=gen-lcs; in all other cases, this option is ignored currently. --help (-h) Print this help information on this tool. --version (-V) Print version information on this tool. --options-file ,... (-optf) Include command line options from specified file. Executing: nvcc --help | head -n 500 ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:769) Determine the CXX dialect supported by the compiler (language) [and corresponding 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++11','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 Raises a config.base.ConfigureSetupError if: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannot all be compiled with the same flag - An unknown C++ dialect is provided The config.base.ConfigureSetupErrors are NOT meant to be caught, as they are fatal errors on part of the user Raises a RuntimeError (which may be caught) if: - The compiler does not support at minimum -std=c++11 checkCxxDialect: checking C++ dialect version for language "CUDA" using compiler "nvcc" checkCxxDialect: PETSc believes compiler (nvcc) is NOT gnu-ish checkCxxDialect: PETSc believes that we have NOT processed nvcc before checkCxxDialect: configure option after sanitization: --with-cuda-dialect=AUTO checkCxxDialect: dialect AUTO has been NOT explicitly selected for CUDA checkCxxDialect: Have potential flag pool: - -std=c++17 - -std=c++14 - -std=c++11 checkCxxDialect: checking CXX 17 for cuda with -std=c++17 Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #include #include #include template void ignore(const T&) { } // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; 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++11 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; 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 -g -Xcompiler -rdynamic -ccbin CC -std=c++17 Added CUDA compiler flag -std=c++17 checkCxxDialect: success using -std=c++17 for CUDA dialect C++17, set new cxxDialectRange: ('c++11', 'c++17') Defined "HAVE_CUDA_DIALECT_CXX11" to "1" Defined "HAVE_CUDA_DIALECT_CXX14" to "1" Defined "HAVE_CUDA_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkCUDAPreprocessor from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1455) Locate a functional CUDA preprocessor Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/nvcc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/nvcc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/nvcc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/nvcc...not found Checking for program /global/common/software/nersc/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/nvcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/nvcc...found Defined make macro "CUDAPP" to "nvcc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include __global__ void testFunction() {return;}; Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1489) Locate a functional HIP compiler Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/hipcc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/hipcc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/hipcc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/hipcc...not found Checking for program /global/common/software/nersc/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/hipcc...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/hipcc...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/hipcc...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/hipcc...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/hipcc...not found Checking for program /usr/local/bin/hipcc...not found Checking for program /usr/bin/hipcc...not found Checking for program /bin/hipcc...not found Checking for program /usr/lib/mit/bin/hipcc...not found Checking for program /opt/cray/pe/bin/hipcc...not found Checking for program /global/homes/m/madams/petsc/lib/petsc/bin/win32fe/hipcc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/bin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/opt/rocm/bin/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/opt/rocm/bin/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/opt/rocm/bin/hipcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/opt/rocm/bin/hipcc...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/local/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/bin/opt/rocm/bin/hipcc...not found Checking for program /bin/opt/rocm/bin/hipcc...not found Checking for program /usr/lib/mit/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/cray/pe/bin/opt/rocm/bin/hipcc...not found Checking for program /global/homes/m/madams/petsc/lib/petsc/bin/win32fe/opt/rocm/bin/hipcc...not found ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:747) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1559) Locate a functional SYCL compiler ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:747) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). ============================================================================================= TESTING: checkFortranCompiler from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1827) Locate a functional Fortran compiler Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/gfortran...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/gfortran...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/gfortran...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/gfortran...not found Checking for program /global/common/software/nersc/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/gfortran...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/gfortran...found Defined make macro "FC" to "gfortran" Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Testing executable /tmp/petsc-tbq3au3i/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.setCompilers/conftest Executing: gfortran --version stdout: GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkFortranPreprocessor from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1863) Locate a functional Fortran preprocessor Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/gfortran...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/gfortran...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/gfortran...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/gfortran...not found Checking for program /global/common/software/nersc/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/gfortran...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/gfortran...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/gfortran...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/gfortran...found Defined make macro "FPP" to "gfortran -E" Preprocessing source: #define foo 10 Executing: gfortran -E -I/tmp/petsc-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkFortranComments from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1882) Make sure fortran comment "!" works Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2053) check for large file support with 64bit offset ============================================================================================= TESTING: checkArchiver from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2152) Check that the archiver exists and can make a library usable by the compiler Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 15) 2.37.20211103-150100.7.37 Copyright (C) 2021 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; SUSE Linux Enterprise 15) 2.37.20211103-150100.7.37 Copyright (C) 2021 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" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/ar...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/ar...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/ar...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/ar...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/ar...not found Checking for program /global/common/software/nersc/bin/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/ar...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/ar...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/ar...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/ar...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/ar...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/ranlib...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/ranlib...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/ranlib...not found Checking for program /global/common/software/nersc/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/ranlib...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/ranlib...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/ranlib...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/ranlib...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" Executing: /usr/bin/ar cr /tmp/petsc-tbq3au3i/config.setCompilers/libconf1.a /tmp/petsc-tbq3au3i/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-tbq3au3i/config.setCompilers/libconf1.a Possible ERROR while running ranlib:exit code 0 stderr: /usr/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; SUSE Linux Enterprise 15) 2.37.20211103-150100.7.37 Copyright (C) 2021 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; SUSE Linux Enterprise 15) 2.37.20211103-150100.7.37 Copyright (C) 2021 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" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/ar...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/ar...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/ar...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/ar...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/ar...not found Checking for program /global/common/software/nersc/bin/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/ar...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/ar...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/ar...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/ar...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/ar...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/ar...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/ar...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/ranlib...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/ranlib...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/ranlib...not found Checking for program /global/common/software/nersc/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/ranlib...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/ranlib...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/ranlib...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/ranlib...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/ranlib...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/ranlib...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" Executing: /usr/bin/ar cr /tmp/petsc-tbq3au3i/config.setCompilers/libconf1.a /tmp/petsc-tbq3au3i/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-tbq3au3i/config.setCompilers/libconf1.a Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); (void)b; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -L/tmp/petsc-tbq3au3i/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2224) Checks if AR handles @ notation Executing: /usr/bin/ar cr checkRecipeArgfile.a @checkRecipeArgfile.args Defined make macro "AR_ARGFILE" to "yes" ============================================================================================= TESTING: checkSharedLinker from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2306) Check that the linker can produce shared libraries Checking shared linker cc using flags ['-qmkshrobj'] Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/cc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/cc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/cc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/cc...found Defined make macro "LD_SHARED" to "cc" Executing: cc --help | head -n 20 stdout: Usage: cc [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications, while still allowing users to use alternate versions by setting LD_LIBRARY_PATH. (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 dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. --craype-prepend-opt=[flag] Add 'flag' before all CrayPE generated flags. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using GCC or CCE. This enables a user to run such an application. without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE-Classic. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE-classic. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using CCE, AOCC, and GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Detected Cray PE wrapper compiler Executing: cc --version stdout: gcc (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GNU compiler 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 -fPIC Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -qmkshrobj -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command-line option '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: gcc: error: unrecognized command-line option '-qmkshrobj' : Linker output after filtering: gcc: error: unrecognized command-line option '-qmkshrobj': Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command-line option '-qmkshrobj' Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/libconftest.so -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main' collect2: error: ld returned 1 exit status: 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-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -qmkshrobj -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command-line option '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: gcc: error: unrecognized command-line option '-qmkshrobj' : Linker output after filtering: gcc: error: unrecognized command-line option '-qmkshrobj': Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command-line option '-qmkshrobj' Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/libconftest.so -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main' collect2: error: ld returned 1 exit status: 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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/cc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/cc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/cc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/cc...found Defined make macro "LD_SHARED" to "cc" Executing: cc --help | head -n 20 stdout: Usage: cc [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications, while still allowing users to use alternate versions by setting LD_LIBRARY_PATH. (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 dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. --craype-prepend-opt=[flag] Add 'flag' before all CrayPE generated flags. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using GCC or CCE. This enables a user to run such an application. without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE-Classic. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE-classic. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using CCE, AOCC, and GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Detected Cray PE wrapper compiler Executing: cc --version stdout: gcc (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GNU compiler 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 -fPIC Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Valid C linker flag -shared Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/libconftest.so -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -L/tmp/petsc-tbq3au3i/config.setCompilers -lconftest Using shared linker cc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPIC from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2003) Determine the PIC option for each compiler Executing: gfortran --help | head -n 20 stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gfortran -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 -fPIC for PIC code Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC Added FC compiler flag -fPIC Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers/libconftest.so -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Accepted FC compiler flag -fPIC for PIC code Executing: CC --help | head -n 20 stdout: Usage: CC [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications, while still allowing users to use alternate versions by setting LD_LIBRARY_PATH. (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 dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. --craype-prepend-opt=[flag] Add 'flag' before all CrayPE generated flags. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using GCC or CCE. This enables a user to run such an application. without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE-Classic. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE-classic. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using CCE, AOCC, and GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Detected Cray PE wrapper compiler Executing: CC --version stdout: g++ (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GNU compiler 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 -fPIC for PIC code Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC Added Cxx compiler flag -fPIC Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/libconftest.so -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Accepted Cxx compiler flag -fPIC for PIC code Trying CUDA compiler flag -Xcompiler -fPIC for PIC code Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC Added CUDA compiler flag -Xcompiler -fPIC Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/libconftest.so -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Accepted CUDA compiler flag -Xcompiler -fPIC for PIC code ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2420) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: cc -V Trying C linker flag -Wl,-rpath, Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -Wl,-rpath,/global/u2/m/madams/petsc -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/global/u2/m/madams/petsc Executing: cc -V Trying Cxx linker flag -Wl,-rpath, Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -Wl,-rpath,/global/u2/m/madams/petsc -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/global/u2/m/madams/petsc Executing: cc -V Trying FC linker flag -Wl,-rpath, Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -Wl,-rpath,/global/u2/m/madams/petsc -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/global/u2/m/madams/petsc Executing: cc -V Trying CUDA linker flag -Wl,-rpath, Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: nvcc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Valid CUDA linker flag -Wl,-rpath,/global/u2/m/madams/petsc ============================================================================================= TESTING: checkLibC from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2459) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers/libconftest.so -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2505) Check that the linker can dynamically load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/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 [''] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.libraries/conftest.o Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlopen': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:5: undefined reference to `dlopen' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlsym': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:7: undefined reference to `dlsym' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlclose': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:9: undefined reference to `dlclose' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlopen': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:5: undefined reference to `dlopen' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlsym': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:7: undefined reference to `dlsym' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlclose': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:9: undefined reference to `dlclose' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlopen': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:5: undefined reference to `dlopen' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlsym': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:7: undefined reference to `dlsym' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_dlclose': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:9: undefined reference to `dlclose' collect2: error: ld returned 1 exit status: Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.libraries/conftest.o -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -ldl Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Checking dynamic linker cc using flags ['-shared'] Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/cc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/cc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/cc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/cc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/cc...found Defined make macro "DYNAMICLINKER" to "cc" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers/libconftest.so -shared -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { void *handle = dlopen("/tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -ldl Using dynamic linker cc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:1962) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -Wunknown-pragmas /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -Wunknown-pragmas /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -Wunknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -Wunknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wunknown-pragmas -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 1 stderr: nvcc fatal : Unknown option '-Wunknown-pragmas' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wunknown-pragmas nvcc fatal : Unknown option '-Wunknown-pragmas' PETSc Error: No output file produced Rejecting compiler flag -Wunknown-pragmas due to nonzero status from link ============================================================================================= TESTING: checkAtFileOption from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2697) Check if linker supports @file option Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest @/tmp/petsc-tbq3au3i/config.setCompilers/optfile -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -ldl Valid C linker flag @/tmp/petsc-tbq3au3i/config.setCompilers/optfile Defined make macro "PCC_AT_FILE" to "1" ============================================================================================= TESTING: output from config.setCompilers(/global/u2/m/madams/petsc/config/BuildSystem/config/setCompilers.py:2554) Output module data as defines and substitutions Substituting "CC" with "cc" Substituting "CFLAGS" with "-g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "cc -E" Substituting "CPPFLAGS" with "" Substituting "CUDAC" with "nvcc" Substituting "CUDAFLAGS" with "-g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC" Substituting "CUDAPP" with "nvcc -E" Substituting "CUDAPPFLAGS" with "-Wno-deprecated-gpu-targets" Substituting "CXX" with "CC" Substituting "CXX_CXXFLAGS" with " -std=gnu++17 -fPIC" Substituting "CXXFLAGS" with "-g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "CC -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "gfortran" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "FPP" with "gfortran -E" Substituting "FPPFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" child config.setCompilers took 15.469893 seconds ============================================================================================= TESTING: configureIndexSize from PETSc.options.indexTypes(/global/u2/m/madams/petsc/config/PETSc/options/indexTypes.py:38) Determine the size of PETSc indices (32 or 64 bit), from -with-64-bit-indices Defined make macro "PETSC_INDEX_SIZE" to "32" child PETSc.options.indexTypes took 0.005983 seconds ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(/global/u2/m/madams/petsc/config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: cc --version stdout: gcc (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: cc gcc (GCC) 11.2.0 20210728 (Cray Inc.) Defined make macro "C_VERSION" to "gcc (GCC) 11.2.0 20210728 (Cray Inc.)" Ignoring default options which were overridden using --CFLAGS -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES Trying C compiler flag -O Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O Added C compiler flag -O Executing: CC --version stdout: g++ (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: CC g++ (GCC) 11.2.0 20210728 (Cray Inc.) Defined make macro "Cxx_VERSION" to "g++ (GCC) 11.2.0 20210728 (Cray Inc.)" Ignoring default options which were overridden using --CXXFLAGS -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES Trying Cxx compiler flag -O Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O Added Cxx compiler flag -O Executing: gfortran --version stdout: GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gfortran GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Defined make macro "FC_VERSION" to "GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.)" Defined make macro "MPIFC_SHOW" to "Unavailable" Executing: gfortran --help | head -n 20 stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gfortran --version stdout: GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran46plus compiler Executing: gfortran --version stdout: GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran47plus compiler Executing: gfortran --version stdout: GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Trying FC compiler flag -Wall Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall Added FC compiler flag -Wall Trying FC compiler flag -ffree-line-length-none Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none Added FC compiler flag -ffree-line-length-none Trying FC compiler flag -ffree-line-length-0 Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 Added FC compiler flag -ffree-line-length-0 Trying FC compiler flag -Wno-lto-type-mismatch Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch Added FC compiler flag -Wno-lto-type-mismatch Trying FC compiler flag -Wno-unused-dummy-argument Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument Added FC compiler flag -Wno-unused-dummy-argument Trying FC compiler flag -O Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O Added FC compiler flag -O Executing: nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_May__3_18:49:52_PDT_2022 Cuda compilation tools, release 11.7, V11.7.64 Build cuda_11.7.r11.7/compiler.31294372_0 getCompilerVersion: nvcc nvcc: NVIDIA (R) Cuda compiler driver Defined make macro "CUDA_VERSION" to "nvcc: NVIDIA (R) Cuda compiler driver" Ignoring default options which were overridden using --CUDAFLAGS -g -Xcompiler -rdynamic Optimization options found in CUDAFLAGS. Skipping setting defaults ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(/global/u2/m/madams/petsc/config/BuildSystem/config/compilerFlags.py:168) 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): 8 Vendor ID: AuthenticAMD CPU family: 25 Model: 1 Model name: AMD EPYC 7713 64-Core Processor Stepping: 1 CPU MHz: 1865.822 BogoMIPS: 3992.40 Virtualization: AMD-V L1d cache: 4 MiB L1i cache: 4 MiB L2 cache: 64 MiB L3 cache: 512 MiB NUMA node0 CPU(s): 0-15,128-143 NUMA node1 CPU(s): 16-31,144-159 NUMA node2 CPU(s): 32-47,160-175 NUMA node3 CPU(s): 48-63,176-191 NUMA node4 CPU(s): 64-79,192-207 NUMA node5 CPU(s): 80-95,208-223 NUMA node6 CPU(s): 96-111,224-239 NUMA node7 CPU(s): 112-127,240-255 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected 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 pcid 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 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 invpcid 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 v_vmsave_vmload vgif umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(/global/u2/m/madams/petsc/config/BuildSystem/config/compilerFlags.py:159) 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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilerFlags -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilerFlags/conftest.c -E -dM stdout: #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __MOVBE__ 1 #define __UINT8_MAX__ 0xff #define __SCHAR_WIDTH__ 8 #define __WINT_MAX__ 0xffffffffU #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __SSE4_1__ 1 #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __znver3 1 #define __FLT_EVAL_METHOD__ 0 #define __FLT64_DECIMAL_DIG__ 17 #define __DBL_MIN_EXP__ (-1021) #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __RDPID__ 1 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __FLT32X_MAX_EXP__ 1024 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __FLT32_MAX_10_EXP__ 38 #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __LDBL_IS_IEC_60559__ 2 #define __FLT64X_HAS_QUIET_NAN__ 1 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __LAHF_SAHF__ 1 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __CHAR_BIT__ 8 #define __FLT128_MIN_10_EXP__ (-4931) #define __FLT32X_IS_IEC_60559__ 2 #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT32X_MANT_DIG__ 53 #define __WBNOINVD__ 1 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define PETSC_HAVE_KOKKOS_KERNELS_GMRES 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __ABM__ 1 #define __SHRT_WIDTH__ 16 #define __FLT32_IS_IEC_60559__ 2 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __STDC_UTF_16__ 1 #define __DBL_IS_IEC_60559__ 2 #define __DEC32_MAX__ 9.999999E96DF #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FP_FAST_FMA 1 #define __tune_znver3__ 1 #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __unix__ 1 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201706L #define __UINT16_C(c) c #define __DECIMAL_DIG__ 21 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __DBL_DIG__ 15 #define __gnu_linux__ 1 #define __FLT128_IS_IEC_60559__ 2 #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __FLT64X_MANT_DIG__ 64 #define __GNUC__ 11 #define __MMX__ 1 #define __XSAVES__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __XSAVEOPT__ 1 #define __BIGGEST_ALIGNMENT__ 32 #define __PRFCHW__ 1 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __SSE4_2__ 1 #define __SIZEOF_FLOAT__ 4 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT64X_HAS_INFINITY__ 1 #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __MMX_WITH_SSE__ 1 #define __LDBL_HAS_DENORM__ 1 #define __FLT_DIG__ 6 #define __FLT128_HAS_INFINITY__ 1 #define __DEC32_MIN__ 1E-95DF #define __POPCNT__ 1 #define __DBL_MAX_EXP__ 1024 #define __VAES__ 1 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __FLT128_MAX_EXP__ 16384 #define __amd64 1 #define __AVX__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __LZCNT__ 1 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __GXX_ABI_VERSION 1016 #define __FLT_MIN_EXP__ (-125) #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __INT16_MAX__ 0x7fff #define __x86_64 1 #define __INT_FAST64_TYPE__ long int #define __FP_FAST_FMAF 1 #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __CLFLUSHOPT__ 1 #define __PCLMUL__ 1 #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __FLT64X_NORM_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIZEOF_POINTER__ 8 #define __F16C__ 1 #define __LP64__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_EXP__ (-1021) #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __XSAVE__ 1 #define __CLWB__ 1 #define __DEC_EVAL_METHOD__ 2 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __FLT32X_MAX_10_EXP__ 308 #define __TARGET_LINUX__ 1 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "11.2.0 20210728 (Cray Inc.)" #define __UINT64_C(c) c ## UL #define __VPCLMULQDQ__ 1 #define __FMA__ 1 #define _STDC_PREDEF_H 1 #define __znver3__ 1 #define __INT_LEAST32_MAX__ 0x7fffffff #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __PKU__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT128_HAS_DENORM__ 1 #define __FLT32_DECIMAL_DIG__ 9 #define __FLT128_DIG__ 33 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __INT_FAST32_TYPE__ long int #define __CRAYXT_COMPUTE_LINUX_TARGET 1 #define __linux__ 1 #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT_IS_IEC_60559__ 2 #define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-32LE" #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __UINT32_TYPE__ unsigned int #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __SSE_MATH__ 1 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __CRAY_X86_MILAN 1 #define __SIZEOF_PTRDIFF_T__ 8 #define __RDSEED__ 1 #define __BMI__ 1 #define __LDBL_DIG__ 18 #define __FLT64_IS_IEC_60559__ 2 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __GNUC_EXECUTION_CHARSET_NAME "UTF-8" #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201710L #define __SIZEOF_INT__ 4 #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define linux 1 #define __AVX2__ 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSSE3__ 1 #define __FLT32X_DIG__ 15 #define __RDRND__ 1 #define __PTRDIFF_WIDTH__ 64 #define __LDBL_MANT_DIG__ 64 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __DEC32_MANT_DIG__ 7 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __SSE4A__ 1 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_NORM_MAX__ 3.40282346638528859811704183484516925e+38F #define __FLT32_HAS_INFINITY__ 1 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __INT_MAX__ 0x7fffffff #define __SHA__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __FP_FAST_FMAF32 1 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __FLT32_NORM_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __FP_FAST_FMAF64 1 #define __INT_LEAST8_MAX__ 0x7f #define __INT_LEAST64_WIDTH__ 64 #define __LDBL_MAX_EXP__ 16384 #define __SIZEOF_INT128__ 16 #define __FLT64X_IS_IEC_60559__ 2 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) #define __FLT32_MIN_EXP__ (-125) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long unsigned int #define __GNUC_PATCHLEVEL__ 0 #define __FLT128_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __amd64__ 1 #define __FLT64_NORM_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __FP_FAST_FMAF32x 1 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __DBL_NORM_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __INTMAX_WIDTH__ 64 #define __UINT32_C(c) c ## U #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __FLT32X_NORM_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __SSE2__ 1 #define __INT32_TYPE__ int #define __XSAVEC__ 1 #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MANT_DIG__ 24 #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __CLZERO__ 1 #define __DEC128_MAX_EXP__ 6145 #define __FSGSBASE__ 1 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 2 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __BMI2__ 1 #define __INT16_C(c) c #define __STDC__ 1 #define __MWAITX__ 1 #define __AES__ 1 #define __PTRDIFF_TYPE__ long int #define __DEC64_MIN_EXP__ (-382) #define __ATOMIC_SEQ_CST 5 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1 #define __ADX__ 1 #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __SIZEOF_LONG_LONG__ 8 #define __HAVE_SPECULATION_SAFE_VALUE 1 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32_HAS_QUIET_NAN__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __LDBL_NORM_MAX__ 1.18973149535723176502126385303097021e+4932L #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __SSE3__ 1 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 Executing: CC -c -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilerFlags -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.compilerFlags/conftest.cc -E -dM stdout: #define __cpp_attributes 200809L #define __cpp_nontype_template_parameter_auto 201606L #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __GCC_IEC_559_COMPLEX 2 #define __cpp_aggregate_nsdmi 201304L #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __MOVBE__ 1 #define __UINT8_MAX__ 0xff #define __SCHAR_WIDTH__ 8 #define __WINT_MAX__ 0xffffffffU #define __cpp_static_assert 201411L #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __SSE4_1__ 1 #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __znver3 1 #define __FLT_EVAL_METHOD__ 0 #define __cpp_binary_literals 201304L #define __FLT64_DECIMAL_DIG__ 17 #define __cpp_noexcept_function_type 201510L #define __DBL_MIN_EXP__ (-1021) #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __RDPID__ 1 #define __cpp_variadic_templates 200704L #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __cpp_variable_templates 201304L #define __FLT32X_MAX_EXP__ 1024 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __cpp_rvalue_reference 200610L #define __cpp_nested_namespace_definitions 201411L #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __cpp_variadic_using 201611L #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __INT_LEAST8_MAX__ 0x7f #define __cpp_capture_star_this 201603L #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __cpp_if_constexpr 201606L #define __LDBL_IS_IEC_60559__ 2 #define __FLT64X_HAS_QUIET_NAN__ 1 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __LAHF_SAHF__ 1 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __GXX_EXPERIMENTAL_CXX0X__ 1 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __CHAR_BIT__ 8 #define __FLT128_MIN_10_EXP__ (-4931) #define __FLT32X_IS_IEC_60559__ 2 #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT32X_MANT_DIG__ 53 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __cpp_aligned_new 201606L #define __WBNOINVD__ 1 #define __USER_LABEL_PREFIX__ #define __FLT32_MAX_10_EXP__ 38 #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define PETSC_HAVE_KOKKOS_KERNELS_GMRES 1 #define __cpp_decltype_auto 201304L #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __GXX_WEAK__ 1 #define __ABM__ 1 #define __SHRT_WIDTH__ 16 #define __FLT32_IS_IEC_60559__ 2 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __DBL_IS_IEC_60559__ 2 #define __DEC32_MAX__ 9.999999E96DF #define __cpp_threadsafe_static_init 200806L #define __cpp_enumerator_attributes 201411L #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FP_FAST_FMA 1 #define __tune_znver3__ 1 #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __unix__ 1 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201706L #define __UINT16_C(c) c #define __DECIMAL_DIG__ 21 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __DBL_DIG__ 15 #define __gnu_linux__ 1 #define __INT16_MAX__ 0x7fff #define __FLT64_MIN_EXP__ (-1021) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __FLT64X_MANT_DIG__ 64 #define __GNUC__ 11 #define __GXX_RTTI 1 #define __MMX__ 1 #define __XSAVES__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __XSAVEOPT__ 1 #define __BIGGEST_ALIGNMENT__ 32 #define __STDC_UTF_16__ 1 #define __PRFCHW__ 1 #define __FLT64_MAX_10_EXP__ 308 #define __cpp_delegating_constructors 200604L #define __FLT32_HAS_INFINITY__ 1 #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L) #define __cpp_raw_strings 200710L #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __SSE4_2__ 1 #define __SIZEOF_FLOAT__ 4 #define __cpp_fold_expressions 201603L #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT64X_HAS_INFINITY__ 1 #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __MMX_WITH_SSE__ 1 #define __LDBL_HAS_DENORM__ 1 #define __FLT_DIG__ 6 #define __cplusplus 201703L #define __cpp_ref_qualifiers 200710L #define __DEC32_MIN__ 1E-95DF #define __DEPRECATED 1 #define __POPCNT__ 1 #define __cpp_rvalue_references 200610L #define __DBL_MAX_EXP__ 1024 #define __VAES__ 1 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __FLT128_MAX_EXP__ 16384 #define __amd64 1 #define __AVX__ 1 #define __GNUG__ 11 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __LZCNT__ 1 #define __cpp_nsdmi 200809L #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __cpp_initializer_lists 200806L #define __FLT32_MAX_EXP__ 128 #define __cpp_hex_float 201603L #define __GXX_ABI_VERSION 1016 #define __FLT_MIN_EXP__ (-125) #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __x86_64 1 #define __cpp_lambdas 200907L #define __INT_FAST64_TYPE__ long int #define __FP_FAST_FMAF 1 #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __cpp_template_auto 201606L #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L) #define __CLFLUSHOPT__ 1 #define __PCLMUL__ 1 #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __FLT64X_NORM_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIZEOF_POINTER__ 8 #define __F16C__ 1 #define __LP64__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __FLT128_HAS_INFINITY__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __XSAVE__ 1 #define __CLWB__ 1 #define __DEC_EVAL_METHOD__ 2 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __FLT32X_MAX_10_EXP__ 308 #define __TARGET_LINUX__ 1 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "11.2.0 20210728 (Cray Inc.)" #define __UINT64_C(c) c ## UL #define __VPCLMULQDQ__ 1 #define __cpp_unicode_characters 201411L #define __FMA__ 1 #define _STDC_PREDEF_H 1 #define __GLIBCXX_TYPE_INT_N_0 __int128 #define __znver3__ 1 #define __INT_LEAST32_MAX__ 0x7fffffff #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __PKU__ 1 #define __cpp_aggregate_bases 201603L #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT128_HAS_DENORM__ 1 #define __FLT32_DECIMAL_DIG__ 9 #define __FLT128_DIG__ 33 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __INT_FAST32_TYPE__ long int #define __CRAYXT_COMPUTE_LINUX_TARGET 1 #define __linux__ 1 #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #define __DBL_HAS_DENORM__ 1 #define __cpp_rtti 199711L #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT_IS_IEC_60559__ 2 #define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-32LE" #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __cpp_digit_separators 201309L #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __UINT32_TYPE__ unsigned int #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __GLIBCXX_BITSIZE_INT_N_0 128 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __CRAY_X86_MILAN 1 #define __SIZEOF_PTRDIFF_T__ 8 #define __RDSEED__ 1 #define __BMI__ 1 #define __LDBL_DIG__ 18 #define __FLT64_IS_IEC_60559__ 2 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __GNUC_EXECUTION_CHARSET_NAME "UTF-8" #define __cpp_unicode_literals 200710L #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __cpp_structured_bindings 201606L #define __SIZEOF_INT__ 4 #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define __cpp_sized_deallocation 201309L #define __cpp_guaranteed_copy_elision 201606L #define linux 1 #define __AVX2__ 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSSE3__ 1 #define __EXCEPTIONS 1 #define __RDRND__ 1 #define __PTRDIFF_WIDTH__ 64 #define __LDBL_MANT_DIG__ 64 #define __cpp_range_based_for 201603L #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __cpp_nontype_template_args 201411L #define __DEC32_MANT_DIG__ 7 #define __cpp_return_type_deduction 201304L #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __cpp_decltype 200707L #define __SSE4A__ 1 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_NORM_MAX__ 3.40282346638528859811704183484516925e+38F #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __cpp_inline_variables 201606L #define __INT_MAX__ 0x7fffffff #define __SHA__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __cpp_inheriting_constructors 201511L #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __FP_FAST_FMAF32 1 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __FLT32_NORM_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __FP_FAST_FMAF64 1 #define __INT_LEAST64_WIDTH__ 64 #define __LDBL_MAX_EXP__ 16384 #define __SIZEOF_INT128__ 16 #define __FLT64X_IS_IEC_60559__ 2 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L) #define __FLT32_MIN_EXP__ (-125) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __GNUC_PATCHLEVEL__ 0 #define __FLT128_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __amd64__ 1 #define __FLT64_NORM_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __SSE3__ 1 #define __INT_FAST8_TYPE__ signed char #define __cpp_namespace_attributes 201411L #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __STDCPP_THREADS__ 1 #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __FP_FAST_FMAF32x 1 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __DBL_NORM_MAX__ double(1.79769313486231570814527423731704357e+308L) #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __INTMAX_WIDTH__ 64 #define __cpp_runtime_arrays 198712L #define __UINT64_TYPE__ long unsigned int #define __UINT32_C(c) c ## U #define __cpp_alias_templates 200704L #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __FLT128_IS_IEC_60559__ 2 #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __FLT32X_NORM_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __cpp_constexpr 201603L #define __SSE2__ 1 #define __cpp_deduction_guides 201703L #define __INT32_TYPE__ int #define __XSAVEC__ 1 #define __SIZEOF_DOUBLE__ 8 #define __cpp_exceptions 199711L #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MANT_DIG__ 24 #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __CLZERO__ 1 #define __DEC128_MAX_EXP__ 6145 #define __FSGSBASE__ 1 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 2 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __cpp_template_template_args 201611L #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __BMI2__ 1 #define __INT16_C(c) c #define __STDC__ 1 #define __MWAITX__ 1 #define __AES__ 1 #define __FLT32X_DIG__ 15 #define __PTRDIFF_TYPE__ long int #define __DEC64_MIN_EXP__ (-382) #define __ATOMIC_SEQ_CST 5 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1 #define __ADX__ 1 #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __cpp_generic_lambdas 201304L #define __SSE_MATH__ 1 #define __SIZEOF_LONG_LONG__ 8 #define __cpp_user_defined_literals 200809L #define __HAVE_SPECULATION_SAFE_VALUE 1 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32_HAS_QUIET_NAN__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __LDBL_NORM_MAX__ 1.18973149535723176502126385303097021e+4932L #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __UINT_FAST8_TYPE__ unsigned char #define _GNU_SOURCE 1 #define __cpp_init_captures 201304L #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 child config.compilerFlags took 0.536110 seconds Executing: cc --help | head -n 20 stdout: Usage: cc [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications, while still allowing users to use alternate versions by setting LD_LIBRARY_PATH. (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 dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. --craype-prepend-opt=[flag] Add 'flag' before all CrayPE generated flags. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using GCC or CCE. This enables a user to run such an application. without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE-Classic. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE-classic. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using CCE, AOCC, and GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Detected Cray PE wrapper compiler Executing: cc --version stdout: gcc (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GNU compiler ============================================================================================= TESTING: checkC99Flag from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:1384) Check for -std=c99 or equivalent flag Executing: cc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; float *restrict z = &y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*(*z); } (void)x; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O Accepted C99 compile flag: ============================================================================================= TESTING: checkCFormatting from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:359) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:370) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.compilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o -ldl 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(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:162) Determines the libraries needed to link with C compiled code Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -ldl C libraries are not needed when using Fortran linker Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.compilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -ldl C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:1335) 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-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O -MMD -MP /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC -MMD -MP /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Trying CUDA compiler flag -MMD -MP Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -MMD -MP -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -MMD -MP Defined make macro "CUDA_DEPFLAGS" to "-MMD -MP" Executing: CC --help | head -n 20 stdout: Usage: CC [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are disabled. 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-]add-runpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options and new dtags are enabled. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications, while still allowing users to use alternate versions by setting LD_LIBRARY_PATH. (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 dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. --craype-prepend-opt=[flag] Add 'flag' before all CrayPE generated flags. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using GCC or CCE. This enables a user to run such an application. without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE-Classic. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE-classic. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using CCE, AOCC, and GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Detected Cray PE wrapper compiler Executing: CC --version stdout: g++ (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GNU compiler ============================================================================================= TESTING: checkCxxRestrict from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:121) Check for the CXX restrict keyword equivalent to C99 restrict Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x; (void)x; return 0; } compilers: Set Cxx restrict keyword to : __restrict Defined "CXX_RESTRICT" to "__restrict" ============================================================================================= TESTING: checkCxxOptionalExtensions from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:389) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Executing: CC -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { public: int i; }; somename b; b.i = 0; (void)b.i; return 0; } Output from compiling with -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O ============================================================================================= TESTING: checkCxxComplexFix from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:416) Determine if the CXX compiler supports utilities provided by petsccxxcomplexfix.h Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:445) Determines the libraries needed to link with C++ from C and Fortran Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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"; }} Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.compilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `asub()': /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_allocate_exception' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_throw' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_begin_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `std::cout' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_GLOBAL__sub_I_conftest.cc': /opt/cray/pe/gcc/11.2.0/snos/include/g++/iostream:74: undefined reference to `std::ios_base::Init::Init()' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `__static_initialization_and_destruction_0': /opt/cray/pe/gcc/11.2.0/snos/include/g++/iostream:74: undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `asub()': /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_allocate_exception' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_throw' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_begin_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `std::cout' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_GLOBAL__sub_I_conftest.cc': /opt/cray/pe/gcc/11.2.0/snos/include/g++/iostream:74: undefined reference to `std::ios_base::Init::Init()' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `__static_initialization_and_destruction_0': /opt/cray/pe/gcc/11.2.0/snos/include/g++/iostream:74: undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `asub()': /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_allocate_exception' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_throw' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_begin_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `std::cout' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.cc:7: undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_GLOBAL__sub_I_conftest.cc': /opt/cray/pe/gcc/11.2.0/snos/include/g++/iostream:74: undefined reference to `std::ios_base::Init::Init()' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `__static_initialization_and_destruction_0': /opt/cray/pe/gcc/11.2.0/snos/include/g++/iostream:74: undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status: Executing: cc --version stdout: gcc (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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"; }} Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.compilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl compilers: C++ requires -lstdc++ to link with C compiler Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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"; }} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl C++ libraries are not needed when using FC linker Executing: CC -V ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:787) 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;} Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: gfortran --version stdout: GNU Fortran (GCC) 11.2.0 20210728 (Cray Inc.) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran8plus compiler Defined "FORTRAN_CHARLEN_T" to "size_t" ============================================================================================= TESTING: checkFortranNameManglingDouble from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:825) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.o: in function `main': conftest.F90:(.text+0x20): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.o: in function `main': conftest.F90:(.text+0x20): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/conftest.o: in function `main': conftest.F90:(.text+0x20): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkFortranLibraries from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:835) 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. Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.compilers/conftest.F90:2:11: 2 | use mpi | 1 Fatal Error: Cannot open module file 'mpi.mod' for reading at (1): No such file or directory compilation terminated. Source: program main use mpi call MPI_Allreduce() end Compile failed inside link Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.compilers/conftest.F90:3:2: 3 | call MPI_Allreduce() | 1 ~~~ Fatal Error: mpif.h: No such file or directory compilation terminated. Source: program main #include call MPI_Allreduce() end Compile failed inside link Executing: gfortran -V Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' return end Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.compilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl Fortran libraries are not needed when using C linker Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' return end Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void asub_(void); int main(int argc,char **args) { asub_(); return 0; } Executing: CC -o /tmp/petsc-tbq3au3i/config.compilers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl Fortran libraries are not needed when using C++ linker ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:1300) Check that Fortran can link C++ libraries Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Executing: CC -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/cxxobj.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(/global/u2/m/madams/petsc/config/BuildSystem/config/compilers.py:1452) Sets the selected compilers into the framework child config.compilers took 4.301062 seconds ============================================================================================= TESTING: checkFortranTypeSizes from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:56) Check whether real*8 is supported and suggest flags which will allow support Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90:2:21: 2 | real*8 variable | 1 Warning: Unused variable 'variable' declared at (1) [-Wunused-variable] Source: program main real*8 variable end ============================================================================================= TESTING: checkFortranPreprocessor from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:73) Determine if Fortran handles preprocessing properly Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O compilers: Fortran uses preprocessor ============================================================================================= TESTING: checkFortranDefineCompilerOption from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:96) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O -DTesting /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O -DTesting Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro ============================================================================================= TESTING: checkFortran90 from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:147) Determine whether the Fortran compiler handles F90 Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90:3:43: 3 | REAL(KIND=SELECTED_REAL_KIND(10)) d | 1 Warning: Unused variable 'd' declared at (1) [-Wunused-variable] 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: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -lstdc++ -ldl Fortran compiler supports F90 ============================================================================================= TESTING: checkFortran90FreeForm from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:174) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "USING_F90FREEFORM" to "1" Fortran compiler supports F90FreeForm ============================================================================================= TESTING: checkFortran2003 from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:188) Determine whether the Fortran compiler handles F2003 Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/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: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 ============================================================================================= TESTING: checkFortran90Array from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:223) Check for F90 array interfaces Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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 Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/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: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o /tmp/petsc-tbq3au3i/config.compilersFortran/fooobj.o -lstdc++ -ldl Testing executable /tmp/petsc-tbq3au3i/config.compilersFortran/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.compilersFortran/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.compilersFortran/conftest stdout: arrays [0x7ffc23e1e9a0 0x7ffc23e1e9a0 0x7ffc23e1e9a0] arrays [0x7ffc23e1e940 0x7ffc23e1e8e0 0x7ffc23e1e940] pointers do not match! [(nil) 0x7ffc23e1e9a0] [0x7ffc23e1e9a0] ERROR while running executable: Could not execute "['/tmp/petsc-tbq3au3i/config.compilersFortran/conftest']": arrays [0x7ffc23e1e9a0 0x7ffc23e1e9a0 0x7ffc23e1e9a0] arrays [0x7ffc23e1e940 0x7ffc23e1e8e0 0x7ffc23e1e940] pointers do not match! [(nil) 0x7ffc23e1e9a0] [0x7ffc23e1e9a0] compilers: F90 uses a single argument for array pointers ============================================================================================= TESTING: checkFortran90AssumedType from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:310) Check if Fortran compiler array pointer is a raw pointer in C Executing: gfortran -qversion ============================================================================================= TESTING: checkFortranModuleInclude from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:316) Figures out what flag is used to specify the include path for Fortran modules Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -I/tmp/petsc-tbq3au3i/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o /tmp/petsc-tbq3au3i/config.compilersFortran/configtest.o -lstdc++ -ldl compilers: Fortran module include flag -I found ============================================================================================= TESTING: checkFortranModuleOutput from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:382) Figures out what flag is used to specify the output path for Fortran modules Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -module /tmp/petsc-tbq3au3i/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command-line option '-module'; did you mean '-Mmodules'? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -module:/tmp/petsc-tbq3au3i/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command-line option '-module:/tmp/petsc-tbq3au3i/config.compilersFortran/confdir' Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fmod=/tmp/petsc-tbq3au3i/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command-line option '-fmod=/tmp/petsc-tbq3au3i/config.compilersFortran/confdir' Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -J/tmp/petsc-tbq3au3i/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:136) Determine whether the Fortran compiler handles type(*) Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:126) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:116) Determine if Fortran has a flush() command Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Successful compile: Source: program main call flush(6) end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_FLUSH" to "1" ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:427) Check if -MMD works for dependency generation, and add it if it does Trying FC compiler flag -MMD -MP Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.setCompilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O -MMD -MP /tmp/petsc-tbq3au3i/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O -MMD -MP Defined make macro "FC_DEPFLAGS" to "-MMD -MP" ============================================================================================= TESTING: checkFortran90LineLength from config.compilersFortran(/global/u2/m/madams/petsc/config/BuildSystem/config/compilersFortran.py:163) Determine whether the Fortran compiler has infinite line length Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr,ierr2; ierr = 1; ierr2 = 2 end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_FREE_LINE_LENGTH_NONE" to "1" Fortran compiler has unlimited line length child config.compilersFortran took 1.519127 seconds ============================================================================================= TESTING: checkStdC from config.headers(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:107) Determine if C standard headers support everything PETSc needs Executing: cc -c -o /tmp/petsc-tbq3au3i/config.headers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c ======== Checking running linked program Executing: cc -c -o /tmp/petsc-tbq3au3i/config.headers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.headers/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.headers/conftest.o -lstdc++ -ldl Testing executable /tmp/petsc-tbq3au3i/config.headers/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.headers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.headers/conftest ============================================================================================= TESTING: checkSysWait from config.headers(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:141) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found Executing: cc -c -o /tmp/petsc-tbq3au3i/config.headers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:163) 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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIME_H" to "1" ============================================================================================= TESTING: checkMath from config.headers(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:169) 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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Executing: cc -c -o /tmp/petsc-tbq3au3i/config.headers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; (void)pi; return 0; } Found math #defines, like M_PI ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/global/u2/m/madams/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: checkRecursiveMacros from config.headers(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:184) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO Executing: cc -c -o /tmp/petsc-tbq3au3i/config.headers/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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 took 2.907983 seconds ============================================================================================= TESTING: configureL1CacheLineSize from config.utilities.cacheDetails(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/cacheDetails.py:127) Try to determine the size (in bytes) of an L1 cacheline. On success defines the variable PETSC_LEVEL1_DCACHE_LINESIZE to the determined value. Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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 val >= 0 ? val : 32; } int main() { getconf_level1_dcache_linesize();; return 0; } ======== Checking running linked program Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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 val >= 0 ? val : 32; } int main() { FILE *output = fopen("conftestval", "w"); if (!output) return 1; fprintf(output, "%ld", (long)getconf_level1_dcache_linesize()); fclose(output);; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest.o -lstdc++ -ldl Testing executable /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.utilities.cacheDetails/conftest Defined "LEVEL1_DCACHE_LINESIZE" to "64" child config.utilities.cacheDetails took 0.306976 seconds ============================================================================================= TESTING: check_struct_sigaction from config.types(/global/u2/m/madams/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 Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { struct sigaction a; (void)a; return 0; } struct sigaction found Defined "HAVE_STRUCT_SIGACTION" to "1" ============================================================================================= TESTING: check__int64 from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:48) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.types/conftest.c: In function 'main': /tmp/petsc-tbq3au3i/config.types/conftest.c:11:1: error: unknown type name '__int64'; did you mean '__int64_t'? 11 | __int64 a; | ^~~~~~~ | __int64_t Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { __int64 a; (void)a; return 0; } __int64 found ============================================================================================= TESTING: checkSizeTypes from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:54) Checks for types associated with sizes, such as size_t. Checking for type: size_t Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { size_t a; (void)a; return 0; } size_t found ============================================================================================= TESTING: checkFileTypes from config.types(/global/u2/m/madams/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 Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { mode_t a; (void)a; return 0; } mode_t found Checking for type: off_t Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { off_t a; (void)a; return 0; } off_t found ============================================================================================= TESTING: checkIntegerTypes from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:59) Checks for types associated with integers, such as int32_t. Checking for type: int32_t Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a; (void)a; return 0; } int32_t found ============================================================================================= TESTING: checkPID from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:70) Checks for pid_t, and defines it if necessary Checking for type: pid_t Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { pid_t a; (void)a; return 0; } pid_t found ============================================================================================= TESTING: checkC99Complex from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:74) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; (void)x; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; (void)x; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.types/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { double _Complex x; x = I; (void)x; return 0; } Defined "HAVE_C99_COMPLEX" to "1" ============================================================================================= TESTING: checkCxxComplex from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:88) Check for complex numbers in namespace std Executing: CC -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; (void)x; return 0; } Executing: CC -o /tmp/petsc-tbq3au3i/config.types/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O /tmp/petsc-tbq3au3i/config.types/conftest.o -lstdc++ -ldl Defined "HAVE_CXX_COMPLEX" to "1" ============================================================================================= TESTING: checkSizeof from config.types(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: enum Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:133) Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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" Executing: CC -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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(/global/u2/m/madams/petsc/config/BuildSystem/config/types.py:155) Sets PETSC_MAX_PATH_LEN depending on values available on the system Determining PETSC_MAX_PATH_LEN Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.types /tmp/petsc-tbq3au3i/config.types/conftest.c Defined "MAX_PATH_LEN" to "4096" child config.types took 1.703343 seconds ============================================================================================= TESTING: configureMemAlign from PETSc.options.memAlign(/global/u2/m/madams/petsc/config/PETSc/options/memAlign.py:28) Choose memory alignment Defined "MEMALIGN" to "16" Memory alignment is 16 child PETSc.options.memAlign took 0.001740 seconds ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkMath from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:297) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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; int s = scanf("%lf",&x); y = sin(x); printf("%f %d",y,s); ; } #include double floor(double); static void _check_floor() { double x,y; int s = scanf("%lf",&x); y = floor(x); printf("%f %d",y,s); ; } #include double log10(double); static void _check_log10() { double x,y; int s = scanf("%lf",&x); y = log10(x); printf("%f %d",y,s); ; } #include double pow(double, double); static void _check_pow() { double x,y; int s = scanf("%lf",&x); y = pow(x,x); printf("%f %d",y,s); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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; int s = scanf("%lf",&x); y = sin(x); printf("%f %d",y,s); ; } #include double floor(double); static void _check_floor() { double x,y; int s = scanf("%lf",&x); y = floor(x); printf("%f %d",y,s); ; } #include double log10(double); static void _check_log10() { double x,y; int s = scanf("%lf",&x); y = log10(x); printf("%f %d",y,s); ; } #include double pow(double, double); static void _check_pow() { double x,y; int s = scanf("%lf",&x); y = pow(x,x); printf("%f %d",y,s); ; } void dummy(void) {_check_sin(); _check_floor(); _check_log10(); _check_pow();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl CheckMath: using math library [] ============================================================================================= TESTING: checkMathErf from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:318) Check for erf() in libm, the math library Checking for functions [erf] in library [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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); (void)y; } int main() { _check_erf();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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)y; } void dummy(void) {_check_erf();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl erf() found Defined "HAVE_ERF" to "1" ============================================================================================= TESTING: checkMathTgamma from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:327) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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); (void)y; } int main() { _check_tgamma();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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)y; } void dummy(void) {_check_tgamma();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl tgamma() found Defined "HAVE_TGAMMA" to "1" ============================================================================================= TESTING: checkMathLgamma from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:336) Check for lgamma() in libm, the math library Checking for functions [lgamma] in library [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl lgamma() found Defined "HAVE_LGAMMA" to "1" ============================================================================================= TESTING: checkMathFenv from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:349) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl Defined "HAVE_FENV_H" to "1" Checking for functions [feclearexcept] in library [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_feclearexcept() { feclearexcept(FE_INEXACT);; } int main() { _check_feclearexcept();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_feclearexcept() { feclearexcept(FE_INEXACT);; } void dummy(void) {_check_feclearexcept();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl Defined "HAVE_FE_VALUES" to "1" ============================================================================================= TESTING: checkMathLog2 from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:361) Check for log2() in libm, the math library Checking for functions [log2] in library [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); (void)y; } int main() { _check_log2();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); (void)y; } void dummy(void) {_check_log2();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl log2() found Defined "HAVE_LOG2" to "1" ============================================================================================= TESTING: checkRealtime from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:370) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lstdc++ -ldl realtime functions are linked in by default ============================================================================================= TESTING: checkDynamic from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:386) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -ldl -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -ldl -lstdc++ -ldl 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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" ============================================================================================= TESTING: checkExecutableExportFlag from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:612) Checks for the flag that allows executables to export symbols to dlsym() ======== Checking running linked program Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef PETSC_HAVE_DLFCN_H #include #endif #define PETSC_DLLEXPORT __attribute__((visibility ("default"))) extern PETSC_DLLEXPORT int foo() { return 42; } int main() { void *lib; int (*foo)(); lib = dlopen(NULL, RTLD_LAZY); if (!lib) { fprintf(stderr, "Could not open executable: %s\n", dlerror()); exit(1); } foo = (int (*)(void)) dlsym(lib, "foo"); if (!foo) { fprintf(stderr, "Could not find function in executable\n"); exit(1); } if ((*foo)() != 42) { fprintf(stderr, "Could not run function\n"); exit(1); } ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl -ldl Testing executable /tmp/petsc-tbq3au3i/config.libraries/conftest to see if it can be run Executing: /tmp/petsc-tbq3au3i/config.libraries/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-tbq3au3i/config.libraries/conftest Executable exports symbols for dlopen() Defined "HAVE_EXECUTABLE_EXPORT" to "1" Defined make macro "EXEFLAGS" to "" child config.libraries took 3.668781 seconds ============================================================================================= TESTING: configureLibraryOptions from PETSc.options.libraryOptions(/global/u2/m/madams/petsc/config/PETSc/options/libraryOptions.py:38) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE, PETSC_USE_DMLANDAU_2D, 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" Defined "USE_DMLANDAU_2D" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_bgl_perfctr_void': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_bgl_perfctr_void': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_bgl_perfctr_void': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status: Checking for functions [ADIOI_BGL_Open] in library [''] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_ADIOI_BGL_Open': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_ADIOI_BGL_Open': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_ADIOI_BGL_Open': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status: *********BGL/IBM test failure Defined "USE_BACKWARD_LOOP" to "1" Defined "USE_AVX512_KERNELS" to "1" ============================================================================================= TESTING: configureISColorValueType from PETSc.options.libraryOptions(/global/u2/m/madams/petsc/config/PETSc/options/libraryOptions.py:98) 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 took 0.395985 seconds child config.atomics took 0.000010 seconds ============================================================================================= TESTING: checkSysinfo from config.functions(/global/u2/m/madams/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] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SYSINFO" to "1" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.functions/conftest.c:9:4: error: #error "Cannot check sysinfo without special headers" 9 | # error "Cannot check sysinfo without special headers" | ^~~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c: In function 'main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:13:30: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 13 | char buf[10]; long count=10; sysinfo(1, buf, count); | ^~~~~~~ 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: checkVSNPrintf from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:125) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp = { 0 };char str[6]; vsnprintf(str,5, "%d", Argp ); return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VSNPRINTF" to "1" ============================================================================================= TESTING: checkNanosleep from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:155) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_NANOSLEEP" to "1" ============================================================================================= TESTING: checkMemmove from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:161) Check for functional memmove() - as MS VC requires correct includes to for this test Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MEMMOVE" to "1" ============================================================================================= TESTING: checkSignalHandlerType from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:131) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Executing: CC -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "SIGNAL_CAST" to " " ============================================================================================= TESTING: checkFreeReturnType from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:141) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.functions/conftest.c: In function 'main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be 6 | int ierr; void *p; ierr = free(p); return ierr; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return ierr; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVariableArgumentLists from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:147) Checks whether the variable argument list functionality is working Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VA_COPY" to "1" ============================================================================================= TESTING: checkClassify from config.functions(/global/u2/m/madams/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 [dlsym _sleep realpath snprintf fpresetsticky _pipe usleep fstatat popen rand _mkdir getdomainname sbreak stricmp access fpsetsticky strcasecmp dlerror posix_memalign clock uname getwd PXFGETARG gethostname lseek fork _access _lseek dlopen getpagesize gethostbyname drand48 time bzero sleep _getcwd readlink dlclose __gcov_dump getrusage _set_output_format _snprintf socket getcwd] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-tbq3au3i/config.functions/conftest.c:16:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 16 | char snprintf(); | ^~~~~~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:6:1: note: 'snprintf' is declared in header '' 5 | #include +++ |+#include 6 | /* Override any gcc2 internal prototype to avoid an error. */ /tmp/petsc-tbq3au3i/config.functions/conftest.c:29:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 29 | char strcasecmp(); | ^~~~~~~~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:31:6: warning: conflicting types for built-in function 'posix_memalign'; expected 'int(void **, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 31 | char posix_memalign(); | ^~~~~~~~~~~~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:38:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 38 | char fork(); | ^~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:46:6: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 46 | char bzero(); | ^~~~~ 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 dlsym(); char _sleep(); char realpath(); char snprintf(); char fpresetsticky(); char _pipe(); char usleep(); char fstatat(); char popen(); char rand(); char _mkdir(); char getdomainname(); char sbreak(); char stricmp(); char access(); char fpsetsticky(); char strcasecmp(); char dlerror(); char posix_memalign(); char clock(); char uname(); char getwd(); char PXFGETARG(); char gethostname(); char lseek(); char fork(); char _access(); char _lseek(); char dlopen(); char getpagesize(); char gethostbyname(); char drand48(); char time(); char bzero(); char sleep(); char _getcwd(); char readlink(); char dlclose(); char __gcov_dump(); char getrusage(); char _set_output_format(); char _snprintf(); char socket(); char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_fstatat) || defined (__stub___fstatat) fstatat_will_always_fail_with_ENOSYS(); #else fstatat(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_posix_memalign) || defined (__stub___posix_memalign) posix_memalign_will_always_fail_with_ENOSYS(); #else posix_memalign(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub___gcov_dump) || defined (__stub_____gcov_dump) __gcov_dump_will_always_fail_with_ENOSYS(); #else __gcov_dump(); #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__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:193: warning: the `getwd' function is dangerous and should not be used. /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:73: undefined reference to `_sleep' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:91: undefined reference to `fpresetsticky' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:97: undefined reference to `_pipe' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:127: undefined reference to `_mkdir' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:139: undefined reference to `sbreak' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:145: undefined reference to `stricmp' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:157: undefined reference to `fpsetsticky' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:199: undefined reference to `PXFGETARG' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:223: undefined reference to `_access' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:229: undefined reference to `_lseek' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:277: undefined reference to `_getcwd' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:295: undefined reference to `__gcov_dump' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:307: undefined reference to `_set_output_format' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:313: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:193: warning: the `getwd' function is dangerous and should not be used. /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:73: undefined reference to `_sleep' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:91: undefined reference to `fpresetsticky' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:97: undefined reference to `_pipe' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:127: undefined reference to `_mkdir' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:139: undefined reference to `sbreak' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:145: undefined reference to `stricmp' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:157: undefined reference to `fpsetsticky' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:199: undefined reference to `PXFGETARG' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:223: undefined reference to `_access' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:229: undefined reference to `_lseek' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:277: undefined reference to `_getcwd' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:295: undefined reference to `__gcov_dump' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:307: undefined reference to `_set_output_format' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:313: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:193: warning: the `getwd' function is dangerous and should not be used. /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:73: undefined reference to `_sleep' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:91: undefined reference to `fpresetsticky' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:97: undefined reference to `_pipe' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:127: undefined reference to `_mkdir' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:139: undefined reference to `sbreak' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:145: undefined reference to `stricmp' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:157: undefined reference to `fpsetsticky' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:199: undefined reference to `PXFGETARG' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:223: undefined reference to `_access' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:229: undefined reference to `_lseek' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:277: undefined reference to `_getcwd' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:295: undefined reference to `__gcov_dump' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:307: undefined reference to `_set_output_format' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.c:313: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status: Checking for functions [dlsym realpath usleep fstatat popen rand getdomainname strcasecmp dlerror posix_memalign clock uname] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-tbq3au3i/config.functions/conftest.c:20:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 20 | char strcasecmp(); | ^~~~~~~~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:22:6: warning: conflicting types for built-in function 'posix_memalign'; expected 'int(void **, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 22 | char posix_memalign(); | ^~~~~~~~~~~~~~ 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 dlsym(); char realpath(); char usleep(); char fstatat(); char popen(); char rand(); char getdomainname(); char strcasecmp(); char dlerror(); char posix_memalign(); char clock(); char uname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_fstatat) || defined (__stub___fstatat) fstatat_will_always_fail_with_ENOSYS(); #else fstatat(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_posix_memalign) || defined (__stub___posix_memalign) posix_memalign_will_always_fail_with_ENOSYS(); #else posix_memalign(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_DLSYM" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_FSTATAT" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_RAND" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_POSIX_MEMALIGN" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_UNAME" to "1" Checking for functions [gethostname fork dlopen getpagesize gethostbyname drand48 time bzero readlink dlclose getrusage socket] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-tbq3au3i/config.functions/conftest.c:14:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 14 | char fork(); | ^~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:20:6: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 20 | char bzero(); | ^~~~~ 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 gethostname(); char fork(); char dlopen(); char getpagesize(); char gethostbyname(); char drand48(); char time(); char bzero(); char readlink(); char dlclose(); char getrusage(); char socket(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_TIME" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_SOCKET" to "1" Checking for functions [_sleep] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_sleep' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_sleep' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_sleep' collect2: error: ld returned 1 exit status: Checking for functions [snprintf] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.c Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-tbq3au3i/config.functions/conftest.c:13:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 13 | char snprintf(); | ^~~~~~~~ /tmp/petsc-tbq3au3i/config.functions/conftest.c:6:1: note: 'snprintf' is declared in header '' 5 | #include +++ |+#include 6 | /* Override any gcc2 internal prototype to avoid an error. */ 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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [fpresetsticky] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status: Checking for functions [_pipe] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_pipe' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_pipe' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_pipe' collect2: error: ld returned 1 exit status: Checking for functions [_mkdir] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_mkdir' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_mkdir' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_mkdir' collect2: error: ld returned 1 exit status: Checking for functions [sbreak] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `sbreak' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `sbreak' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `sbreak' collect2: error: ld returned 1 exit status: Checking for functions [stricmp] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `stricmp' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `stricmp' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `stricmp' collect2: error: ld returned 1 exit status: Checking for functions [access] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [fpsetsticky] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status: Checking for functions [getwd] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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 getwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker:exit code 0 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: warning: the `getwd' function is dangerous and should not be used. Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: warning: the `getwd' function is dangerous and should not be used. : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: warning: the `getwd' function is dangerous and should not be used.: Checking for functions [PXFGETARG] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status: Checking for functions [lseek] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [_access] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_access' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_access' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_access' collect2: error: ld returned 1 exit status: Checking for functions [_lseek] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_lseek' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_lseek' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_lseek' collect2: error: ld returned 1 exit status: Checking for functions [sleep] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [_getcwd] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_getcwd' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_getcwd' collect2: error: ld returned 1 exit status: Checking for functions [__gcov_dump] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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 __gcov_dump(); #ifdef __cplusplus } #endif int main() { #if defined (__stub___gcov_dump) || defined (__stub_____gcov_dump) __gcov_dump_will_always_fail_with_ENOSYS(); #else __gcov_dump(); #endif ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status: Checking for functions [_set_output_format] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status: Checking for functions [_snprintf] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.functions/conftest.o: in function `main': /tmp/petsc-tbq3au3i/config.functions/conftest.c:24: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status: Checking for functions [getcwd] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETCWD" to "1" ============================================================================================= TESTING: checkMmap from config.functions(/global/u2/m/madams/petsc/config/BuildSystem/config/functions.py:167) Check for functional mmap() to allocate shared memory and define HAVE_MMAP Executing: cc -c -o /tmp/petsc-tbq3au3i/config.functions/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.functions/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MMAP" to "1" child config.functions took 5.244684 seconds ============================================================================================= TESTING: configureMemorySize from config.utilities.getResidentSetSize(/global/u2/m/madams/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 took 0.001495 seconds ============================================================================================= TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/fortranCommandLine.py:26) Check for the mechanism to retrieve command line arguments in Fortran Checking for functions [] in library [''] [] Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/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: gfortran -o /tmp/petsc-tbq3au3i/config.libraries/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" child config.utilities.fortranCommandLine took 0.091970 seconds ============================================================================================= TESTING: configureFPTrap from config.utilities.FPTrap(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/FPTrap.py:26) 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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: Checking for header: fpxcp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated.: Checking for header: floatingpoint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated.: child config.utilities.FPTrap took 0.095819 seconds ============================================================================================= TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: sysctl.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler:exit code 0 stderr: In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.c:4: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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" Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(*(void **)&exit, &info) == 0) return 1; ; return 0; } Defined "_GNU_SOURCE" to "1" child config.utilities.featureTestMacros took 0.233336 seconds ============================================================================================= TESTING: configureMissingUtypeTypedefs from config.utilities.missing(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/missing.py:54) Checks if u_short is undefined Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; (void)foo; return 0; } ============================================================================================= TESTING: configureMissingFunctions from config.utilities.missing(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/missing.py:60) Checks for SOCKETS and getline Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *lineptr; size_t n; FILE *stream; int main() { getline(&lineptr, &n, stream); ; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: configureMissingSignals from config.utilities.missing(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/missing.py:80) Check for missing signals, and define MISSING_ if necessary Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; (void)i; return 0; } Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; (void)i; return 0; } ============================================================================================= TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/missing.py:97) Check for missing function prototype for getdomainname() Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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; } Executing: CC -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.utilities.missing/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: configureMissingSrandPrototype from config.utilities.missing(/global/u2/m/madams/petsc/config/BuildSystem/config/utilities/missing.py:123) Checks for missing random number generator prototypes Executing: cc -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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; } Executing: CC -c -o /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.missing -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O -std=gnu++17 -fPIC /tmp/petsc-tbq3au3i/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-tbq3au3i/config.utilities.missing/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -O /tmp/petsc-tbq3au3i/config.utilities.missing/conftest.o -lstdc++ -ldl child config.utilities.missing took 1.745919 seconds ============================================================================================= TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/global/u2/m/madams/petsc/config/PETSc/options/sharedLibraries.py:33) if user specified out-dated 'with-shared' or 'with-dynamic' - flag an error ============================================================================================= TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(/global/u2/m/madams/petsc/config/PETSc/options/sharedLibraries.py:48) 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 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 -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O -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(/global/u2/m/madams/petsc/config/PETSc/options/sharedLibraries.py:92) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ============================================================================================= TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(/global/u2/m/madams/petsc/config/PETSc/options/sharedLibraries.py:98) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ============================================================================================= TESTING: checkSymbolResolution from PETSc.options.sharedLibraries(/global/u2/m/madams/petsc/config/PETSc/options/sharedLibraries.py:107) Checks that dladdr() works Executing: cc -c -o /tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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(*(void **)&exit, &info) == 0) return 1; ; 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-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.headers/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.headers/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-tbq3au3i/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: child PETSc.options.sharedLibraries took 0.118133 seconds ============================================================================================= TESTING: configureScalarType from PETSc.options.scalarTypes(/global/u2/m/madams/petsc/config/PETSc/options/scalarTypes.py:42) Choose between real and complex numbers Scalar type is real Executing: cc -c -o /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnormal(b);(void)a; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNORMAL" to "1" Executing: cc -c -o /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b);(void)a; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNAN" to "1" Executing: cc -c -o /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b);(void)a; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISINF" to "1" ============================================================================================= TESTING: configurePrecision from PETSc.options.scalarTypes(/global/u2/m/madams/petsc/config/PETSc/options/scalarTypes.py:83) Set the default real number precision for PETSc objects Checking C compiler works with __float128 Checking for functions [logq] in library ['quadmath'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_logq() { __float128 f = 0.0; logq(f); } int main() { _check_logq();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_logq() { __float128 f = 0.0; logq(f); } void dummy(void) {_check_logq();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lquadmath -lstdc++ -ldl Defined "HAVE_LIBQUADMATH" to "1" C compiler with quadmath library Checking Fortran works with quadmath library Checking for functions [ ] in library ['quadmath'] [] Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.libraries/conftest.F90 Successful compile: Source: program main real*16 s,w; w = 2.0; s = cos(w) end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.libraries/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Fortran works with quadmath library Checking for functions [logq] in library ['quadmath'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_logq() { __float128 f = 0.0; logq(f); } int main() { _check_logq();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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_logq() { __float128 f = 0.0; logq(f); } void dummy(void) {_check_logq();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lquadmath -lstdc++ -ldl Defined "HAVE_LIBQUADMATH" to "1" Adding ['quadmath'] to LIBS Defined "HAVE_REAL___FLOAT128" to "1" Checking C compiler works with __fp16 Checking for functions [] in library [''] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-tbq3au3i/config.libraries/conftest.c:4:8: error: unknown type name '__fp16' 4 | static __fp16 ret___fp16(__fp16 f) { return f; } | ^~~~~~ /tmp/petsc-tbq3au3i/config.libraries/conftest.c:4:26: error: unknown type name '__fp16' 4 | static __fp16 ret___fp16(__fp16 f) { return f; } | ^~~~~~ /tmp/petsc-tbq3au3i/config.libraries/conftest.c: In function '_check_': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5:25: error: unknown type name '__fp16' 5 | static void _check_() { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } | ^~~~~~ /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5:48: warning: implicit declaration of function 'ret___fp16' [-Wimplicit-function-declaration] 5 | static void _check_() { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } | ^~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ static __fp16 ret___fp16(__fp16 f) { return f; } static void _check_() { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } int main() { _check_();; return 0; } Compile failed inside link Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double child PETSc.options.scalarTypes took 1.324274 seconds ============================================================================================= TESTING: configureMkdir from config.programs(/global/u2/m/madams/petsc/config/BuildSystem/config/programs.py:21) Make sure we can have mkdir automatically make intermediate directories Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/mkdir...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/mkdir...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/mkdir...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/mkdir...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/mkdir...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/mkdir...not found Checking for program /global/common/software/nersc/bin/mkdir...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/mkdir...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/mkdir...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/mkdir...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/mkdir...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/mkdir...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/mkdir...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/mkdir...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/mkdir...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/mkdir...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/mkdir...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/mkdir...not found Checking for program /opt/cray/libfabric/1.15.0.0/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(/global/u2/m/madams/petsc/config/BuildSystem/config/programs.py:43) Check for autoreconf Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/autoreconf...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/autoreconf...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/autoreconf...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/autoreconf...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/autoreconf...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/autoreconf...not found Checking for program /global/common/software/nersc/bin/autoreconf...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/autoreconf...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/autoreconf...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/autoreconf...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/autoreconf...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/autoreconf...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/autoreconf...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/autoreconf...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/autoreconf...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/autoreconf...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/autoreconf...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/autoreconf...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/libtoolize...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/libtoolize...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/libtoolize...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/libtoolize...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/libtoolize...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/libtoolize...not found Checking for program /global/common/software/nersc/bin/libtoolize...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/libtoolize...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/libtoolize...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/libtoolize...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/libtoolize...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/libtoolize...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/libtoolize...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/libtoolize...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/libtoolize...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/libtoolize...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/libtoolize...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/libtoolize...not found Checking for program /opt/cray/libfabric/1.15.0.0/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(/global/u2/m/madams/petsc/config/BuildSystem/config/programs.py:73) Check for the programs needed to build and run PETSc Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/bash...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/bash...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/bash...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/bash...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/bash...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/bash...not found Checking for program /global/common/software/nersc/bin/bash...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bash...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/bash...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/bash...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/bash...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/bash...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/bash...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/bash...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/bash...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/bash...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/bash...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/bash...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/bash...not found Checking for program /usr/local/bin/bash...not found Checking for program /usr/bin/bash...found Defined make macro "SHELL" to "/usr/bin/bash" Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/sed...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/sed...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/sed...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/sed...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/sed...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/sed...not found Checking for program /global/common/software/nersc/bin/sed...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/sed...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/sed...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/sed...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/sed...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/sed...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/sed...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/sed...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/sed...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/sed...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/sed...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/sed...not found Checking for program /opt/cray/libfabric/1.15.0.0/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-tbq3au3i/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/mv...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/mv...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/mv...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/mv...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/mv...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/mv...not found Checking for program /global/common/software/nersc/bin/mv...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/mv...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/mv...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/mv...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/mv...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/mv...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/mv...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/mv...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/mv...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/mv...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/mv...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/mv...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/cp...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/cp...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/cp...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/cp...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/cp...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/cp...not found Checking for program /global/common/software/nersc/bin/cp...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/cp...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/cp...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/cp...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/cp...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/cp...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/cp...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/cp...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/cp...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/cp...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/cp...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/cp...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/grep...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/grep...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/grep...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/grep...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/grep...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/grep...not found Checking for program /global/common/software/nersc/bin/grep...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/grep...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/grep...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/grep...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/grep...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/grep...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/grep...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/grep...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/grep...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/grep...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/grep...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/grep...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/rm...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/rm...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/rm...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/rm...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/rm...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/rm...not found Checking for program /global/common/software/nersc/bin/rm...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/rm...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/rm...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/rm...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/rm...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/rm...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/rm...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/rm...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/rm...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/rm...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/rm...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/rm...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/diff...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/diff...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/diff...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/diff...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/diff...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/diff...not found Checking for program /global/common/software/nersc/bin/diff...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/diff...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/diff...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/diff...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/diff...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/diff...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/diff...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/diff...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/diff...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/diff...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/diff...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/diff...not found Checking for program /opt/cray/libfabric/1.15.0.0/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-tbq3au3i/config.programs/diff1" "/tmp/petsc-tbq3au3i/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 /global/homes/m/madams/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/m4...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/m4...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/m4...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/m4...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/m4...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/m4...not found Checking for program /global/common/software/nersc/bin/m4...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/m4...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/m4...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/m4...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/m4...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/m4...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/m4...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/m4...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/m4...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/m4...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/m4...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/m4...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 took 1.783367 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.make(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: configureMake from config.packages.make(/global/u2/m/madams/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/gmake...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/gmake...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/gmake...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/gmake...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/gmake...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/gmake...not found Checking for program /global/common/software/nersc/bin/gmake...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/gmake...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/gmake...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/gmake...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/gmake...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/gmake...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/gmake...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/gmake...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/gmake...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/gmake...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/gmake...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/gmake...not found Checking for program /opt/cray/libfabric/1.15.0.0/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 /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/make...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/make...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/make...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/make...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/make...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/make...not found Checking for program /global/common/software/nersc/bin/make...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/make...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/make...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/make...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/make...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/make...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/make...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/make...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/make...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/make...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/make...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/make...not found Checking for program /opt/cray/libfabric/1.15.0.0/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(/global/u2/m/madams/petsc/config/BuildSystem/config/packages/make.py:150) Setup other GNU make stuff 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(/global/u2/m/madams/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 using user-provided make_np = 8 Defined make macro "MAKE_NP" to "8" 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 took 0.016830 seconds ============================================================================================= TESTING: locateBison from config.packages.bison(/global/u2/m/madams/petsc/config/BuildSystem/config/packages/bison.py:30) Looking for default Bison executable Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/bison...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/bison...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/bison...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/bison...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/bison...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/bison...not found Checking for program /global/common/software/nersc/bin/bison...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bison...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/bison...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/bison...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/bison...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/libnvvp/bison...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Compute/bison...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/profilers/Nsight_Systems/bin/bison...not found Checking for program /global/common/software/nersc/pm-2022q3/sw/darshan/3.4.0/bin/bison...not found Checking for program /opt/cray/pe/gcc/11.2.0/bin/bison...not found Checking for program /opt/cray/pe/perftools/22.06.0/bin/bison...not found Checking for program /opt/cray/pe/papi/6.0.0.15/bin/bison...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/bison...not found Checking for program /usr/local/bin/bison...not found Checking for program /usr/bin/bison...found Defined make macro "BISON" to "/usr/bin/bison" Executing: /usr/bin/bison --version stdout: bison (GNU Bison) 3.0.4 Written by Robert Corbett and Richard Stallman. Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. child config.packages.bison took 0.010096 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sycl(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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.sycl(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default child config.packages.sycl took 0.001502 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hip(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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.hip(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default child config.packages.hip took 0.000869 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.X(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:968) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.X(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:994) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 [] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_XSetWMName': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_XSetWMName': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.libraries/conftest.o: in function `_check_XSetWMName': /tmp/petsc-tbq3au3i/config.libraries/conftest.c:5: undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search X: ['libX11.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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'] [] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lX11 -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/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(); } void dummy(void) {_check_XSetWMName();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lX11 -lquadmath -lstdc++ -ldl Defined "HAVE_LIBX11" to "1" Checking for optional headers [] in Compiler specific search X: [] ============================================================================================= TESTING: checkInclude from config.headers(/global/u2/m/madams/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 ['X11/Xlib.h'] in Compiler specific search X: [] ============================================================================================= TESTING: checkInclude from config.headers(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['X11/Xlib.h'] in [] Checking include with compiler flags var CPPFLAGS [] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers /tmp/petsc-tbq3au3i/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['X11/Xlib.h'] in [] ============================================================================================= TESTING: checkVersion from config.packages.X(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1136) 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 "xorg/xorg-server.h" #include "xorg/xorgVersion.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(XORG_VERSION_MAJOR.XORG_VERSION_MINOR.XORG_VERSION_PATCH.XORG_VERSION_SNAP) ")"; Executing: cc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.packages.X /tmp/petsc-tbq3au3i/config.packages.X/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 0 "/tmp/petsc-tbq3au3i/config.packages.X/conftest.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/tmp/petsc-tbq3au3i/config.packages.X/conftest.c" # 1 "/tmp/petsc-tbq3au3i/config.packages.X/confdefs.h" 1 # 2 "/tmp/petsc-tbq3au3i/config.packages.X/conftest.c" 2 # 1 "/tmp/petsc-tbq3au3i/config.packages.X/conffix.h" 1 # 3 "/tmp/petsc-tbq3au3i/config.packages.X/conftest.c" 2 stderr: /tmp/petsc-tbq3au3i/config.packages.X/conftest.c:4:10: fatal error: xorg/xorg-server.h: No such file or directory 4 | #include "xorg/xorg-server.h" | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include "xorg/xorg-server.h" #include "xorg/xorgVersion.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(XORG_VERSION_MAJOR.XORG_VERSION_MINOR.XORG_VERSION_PATCH.XORG_VERSION_SNAP) ")"; For x unable to find version information: output below, skipping version check ============================================================================================= TESTING: checkSharedLibrary from config.packages.X(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1061) By default we don't care about checking if the library is shared child config.packages.X took 0.562826 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hwloc(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default child config.packages.hwloc took 0.001674 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.thrust(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default child config.packages.thrust took 0.001090 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cuda(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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.cuda(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:968) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.cuda(/global/u2/m/madams/petsc/config/BuildSystem/config/packages/cuda.py:241) Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2022q2/sw/python/3.9-anaconda-2021.11/condabin/nvcc...not found Checking for program /global/common/software/nersc/shasta2105/arm-forge/22.0.4-linux-x86_64/bin/nvcc...not found Checking for program /opt/cray/pe/mpich/8.1.17/bin/nvcc...not found Checking for program /opt/cray/pe/craype/2.7.16/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/sw/cmake-3.22.0/bin/nvcc...not found Checking for program /global/common/software/nersc/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Systems/2022.2.1/bin/nvcc...not found Checking for program /global/common/software/nersc/pm-2021q4/easybuild/software/Nsight-Compute/2022.1.1/nvcc...not found Checking for program /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/nvcc...found Defined make macro "SYSTEMNVCC" to "/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/bin/nvcc" ================================================================================== Checking for a functional cuda CUDA: DirPath not found.. skipping: /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib Checking for library in Package specific search directory CUDA: ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Contents of /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7: ['DOCS', 'EULA.txt', 'README', 'bin', 'compute-sanitizer', 'extras', 'include', 'lib64', 'libnvvp', 'nvml', 'nvvm', 'share', 'targets', 'tools', 'version.json'] Contents /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64: ['cmake', 'libOpenCL.so', 'libOpenCL.so.1', 'libOpenCL.so.1.0', 'libOpenCL.so.1.0.0', 'libaccinj64.so', 'libaccinj64.so.11.7', 'libaccinj64.so.11.7.50', 'libcudadevrt.a', 'libcudart.so', 'libcudart.so.11.0', 'libcudart.so.11.7.60', 'libcudart_static.a', 'libcufilt.a', 'libcuinj64.so', 'libcuinj64.so.11.7', 'libcuinj64.so.11.7.50', 'libculibos.a', 'libnppc.so', 'libnppc.so.11', 'libnppc.so.11.7.3.21', 'libnppc_static.a', 'libnppial.so', 'libnppial.so.11', 'libnppial.so.11.7.3.21', 'libnppial_static.a', 'libnppicc.so', 'libnppicc.so.11', 'libnppicc.so.11.7.3.21', 'libnppicc_static.a', 'libnppidei.so', 'libnppidei.so.11', 'libnppidei.so.11.7.3.21', 'libnppidei_static.a', 'libnppif.so', 'libnppif.so.11', 'libnppif.so.11.7.3.21', 'libnppif_static.a', 'libnppig.so', 'libnppig.so.11', 'libnppig.so.11.7.3.21', 'libnppig_static.a', 'libnppim.so', 'libnppim.so.11', 'libnppim.so.11.7.3.21', 'libnppim_static.a', 'libnppist.so', 'libnppist.so.11', 'libnppist.so.11.7.3.21', 'libnppist_static.a', 'libnppisu.so', 'libnppisu.so.11', 'libnppisu.so.11.7.3.21', 'libnppisu_static.a', 'libnppitc.so', 'libnppitc.so.11', 'libnppitc.so.11.7.3.21', 'libnppitc_static.a', 'libnpps.so', 'libnpps.so.11', 'libnpps.so.11.7.3.21', 'libnpps_static.a', 'libnvToolsExt.so', 'libnvToolsExt.so.1', 'libnvToolsExt.so.1.0.0', 'libnvjpeg.so', 'libnvjpeg.so.11', 'libnvjpeg.so.11.7.2.34', 'libnvjpeg_static.a', 'libnvptxcompiler_static.a', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.7', 'libnvrtc-builtins.so.11.7.50', 'libnvrtc-builtins_static.a', 'libnvrtc.so', 'libnvrtc.so.11.2', 'libnvrtc.so.11.7.50', 'libnvrtc_static.a', 'stubs'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 [cublasInit cufftDestroy] in library ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] [] Checking directory of requested libraries:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 for first library:libcudart. Files in directory:['cmake', 'libOpenCL.so', 'libOpenCL.so.1', 'libOpenCL.so.1.0', 'libOpenCL.so.1.0.0', 'libaccinj64.so', 'libaccinj64.so.11.7', 'libaccinj64.so.11.7.50', 'libcudadevrt.a', 'libcudart.so', 'libcudart.so.11.0', 'libcudart.so.11.7.60', 'libcudart_static.a', 'libcufilt.a', 'libcuinj64.so', 'libcuinj64.so.11.7', 'libcuinj64.so.11.7.50', 'libculibos.a', 'libnppc.so', 'libnppc.so.11', 'libnppc.so.11.7.3.21', 'libnppc_static.a', 'libnppial.so', 'libnppial.so.11', 'libnppial.so.11.7.3.21', 'libnppial_static.a', 'libnppicc.so', 'libnppicc.so.11', 'libnppicc.so.11.7.3.21', 'libnppicc_static.a', 'libnppidei.so', 'libnppidei.so.11', 'libnppidei.so.11.7.3.21', 'libnppidei_static.a', 'libnppif.so', 'libnppif.so.11', 'libnppif.so.11.7.3.21', 'libnppif_static.a', 'libnppig.so', 'libnppig.so.11', 'libnppig.so.11.7.3.21', 'libnppig_static.a', 'libnppim.so', 'libnppim.so.11', 'libnppim.so.11.7.3.21', 'libnppim_static.a', 'libnppist.so', 'libnppist.so.11', 'libnppist.so.11.7.3.21', 'libnppist_static.a', 'libnppisu.so', 'libnppisu.so.11', 'libnppisu.so.11.7.3.21', 'libnppisu_static.a', 'libnppitc.so', 'libnppitc.so.11', 'libnppitc.so.11.7.3.21', 'libnppitc_static.a', 'libnpps.so', 'libnpps.so.11', 'libnpps.so.11.7.3.21', 'libnpps_static.a', 'libnvToolsExt.so', 'libnvToolsExt.so.1', 'libnvToolsExt.so.1.0.0', 'libnvjpeg.so', 'libnvjpeg.so.11', 'libnvjpeg.so.11.7.2.34', 'libnvjpeg_static.a', 'libnvptxcompiler_static.a', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.7', 'libnvrtc-builtins.so.11.7.50', 'libnvrtc-builtins_static.a', 'libnvrtc.so', 'libnvrtc.so.11.2', 'libnvrtc.so.11.7.50', 'libnvrtc_static.a', 'stubs'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cublasInit(); static void _check_cublasInit() { cublasInit(); } char cufftDestroy(); static void _check_cufftDestroy() { cufftDestroy(); } int main() { _check_cublasInit(); _check_cufftDestroy();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -lcufft -lcublas -lcusparse -lcusolver -lcurand -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cublasInit(); static void _check_cublasInit() { cublasInit(); } char cufftDestroy(); static void _check_cufftDestroy() { cufftDestroy(); } void dummy(void) {_check_cublasInit(); _check_cufftDestroy();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -lcufft -lcublas -lcusparse -lcusolver -lcurand -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lcufft /usr/bin/ld: cannot find -lcublas /usr/bin/ld: cannot find -lcusparse /usr/bin/ld: cannot find -lcusolver /usr/bin/ld: cannot find -lcurand collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lcufft /usr/bin/ld: cannot find -lcublas /usr/bin/ld: cannot find -lcusparse /usr/bin/ld: cannot find -lcusolver /usr/bin/ld: cannot find -lcurand collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lcufft /usr/bin/ld: cannot find -lcublas /usr/bin/ld: cannot find -lcusparse /usr/bin/ld: cannot find -lcusolver /usr/bin/ld: cannot find -lcurand collect2: error: ld returned 1 exit status: Checking for library in Package specific search directory CUDA: ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cudart.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/nvToolsExt.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cufft.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cublas.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cusparse.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cusolver.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/curand.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/cuda.lib'] Contents of /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7: ['DOCS', 'EULA.txt', 'README', 'bin', 'compute-sanitizer', 'extras', 'include', 'lib64', 'libnvvp', 'nvml', 'nvvm', 'share', 'targets', 'tools', 'version.json'] Contents /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64: ['cmake', 'libOpenCL.so', 'libOpenCL.so.1', 'libOpenCL.so.1.0', 'libOpenCL.so.1.0.0', 'libaccinj64.so', 'libaccinj64.so.11.7', 'libaccinj64.so.11.7.50', 'libcudadevrt.a', 'libcudart.so', 'libcudart.so.11.0', 'libcudart.so.11.7.60', 'libcudart_static.a', 'libcufilt.a', 'libcuinj64.so', 'libcuinj64.so.11.7', 'libcuinj64.so.11.7.50', 'libculibos.a', 'libnppc.so', 'libnppc.so.11', 'libnppc.so.11.7.3.21', 'libnppc_static.a', 'libnppial.so', 'libnppial.so.11', 'libnppial.so.11.7.3.21', 'libnppial_static.a', 'libnppicc.so', 'libnppicc.so.11', 'libnppicc.so.11.7.3.21', 'libnppicc_static.a', 'libnppidei.so', 'libnppidei.so.11', 'libnppidei.so.11.7.3.21', 'libnppidei_static.a', 'libnppif.so', 'libnppif.so.11', 'libnppif.so.11.7.3.21', 'libnppif_static.a', 'libnppig.so', 'libnppig.so.11', 'libnppig.so.11.7.3.21', 'libnppig_static.a', 'libnppim.so', 'libnppim.so.11', 'libnppim.so.11.7.3.21', 'libnppim_static.a', 'libnppist.so', 'libnppist.so.11', 'libnppist.so.11.7.3.21', 'libnppist_static.a', 'libnppisu.so', 'libnppisu.so.11', 'libnppisu.so.11.7.3.21', 'libnppisu_static.a', 'libnppitc.so', 'libnppitc.so.11', 'libnppitc.so.11.7.3.21', 'libnppitc_static.a', 'libnpps.so', 'libnpps.so.11', 'libnpps.so.11.7.3.21', 'libnpps_static.a', 'libnvToolsExt.so', 'libnvToolsExt.so.1', 'libnvToolsExt.so.1.0.0', 'libnvjpeg.so', 'libnvjpeg.so.11', 'libnvjpeg.so.11.7.2.34', 'libnvjpeg_static.a', 'libnvptxcompiler_static.a', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.7', 'libnvrtc-builtins.so.11.7.50', 'libnvrtc-builtins_static.a', 'libnvrtc.so', 'libnvrtc.so.11.2', 'libnvrtc.so.11.7.50', 'libnvrtc_static.a', 'stubs'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 [cublasInit cufftDestroy] in library ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cudart.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/nvToolsExt.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cufft.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cublas.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cusparse.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/cusolver.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/curand.lib', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/cuda.lib'] [] Checking directory of requested libraries:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 for first library:cudart.li Files in directory:['cmake', 'libOpenCL.so', 'libOpenCL.so.1', 'libOpenCL.so.1.0', 'libOpenCL.so.1.0.0', 'libaccinj64.so', 'libaccinj64.so.11.7', 'libaccinj64.so.11.7.50', 'libcudadevrt.a', 'libcudart.so', 'libcudart.so.11.0', 'libcudart.so.11.7.60', 'libcudart_static.a', 'libcufilt.a', 'libcuinj64.so', 'libcuinj64.so.11.7', 'libcuinj64.so.11.7.50', 'libculibos.a', 'libnppc.so', 'libnppc.so.11', 'libnppc.so.11.7.3.21', 'libnppc_static.a', 'libnppial.so', 'libnppial.so.11', 'libnppial.so.11.7.3.21', 'libnppial_static.a', 'libnppicc.so', 'libnppicc.so.11', 'libnppicc.so.11.7.3.21', 'libnppicc_static.a', 'libnppidei.so', 'libnppidei.so.11', 'libnppidei.so.11.7.3.21', 'libnppidei_static.a', 'libnppif.so', 'libnppif.so.11', 'libnppif.so.11.7.3.21', 'libnppif_static.a', 'libnppig.so', 'libnppig.so.11', 'libnppig.so.11.7.3.21', 'libnppig_static.a', 'libnppim.so', 'libnppim.so.11', 'libnppim.so.11.7.3.21', 'libnppim_static.a', 'libnppist.so', 'libnppist.so.11', 'libnppist.so.11.7.3.21', 'libnppist_static.a', 'libnppisu.so', 'libnppisu.so.11', 'libnppisu.so.11.7.3.21', 'libnppisu_static.a', 'libnppitc.so', 'libnppitc.so.11', 'libnppitc.so.11.7.3.21', 'libnppitc_static.a', 'libnpps.so', 'libnpps.so.11', 'libnpps.so.11.7.3.21', 'libnpps_static.a', 'libnvToolsExt.so', 'libnvToolsExt.so.1', 'libnvToolsExt.so.1.0.0', 'libnvjpeg.so', 'libnvjpeg.so.11', 'libnvjpeg.so.11.7.2.34', 'libnvjpeg_static.a', 'libnvptxcompiler_static.a', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.7', 'libnvrtc-builtins.so.11.7.50', 'libnvrtc-builtins_static.a', 'libnvrtc.so', 'libnvrtc.so.11.2', 'libnvrtc.so.11.7.50', 'libnvrtc_static.a', 'stubs'] Checking for library in Package specific search directory CUDA: ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Contents of /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7: ['DOCS', 'EULA.txt', 'README', 'bin', 'compute-sanitizer', 'extras', 'include', 'lib64', 'libnvvp', 'nvml', 'nvvm', 'share', 'targets', 'tools', 'version.json'] Contents /opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64: ['cmake', 'libOpenCL.so', 'libOpenCL.so.1', 'libOpenCL.so.1.0', 'libOpenCL.so.1.0.0', 'libaccinj64.so', 'libaccinj64.so.11.7', 'libaccinj64.so.11.7.50', 'libcudadevrt.a', 'libcudart.so', 'libcudart.so.11.0', 'libcudart.so.11.7.60', 'libcudart_static.a', 'libcufilt.a', 'libcuinj64.so', 'libcuinj64.so.11.7', 'libcuinj64.so.11.7.50', 'libculibos.a', 'libnppc.so', 'libnppc.so.11', 'libnppc.so.11.7.3.21', 'libnppc_static.a', 'libnppial.so', 'libnppial.so.11', 'libnppial.so.11.7.3.21', 'libnppial_static.a', 'libnppicc.so', 'libnppicc.so.11', 'libnppicc.so.11.7.3.21', 'libnppicc_static.a', 'libnppidei.so', 'libnppidei.so.11', 'libnppidei.so.11.7.3.21', 'libnppidei_static.a', 'libnppif.so', 'libnppif.so.11', 'libnppif.so.11.7.3.21', 'libnppif_static.a', 'libnppig.so', 'libnppig.so.11', 'libnppig.so.11.7.3.21', 'libnppig_static.a', 'libnppim.so', 'libnppim.so.11', 'libnppim.so.11.7.3.21', 'libnppim_static.a', 'libnppist.so', 'libnppist.so.11', 'libnppist.so.11.7.3.21', 'libnppist_static.a', 'libnppisu.so', 'libnppisu.so.11', 'libnppisu.so.11.7.3.21', 'libnppisu_static.a', 'libnppitc.so', 'libnppitc.so.11', 'libnppitc.so.11.7.3.21', 'libnppitc_static.a', 'libnpps.so', 'libnpps.so.11', 'libnpps.so.11.7.3.21', 'libnpps_static.a', 'libnvToolsExt.so', 'libnvToolsExt.so.1', 'libnvToolsExt.so.1.0.0', 'libnvjpeg.so', 'libnvjpeg.so.11', 'libnvjpeg.so.11.7.2.34', 'libnvjpeg_static.a', 'libnvptxcompiler_static.a', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.7', 'libnvrtc-builtins.so.11.7.50', 'libnvrtc-builtins_static.a', 'libnvrtc.so', 'libnvrtc.so.11.2', 'libnvrtc.so.11.7.50', 'libnvrtc_static.a', 'stubs'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 [cublasInit cufftDestroy] in library ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] [] Checking directory of requested libraries:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 for first library:libcufft. Files in directory:['libcal.so', 'libcublas.so', 'libcublas.so.11', 'libcublas.so.11.10.1.25', 'libcublasLt.so', 'libcublasLt.so.11', 'libcublasLt.so.11.10.1.25', 'libcublasLt_static.a', 'libcublas_static.a', 'libcufft.so', 'libcufft.so.10', 'libcufft.so.10.7.2.50', 'libcufftMp.so', 'libcufftMp.so.10', 'libcufftMp.so.10.8.1', 'libcufft_static.a', 'libcufft_static_nocallback.a', 'libcufftw.so', 'libcufftw.so.10', 'libcufftw.so.10.7.2.50', 'libcufftw_static.a', 'libcurand.so', 'libcurand.so.10', 'libcurand.so.10.2.10.50', 'libcurand_static.a', 'libcusolver.so', 'libcusolver.so.11', 'libcusolver.so.11.3.5.50', 'libcusolverMg.so', 'libcusolverMg.so.11', 'libcusolverMg.so.11.3.5.50', 'libcusolverMp.so', 'libcusolver_lapack_static.a', 'libcusolver_static.a', 'libcusparse.so', 'libcusparse.so.11', 'libcusparse.so.11.7.3.50', 'libcusparse_static.a', 'libcutensor.so', 'libcutensor.so.1', 'libcutensor.so.1.5.0', 'libcutensorMg.so', 'libcutensorMg.so.1', 'libcutensorMg.so.1.5.0', 'libcutensorMg_static.a', 'libcutensor_static.a', 'liblapack_static.a', 'libmetis_static.a', 'libnvblas.so', 'libnvblas.so.11', 'libnvblas.so.11.10.1.25', 'stubs'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cublasInit(); static void _check_cublasInit() { cublasInit(); } char cufftDestroy(); static void _check_cufftDestroy() { cufftDestroy(); } int main() { _check_cublasInit(); _check_cufftDestroy();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cublasInit(); static void _check_cublasInit() { cublasInit(); } char cufftDestroy(); static void _check_cufftDestroy() { cufftDestroy(); } void dummy(void) {_check_cublasInit(); _check_cufftDestroy();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Defined "HAVE_LIBCUFFT" to "1" Defined "HAVE_LIBCUBLAS" to "1" Defined "HAVE_LIBCUSPARSE" to "1" Defined "HAVE_LIBCUSOLVER" to "1" Defined "HAVE_LIBCURAND" to "1" Defined "HAVE_LIBCUDART" to "1" Defined "HAVE_LIBNVTOOLSEXT" to "1" Defined "HAVE_LIBCUDA" to "1" ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 [cusolverDnDpotri] in library ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] [] Checking directory of requested libraries:/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 for first library:libcufft. Files in directory:['libcal.so', 'libcublas.so', 'libcublas.so.11', 'libcublas.so.11.10.1.25', 'libcublasLt.so', 'libcublasLt.so.11', 'libcublasLt.so.11.10.1.25', 'libcublasLt_static.a', 'libcublas_static.a', 'libcufft.so', 'libcufft.so.10', 'libcufft.so.10.7.2.50', 'libcufftMp.so', 'libcufftMp.so.10', 'libcufftMp.so.10.8.1', 'libcufft_static.a', 'libcufft_static_nocallback.a', 'libcufftw.so', 'libcufftw.so.10', 'libcufftw.so.10.7.2.50', 'libcufftw_static.a', 'libcurand.so', 'libcurand.so.10', 'libcurand.so.10.2.10.50', 'libcurand_static.a', 'libcusolver.so', 'libcusolver.so.11', 'libcusolver.so.11.3.5.50', 'libcusolverMg.so', 'libcusolverMg.so.11', 'libcusolverMg.so.11.3.5.50', 'libcusolverMp.so', 'libcusolver_lapack_static.a', 'libcusolver_static.a', 'libcusparse.so', 'libcusparse.so.11', 'libcusparse.so.11.7.3.50', 'libcusparse_static.a', 'libcutensor.so', 'libcutensor.so.1', 'libcutensor.so.1.5.0', 'libcutensorMg.so', 'libcutensorMg.so.1', 'libcutensorMg.so.1.5.0', 'libcutensorMg_static.a', 'libcutensor_static.a', 'liblapack_static.a', 'libmetis_static.a', 'libnvblas.so', 'libnvblas.so.11', 'libnvblas.so.11.10.1.25', 'stubs'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cusolverDnDpotri(); static void _check_cusolverDnDpotri() { cusolverDnDpotri(); } int main() { _check_cusolverDnDpotri();; return 0; } Executing: cc -o /tmp/petsc-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cusolverDnDpotri(); static void _check_cusolverDnDpotri() { cusolverDnDpotri(); } void dummy(void) {_check_cusolverDnDpotri();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Defined "HAVE_CUSOLVERDNDPOTRI" to "1" Checking for optional headers [] in Package specific search directory CUDA: ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] ============================================================================================= TESTING: checkInclude from config.headers(/global/u2/m/madams/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/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Found header files [] in ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Checking for headers ['cublas.h', 'cufft.h', 'cusparse.h', 'cusolverDn.h', 'curand.h', 'thrust/version.h'] in Package specific search directory CUDA: ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] ============================================================================================= TESTING: checkInclude from config.headers(/global/u2/m/madams/petsc/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['cublas.h', 'cufft.h', 'cusparse.h', 'cusolverDn.h', 'curand.h', 'thrust/version.h'] in ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Checking include with compiler flags var CUDAPPFLAGS ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.headers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CUDAPPFLAGS ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.headers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CUDAPPFLAGS ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.headers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CUDAPPFLAGS ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.headers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CUDAPPFLAGS ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.headers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CUDAPPFLAGS ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.headers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['cublas.h', 'cufft.h', 'cusparse.h', 'cusolverDn.h', 'curand.h', 'thrust/version.h'] in ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include'] Checking for size of type: teststruct Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.types/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include typedef struct {double a; int b;} teststruct; char assert_sizeof[(sizeof(teststruct)==16)*2-1]; Checking for size of type: teststruct Executing: cc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include typedef struct {double a; int b;} teststruct; char assert_sizeof[(sizeof(teststruct)==16)*2-1]; Checking if sizeof(void*) in CUDA is the same as with regular compiler Checking for size of type: void * Executing: nvcc -c -o /tmp/petsc-tbq3au3i/config.types/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.types -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-tbq3au3i/config.types/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; Defined "CUDA_GENERATION" to "80" Defined "HAVE_CUDA" to "1" Defined "HAVE_CUPM" to "1" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "cuda.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(CUDA_VERSION) ")"; Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.packages.cuda -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.packages.cuda/conftest.cu Found version string: }char*ver=petscpkgver(11070) For cuda need 7.5 <= 11.7 <= Defined "HAVE_CUDA_VERSION_11PLUS" to "1" Executing: nvcc -g -Xcompiler -rdynamic -ccbin CC -std=c++17 -Xcompiler -fPIC -gencode arch=compute_80,code=sm_80 --dryrun dummy.cu 2>&1 | grep D__CUDACC__ | head -1 | cut -f2 -d" " stdout: CC Determined the compiler nvcc uses is CC PETSc C compiler cc PETSc C++ compiler CC Defined make macro "CUDA_CXXFLAGS" to "-g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES" Defined make macro "CUDA_CXX" to "CC" ============================================================================================= TESTING: checkVersion from config.packages.cuda(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1136) 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 "cuda.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(CUDA_VERSION) ")"; Executing: nvcc -E -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.packages.cuda -Wno-deprecated-gpu-targets -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/include /tmp/petsc-tbq3au3i/config.packages.cuda/conftest.cu Found version string: }char*ver=petscpkgver(11070) For cuda need 7.5 <= 11.7 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.cuda(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1061) By default we don't care about checking if the library is shared child config.packages.cuda took 3.696989 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.OpenMPI(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default child config.packages.OpenMPI took 0.001732 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPICH(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1065) Called if --with-packagename=0; does nothing by default child config.packages.MPICH took 0.001076 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPI(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:1069) 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(/global/u2/m/madams/petsc/config/BuildSystem/config/package.py:968) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.MPI(/global/u2/m/madams/petsc/config/BuildSystem/config/packages/MPI.py:859) Calls the regular package configureLibrary and then does an additional test needed by MPI ================================================================================== Checking for a functional MPI Checking for library in Compiler specific search MPI: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_MPI_Init': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:5: undefined reference to `MPI_Init' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_MPI_Comm_create': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:7: undefined reference to `MPI_Comm_create' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_MPI_Init': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:5: undefined reference to `MPI_Init' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_MPI_Comm_create': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:7: undefined reference to `MPI_Comm_create' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_MPI_Init': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:5: undefined reference to `MPI_Init' /usr/bin/ld: /tmp/petsc-tbq3au3i/config.compilers/confc.o: in function `_check_MPI_Comm_create': /tmp/petsc-tbq3au3i/config.compilers/conftest.c:7: undefined reference to `MPI_Comm_create' collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['fmpich2.lib', 'fmpich2g.lib', 'fmpich2s.lib', 'mpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['fmpich2.lib', 'fmpich2g.lib', 'fmpich2s.lib', 'mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o fmpich2.lib fmpich2g.lib fmpich2s.lib mpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find fmpich2g.lib: No such file or directory /usr/bin/ld: cannot find fmpich2s.lib: No such file or directory /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find fmpich2g.lib: No such file or directory /usr/bin/ld: cannot find fmpich2s.lib: No such file or directory /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find fmpich2g.lib: No such file or directory /usr/bin/ld: cannot find fmpich2s.lib: No such file or directory /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['fmpich2.lib', 'fmpich2g.lib', 'mpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['fmpich2.lib', 'fmpich2g.lib', 'mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o fmpich2.lib fmpich2g.lib mpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find fmpich2g.lib: No such file or directory /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find fmpich2g.lib: No such file or directory /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find fmpich2g.lib: No such file or directory /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['fmpich2.lib', 'mpich2.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['fmpich2.lib', 'mpich2.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o fmpich2.lib mpich2.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find mpich2.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find mpich2.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find fmpich2.lib: No such file or directory /usr/bin/ld: cannot find mpich2.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libfmpich2g.a', 'libmpi.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libfmpich2g.a', 'libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lfmpich2g -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfmpich2g collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lfmpich2g collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lfmpich2g collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libfmpich.a', 'libmpich.a', 'libpmpich.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libfmpich.a', 'libmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lfmpich -lmpich -lpmpich -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'libpmpich.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lpmpich -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lfmpich -lmpich -lpmpich -lmpich -lpmpich -lpmpich -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lpmpich -lmpich -lpmpich -lpmpich -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lrt -laio -lsnl -lpthread -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -laio /usr/bin/ld: cannot find -lsnl collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -laio /usr/bin/ld: cannot find -lsnl collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -laio /usr/bin/ld: cannot find -lsnl collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lssl -luuid -lpthread -lrt -ldl -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lmpich -lssl -luuid -lpthread -lrt -ldl -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lnsl -lsocket -lrt -lnsl -lsocket -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lnsl /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lnsl /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lnsl /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lnsl /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'libgm.a', 'libpthread.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'libgm.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lgm -lpthread -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lgm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lgm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lgm collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -llamf77mpi -lmpi++ -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -lmpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -lmpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -lmpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['liblammpi++.a', 'libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['liblammpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -llammpi++ -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -llammpio -lpmpi -llamf77mpi -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -llammpio -lpmpi -llamf90mpi -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf90mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf90mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf90mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -llammpio -lpmpi -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['liblammpi++.a', 'libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['liblammpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -llammpi++ -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpi.a', 'liblam.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpi -llam -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['amd64/msmpifec.lib', 'amd64/msmpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['amd64/msmpifec.lib', 'amd64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o amd64/msmpifec.lib amd64/msmpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find amd64/msmpifec.lib: No such file or directory /usr/bin/ld: cannot find amd64/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find amd64/msmpifec.lib: No such file or directory /usr/bin/ld: cannot find amd64/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find amd64/msmpifec.lib: No such file or directory /usr/bin/ld: cannot find amd64/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['i386/msmpifec.lib', 'i386/msmpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['i386/msmpifec.lib', 'i386/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o i386/msmpifec.lib i386/msmpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find i386/msmpifec.lib: No such file or directory /usr/bin/ld: cannot find i386/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find i386/msmpifec.lib: No such file or directory /usr/bin/ld: cannot find i386/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find i386/msmpifec.lib: No such file or directory /usr/bin/ld: cannot find i386/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['msmpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o msmpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a', 'libpthread.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -lpthread -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lmpich -lpthread -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpi++.a', 'libmpi.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpi++.a', 'libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpi++ -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lmpi++ collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lmpi++ collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lmpi++ collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpi.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lmpi collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lmpi collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lmpi collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['libmpich.a'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['libmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o -lmpich -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Executing: cc -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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();} Executing: gfortran -c -o /tmp/petsc-tbq3au3i/config.compilers/conftest.o -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-tbq3au3i/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O /tmp/petsc-tbq3au3i/config.compilers/conftest.o /tmp/petsc-tbq3au3i/config.compilers/confc.o -lmpich -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['mpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o mpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find mpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['mpich2.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['mpich2.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o mpich2.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find mpich2.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find mpich2.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find mpich2.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['mpich.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['mpich.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o mpich.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find mpich.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find mpich.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find mpich.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['amd64/msmpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['amd64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o amd64/msmpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find amd64/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find amd64/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find amd64/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search MPI: ['i386/msmpi.lib'] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['i386/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Executing: cc -c -o /tmp/petsc-tbq3au3i/config.libraries/conftest.o -I/tmp/petsc-tbq3au3i/config.compilerFlags -I/tmp/petsc-tbq3au3i/config.setCompilers -I/tmp/petsc-tbq3au3i/config.compilersFortran -I/tmp/petsc-tbq3au3i/config.headers -I/tmp/petsc-tbq3au3i/config.utilities.cacheDetails -I/tmp/petsc-tbq3au3i/config.functions -I/tmp/petsc-tbq3au3i/config.utilities.featureTestMacros -I/tmp/petsc-tbq3au3i/config.utilities.missing -I/tmp/petsc-tbq3au3i/PETSc.options.sharedLibraries -I/tmp/petsc-tbq3au3i/config.libraries -I/tmp/petsc-tbq3au3i/config.compilers -I/tmp/petsc-tbq3au3i/config.types -I/tmp/petsc-tbq3au3i/PETSc.options.scalarTypes -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/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-tbq3au3i/config.libraries/conftest -g -DPETSC_HAVE_KOKKOS_KERNELS_GMRES -fPIC -O /tmp/petsc-tbq3au3i/config.libraries/conftest.o i386/msmpi.lib -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64 -lcufft -lcublas -lcusparse -lcusolver -lcurand -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64 -lcudart -lnvToolsExt -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs -lcuda -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find i386/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find i386/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find i386/msmpi.lib: No such file or directory collect2: error: ld returned 1 exit status: MPI: SearchDir DirPath not found.. skipping: /opt/mpich MPI: SearchDir DirPath not found.. skipping: /usr/lpp/ppe.poe Checking for library in Package specific search directory MPI: ['/usr/local/lib/fmpich2.lib', '/usr/local/lib/fmpich2g.lib', '/usr/local/lib/fmpich2s.lib', '/usr/local/lib/mpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/fmpich2.lib', '/usr/local/lib/fmpich2g.lib', '/usr/local/lib/fmpich2s.lib', '/usr/local/lib/mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:fmpich2.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/fmpich2.lib', '/usr/local/lib/fmpich2g.lib', '/usr/local/lib/mpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/fmpich2.lib', '/usr/local/lib/fmpich2g.lib', '/usr/local/lib/mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:fmpich2.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/fmpich2.lib', '/usr/local/lib/mpich2.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/fmpich2.lib', '/usr/local/lib/mpich2.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:fmpich2.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libfmpich2g.a', 'libmpi.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libfmpich2g.a', 'libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libfmpich2g. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libfmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libfmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'libgm.a', 'libpthread.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'libgm.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:liblamf77mpi. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:liblammpi++. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:liblammpio. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:liblammpio. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:liblammpio. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:liblammpi++. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpi. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/amd64/msmpifec.lib', '/usr/local/lib/amd64/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/amd64/msmpifec.lib', '/usr/local/lib/amd64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib/amd64 for first library:msmpifec.li Directory of requested libraries /usr/local/lib/amd64 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib/i386/msmpifec.lib', '/usr/local/lib/i386/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/i386/msmpifec.lib', '/usr/local/lib/i386/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib/i386 for first library:msmpifec.li Directory of requested libraries /usr/local/lib/i386 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:msmpi.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a', 'libpthread.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpi++.a', 'libmpi.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpi++.a', 'libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpi++. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpi.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpi. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/libmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/libmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:libmpich. Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/mpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:mpi.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/mpich2.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/mpich2.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:mpich2.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/mpich.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/mpich.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib for first library:mpich.li Files in directory:['odds_and_ends_monitoring_service'] Checking for library in Package specific search directory MPI: ['/usr/local/lib/amd64/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/amd64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib/amd64 for first library:msmpi.li Directory of requested libraries /usr/local/lib/amd64 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib/i386/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib/i386/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib/i386 for first library:msmpi.li Directory of requested libraries /usr/local/lib/i386 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib64/fmpich2.lib', '/usr/local/lib64/fmpich2g.lib', '/usr/local/lib64/fmpich2s.lib', '/usr/local/lib64/mpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/fmpich2.lib', '/usr/local/lib64/fmpich2g.lib', '/usr/local/lib64/fmpich2s.lib', '/usr/local/lib64/mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:fmpich2.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/fmpich2.lib', '/usr/local/lib64/fmpich2g.lib', '/usr/local/lib64/mpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/fmpich2.lib', '/usr/local/lib64/fmpich2g.lib', '/usr/local/lib64/mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:fmpich2.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/fmpich2.lib', '/usr/local/lib64/mpich2.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/fmpich2.lib', '/usr/local/lib64/mpich2.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:fmpich2.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libfmpich2g.a', 'libmpi.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libfmpich2g.a', 'libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libfmpich2g. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libfmpich.a', 'libmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libfmpich.a', 'libmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libfmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libfmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'libgm.a', 'libpthread.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'libgm.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:liblamf77mpi. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/liblammpi++.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/liblammpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:liblammpi++. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:liblammpio. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:liblammpio. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:liblammpio. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/liblammpi++.a', 'libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/liblammpi++.a', 'libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:liblammpi++. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpi.a', 'liblam.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpi.a', 'liblam.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpi. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/amd64/msmpifec.lib', '/usr/local/lib64/amd64/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/amd64/msmpifec.lib', '/usr/local/lib64/amd64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64/amd64 for first library:msmpifec.li Directory of requested libraries /usr/local/lib64/amd64 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib64/i386/msmpifec.lib', '/usr/local/lib64/i386/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/i386/msmpifec.lib', '/usr/local/lib64/i386/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64/i386 for first library:msmpifec.li Directory of requested libraries /usr/local/lib64/i386 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib64/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:msmpi.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a', 'libpthread.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a', 'libpthread.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpi++.a', 'libmpi.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpi++.a', 'libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpi++. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpi.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpi.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpi. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/libmpich.a'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/libmpich.a'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:libmpich. Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/mpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/mpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:mpi.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/mpich2.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/mpich2.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:mpich2.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/mpich.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/mpich.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64 for first library:mpich.li Files in directory:[] Checking for library in Package specific search directory MPI: ['/usr/local/lib64/amd64/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/amd64/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64/amd64 for first library:msmpi.li Directory of requested libraries /usr/local/lib64/amd64 does not exist Checking for library in Package specific search directory MPI: ['/usr/local/lib64/i386/msmpi.lib'] Contents of /usr/local: ['bin', 'dcgm', 'diag', 'include', 'lib', 'lib64', 'man', 'onem', 'sbin', 'share', 'src'] Contents /usr/local/lib: ['odds_and_ends_monitoring_service'] Contents /usr/local/lib64: [] ============================================================================================= TESTING: check from config.libraries(/global/u2/m/madams/petsc/config/BuildSystem/config/libraries.py:168) 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 ['/usr/local/lib64/i386/msmpi.lib'] ['/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/math_libs/11.7/lib64/libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/libcudart.a', 'libnvToolsExt.a', '/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda/11.7/lib64/stubs/libcuda.so'] Checking directory of requested libraries:/usr/local/lib64/i386 for first library:msmpi.li Directory of requested libraries /usr/local/lib64/i386 does not exist MPI: SearchDir DirPath not found.. skipping: /c/Program Files/Microsoft HPC Pack 2008 SDK MPI: SearchDir DirPath not found.. skipping: /c/Program Files/Microsoft Compute Cluster Pack MPI: SearchDir DirPath not found.. skipping: /c/Program Files/MPICH2 MPI: SearchDir DirPath not found.. skipping: /c/Program Files/MPICH MPI: SearchDir DirPath not found.. skipping: /c/Program Files/MPICH/SDK.gcc MPI: SearchDir DirPath not found.. skipping: /c/Program Files/MPICH/SDK MPI: SearchDir DirPath not found.. skipping: /c/Program Files (x86)/Microsoft HPC Pack 2008 SDK MPI: SearchDir DirPath not found.. skipping: /c/Program Files (x86)/Microsoft Compute Cluster Pack MPI: SearchDir DirPath not found.. skipping: /c/Program Files (x86)/MPICH2 MPI: SearchDir DirPath not found.. skipping: /c/Program Files (x86)/MPICH MPI: SearchDir DirPath not found.. skipping: /c/Program Files (x86)/MPICH/SDK.gcc MPI: SearchDir DirPath not found.. skipping: /c/Program Files (x86)/MPICH/SDK MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files/Microsoft Compute Cluster Pack MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files/MPICH2 MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files/MPICH MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files/MPICH/SDK.gcc MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files/MPICH/SDK MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files (x86)/Microsoft HPC Pack 2008 SDK MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files (x86)/Microsoft Compute Cluster Pack MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files (x86)/MPICH2 MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files (x86)/MPICH MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files (x86)/MPICH/SDK.gcc MPI: SearchDir DirPath not found.. skipping: /cygdrive/c/Program Files (x86)/MPICH/SDK **** Configure header /tmp/petsc-tbq3au3i/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_CLANGUAGE_C 1 #define PETSC_CUDA_GENERATION 80 #define PETSC_CXX_RESTRICT __restrict #define PETSC_FORTRAN_CHARLEN_T size_t #define PETSC_FORTRAN_TYPE_INITIALIZE = -2 #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_BZERO 1 #define PETSC_HAVE_C99_COMPLEX 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_CUDA 1 #define PETSC_HAVE_CUDA_DIALECT_CXX11 1 #define PETSC_HAVE_CUDA_DIALECT_CXX14 1 #define PETSC_HAVE_CUDA_DIALECT_CXX17 1 #define PETSC_HAVE_CUDA_VERSION_11PLUS 1 #define PETSC_HAVE_CUPM 1 #define PETSC_HAVE_CUSOLVERDNDPOTRI 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_HAVE_CXX_COMPLEX_FIX 1 #define PETSC_HAVE_CXX_DIALECT_CXX11 1 #define PETSC_HAVE_CXX_DIALECT_CXX14 1 #define PETSC_HAVE_CXX_DIALECT_CXX17 1 #define PETSC_HAVE_DLADDR 1 #define PETSC_HAVE_DLCLOSE 1 #define PETSC_HAVE_DLERROR 1 #define PETSC_HAVE_DLFCN_H 1 #define PETSC_HAVE_DLOPEN 1 #define PETSC_HAVE_DLSYM 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_EXECUTABLE_EXPORT 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_FE_VALUES 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_FORTRAN_FLUSH 1 #define PETSC_HAVE_FORTRAN_FREE_LINE_LENGTH_NONE 1 #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #define PETSC_HAVE_FORTRAN_TYPE_STAR 1 #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #define PETSC_HAVE_FSTATAT 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_GETDOMAINNAME 1 #define PETSC_HAVE_GETHOSTBYNAME 1 #define PETSC_HAVE_GETHOSTNAME 1 #define PETSC_HAVE_GETPAGESIZE 1 #define PETSC_HAVE_GETRUSAGE 1 #define PETSC_HAVE_IMMINTRIN_H 1 #define PETSC_HAVE_INTTYPES_H 1 #define PETSC_HAVE_ISINF 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_HAVE_ISNORMAL 1 #define PETSC_HAVE_LGAMMA 1 #define PETSC_HAVE_LOG2 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_MALLOC_H 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_MMAP 1 #define PETSC_HAVE_NANOSLEEP 1 #define PETSC_HAVE_NETDB_H 1 #define PETSC_HAVE_NETINET_IN_H 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_POSIX_MEMALIGN 1 #define PETSC_HAVE_PTHREAD_H 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_REAL___FLOAT128 1 #define PETSC_HAVE_RTLD_GLOBAL 1 #define PETSC_HAVE_RTLD_LAZY 1 #define PETSC_HAVE_RTLD_LOCAL 1 #define PETSC_HAVE_RTLD_NOW 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_SLEEP 1 #define PETSC_HAVE_SNPRINTF 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_STRCASECMP 1 #define PETSC_HAVE_STRINGS_H 1 #define PETSC_HAVE_STRUCT_SIGACTION 1 #define PETSC_HAVE_SYSINFO 1 #define PETSC_HAVE_SYS_PARAM_H 1 #define PETSC_HAVE_SYS_PROCFS_H 1 #define PETSC_HAVE_SYS_RESOURCE_H 1 #define PETSC_HAVE_SYS_SOCKET_H 1 #define PETSC_HAVE_SYS_SYSINFO_H 1 #define PETSC_HAVE_SYS_TIMES_H 1 #define PETSC_HAVE_SYS_TIME_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_SYS_UTSNAME_H 1 #define PETSC_HAVE_SYS_WAIT_H 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_UNAME 1 #define PETSC_HAVE_UNISTD_H 1 #define PETSC_HAVE_USLEEP 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_IS_COLORING_MAX USHRT_MAX #define PETSC_IS_COLORING_VALUE_TYPE short #define PETSC_IS_COLORING_VALUE_TYPE_F integer2 #define PETSC_LEVEL1_DCACHE_LINESIZE 64 #define PETSC_MAX_PATH_LEN 4096 #define PETSC_MEMALIGN 16 #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_SIGNAL_CAST #define PETSC_SIZEOF_ENUM 4 #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG 8 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SHORT 2 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_USE_AVX512_KERNELS 1 #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_USE_CTABLE 1 #define PETSC_USE_DEBUGGER "gdb" #define PETSC_USE_DMLANDAU_2D 1 #define PETSC_USE_INFO 1 #define PETSC_USE_LOG 1 #define PETSC_USE_MALLOC_COALESCED 1 #define PETSC_USE_PROC_FOR_SIZE 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_USE_SHARED_LIBRARIES 1 #define PETSC_USE_VISIBILITY_C 1 #define PETSC_USE_VISIBILITY_CXX 1 #define PETSC_USING_64BIT_PTR 1 #define PETSC_USING_F2003 1 #define PETSC_USING_F90FREEFORM 1 #define PETSC_VERSION_BRANCH_GIT "main" #define PETSC_VERSION_DATE_GIT "2022-11-15 14:31:39 +0000" #define PETSC_VERSION_GIT "v3.18.1-291-g89fba64eb45" #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC__GNU_SOURCE 1 #endif **** C specific Configure header /tmp/petsc-tbq3au3i/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ********************************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): --------------------------------------------------------------------------------------------- Unable to find mpi in default locations! Perhaps you can specify with --with-mpi-dir= If you do not want MPI, then give --with-mpi=0 You might also consider using --download-mpich instead ********************************************************************************************* File "/global/u2/m/madams/petsc/config/configure.py", line 452, in petsc_configure framework.configure(out = sys.stdout) File "/global/u2/m/madams/petsc/config/BuildSystem/config/framework.py", line 1435, in configure self.processChildren() File "/global/u2/m/madams/petsc/config/BuildSystem/config/framework.py", line 1423, in processChildren self.serialEvaluation(self.childGraph) File "/global/u2/m/madams/petsc/config/BuildSystem/config/framework.py", line 1398, in serialEvaluation child.configure() File "/global/u2/m/madams/petsc/config/BuildSystem/config/package.py", line 1289, in configure self.executeTest(self.configureLibrary) File "/global/u2/m/madams/petsc/config/BuildSystem/config/base.py", line 138, in executeTest ret = test(*args,**kargs) File "/global/u2/m/madams/petsc/config/BuildSystem/config/packages/MPI.py", line 864, in configureLibrary config.package.Package.configureLibrary(self) File "/global/u2/m/madams/petsc/config/BuildSystem/config/package.py", line 1001, in configureLibrary for location, directory, lib, incl in self.generateGuesses(): File "/global/u2/m/madams/petsc/config/BuildSystem/config/package.py", line 700, in generateGuesses raise RuntimeError(mesg) ================================================================================ Finishing configure run at Wed, 16 Nov 2022 04:50:27 -0800 ================================================================================