Executing: uname -s stdout: Linux ================================================================================ ================================================================================ Starting configure run at Fri, 11 Mar 2022 15:27:12 -0500 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --prefix=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7 --with-ssl=0 --download-c2html=0 --download-sowing=0 --download-hwloc=0 CFLAGS= FFLAGS=-fPIC CXXFLAGS= LDFLAGS=-Wl,-z,notext --with-cc=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --with-cxx=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --with-fc=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --with-precision=double --with-scalar-type=real --with-shared-libraries=1 --with-debugging=0 --with-openmp=0 --with-64-bit-indices=0 COPTFLAGS= FOPTFLAGS= CXXOPTFLAGS= --with-blaslapack-lib=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so --with-batch=1 --with-x=0 --with-clanguage=C --with-cuda=0 --with-hip=1 --with-hip-dir=/opt/rocm-4.5.0/hip --with-metis=1 --with-metis-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include --with-metis-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so --with-hypre=1 --with-hypre-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include --with-hypre-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib/libHYPRE.so --with-parmetis=1 --with-parmetis-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include --with-parmetis-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so --with-superlu_dist=1 --with-superlu_dist-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include --with-superlu_dist-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib/libsuperlu_dist.so --with-ptscotch=0 --with-suitesparse=0 --with-hdf5=1 --with-hdf5-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include --with-hdf5-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib/libhdf5.so --with-zlib=1 --with-zlib-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include --with-zlib-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/libz.so --with-mumps=0 --with-trilinos=0 --with-fftw=0 --with-valgrind=0 --with-gmp=0 --with-libpng=0 --with-giflib=0 --with-mpfr=0 --with-netcdf=0 --with-pnetcdf=0 --with-moab=0 --with-random123=0 --with-exodusii=0 --with-cgns=0 --with-memkind=0 --with-p4est=0 --with-saws=0 --with-yaml=0 --with-hwloc=0 --with-libjpeg=0 --with-scalapack=1 --with-scalapack-lib=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so --with-strumpack=0 --with-mmg=0 --with-parmmg=0 --with-tetgen=0 --with-cxx-dialect=C++11 Working directory: /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src Machine platform: uname_result(system='Linux', node='login2', release='5.3.18-150300.59.43_11.0.48-cray_shasta_c', version='#1 SMP Sun Feb 13 13:58:40 UTC 2022 (6501400)', machine='x86_64') Python version: 3.9.10 (main, Feb 28 2022, 12:24:59) [Clang 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 2142 ================================================================================ Environmental variables LD_LIBRARY_PATH=/opt/cray/pe/dsmml/0.2.2/dsmml/lib:/opt/cray/pe/cce/13.0.0/cce-clang/x86_64/lib:/opt/cray/pe/cce/13.0.0/cce/x86_64/lib:/opt/cray/pe/pmi/6.0.16/lib:/opt/cray/pe/perftools/21.12.0/lib64:/opt/cray/libfabric/1.15.0.0/lib64:/opt/rocm-4.5.0/hsa/lib:/opt/rocm-4.5.0/lib64:/opt/rocm-4.5.0/lib:/opt/rocm-4.5.0/llvm/lib __LMOD_REF_COUNT_PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH:1 CRAY_LMOD_MPI=cray-mpich/8.0 SLURM_MPI_TYPE=cray_shasta LMOD_FAMILY_CRAYPE_NETWORK_VERSION=false LC_ALL=C LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32: __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 CRAY_DSMML_ROOTDIR=/opt/cray/pe/dsmml/0.2.2 CRAY_DSMML_DIR=/opt/cray/pe/dsmml/0.2.2/dsmml __LMOD_REF_COUNT_PATH=/opt/cray/libfabric/1.15.0.0/bin:1;/opt/rocm-4.5.0/bin:1;/opt/cray/pe/craype/2.7.13/bin:1;/ccs/proj/ven114/lukebr/spack/bin:1;/opt/cray/pe/python/3.9.4.2/bin:1;/opt/cray/pe/perftools/21.12.0/bin:1;/opt/cray/pe/papi/6.0.0.12/bin:1;/opt/clmgr/sbin:1;/opt/clmgr/bin:1;/opt/sgi/sbin:1;/opt/sgi/bin:1;/usr/local/bin:1;/usr/bin:1;/bin:2;/opt/bin:1;/opt/c3/bin:1;/usr/lib/mit/bin:1;/opt/puppetlabs/bin:1;/sbin:1;/opt/cray/pe/bin:1 _ModuleTable002_=a0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iRGVmQXBwcyIsfSxbIlByZ0Vudi1hbWQiXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL1ByZ0Vudi1hbWQvOC4yLjAubHVhIixbImZ1bGxOYW1lIl09IlByZ0Vudi1hbWQvOC4yLjAiLFsibG9hZE9yZGVyIl09OSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0xLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJQcmdFbnYtYW1kIix9LGFtZD17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2FtZC80LjUuMC5sdWEiLFsiZnVsbE5hbWUiXT0iYW1kLzQuNS4wIixbImxvYWRPcmRlciJdPTExLHByb3BUPXt9LFsic3RhY2tEZXB0 PE_MPICH_GTL_DIR_amd_gfx90a=-L/opt/cray/pe/mpich/8.1.12/gtl/lib PE_LIBSCI_OMP_REQUIRES= SSH_CONNECTION=128.15.197.146 58213 128.219.135.101 22 SPACK_PYTHON=/opt/cray/pe/python/3.9.4.2/bin/python LESSCLOSE=lessclose.sh %s %s CRAY_LD_LIBRARY_PATH=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib:/opt/cray/pe/mpich/8.1.12/gtl/lib:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib:/opt/cray/pe/dsmml/0.2.2/dsmml/lib XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB PE_ENV=AMD __LMOD_REF_COUNT_PE_DSMML_PKGCONFIG_LIBS=dsmml:1 __LMOD_REF_COUNT_PE_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 __LMOD_REF_COUNT_C_INCLUDE_PATH=/opt/rocm-4.5.0/llvm/include: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/21.12.0/lib64 CRAY_LMOD_COMPILER=amd/4.0 LMOD_MODULERCFILE=/sw/crusher/lmod/etc/rc.lua CRAY_DSMML_PREFIX=/opt/cray/pe/dsmml/0.2.2/dsmml PE_PRODUCT_LIST=CRAY_LIBSCI:CRAYPE:CRAY_PMI:PERFTOOLS:CRAYPAT LMOD_FAMILY_MPI_VERSION=8.1.12 PE_PERFTOOLS_MPICH_LIBDIR=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib PE_MPICH_GTL_DIR_amd_gfx906=-L/opt/cray/pe/mpich/8.1.12/gtl/lib PE_LIBSCI_MODULE_NAME=cray-libsci/21.08.1.2 LANG=en_US.UTF-8 PE_LIBSCI_GENCOMPILERS_CRAY_x86_64=9.0 LMOD_SYSTEM_NAME=crusher PE_MPICH_GTL_DIR_amd_gfx908=-L/opt/cray/pe/mpich/8.1.12/gtl/lib MEMBERWORK=/gpfs/alpine/scratch/lukebr PE_DSMML_MODULE_NAME=cray-dsmml WINDOWMANAGER=xterm _ModuleTable008_=Myxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5cGUteDg2LW1pbGFuIix9LGxpYmZhYnJpYz17WyJmbiJdPSIvb3B0L2NyYXkvbW9kdWxlZmlsZXMvbGliZmFicmljLzEuMTUuMC4wIixbImZ1bGxOYW1lIl09ImxpYmZhYnJpYy8xLjE1LjAuMCIsWyJsb2FkT3JkZXIiXT0xMixwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJsaWJmYWJyaWMiLH0sWyJwZXJmdG9vbHMtYmFzZSJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmUvcGVyZnRvb2xzLWJhc2UvMjEuMTIuMC5sdWEiLFsiZnVsbE5hbWUiXT0icGVyZnRvb2xzLWJh HIP_LIB_PATH=/opt/rocm-4.5.0/lib LESS=-M -I -R PE_MPICH_GTL_LIBS_nvidia70=-lmpi_gtl_cuda LMOD_FAMILY_COMPILER_VERSION=4.5.0 HOSTNAME=login2 LMOD_SYSTEM_DEFAULT_MODULES=craype-x86-trento:craype-network-ofi:perftools-base:xpmem:cray-pmi:cray-pmi-lib:PrgEnv-cray:DefApps OLDPWD=/ccs/proj/ven114/lukebr __LMOD_REF_COUNT__LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:1;/opt/cray/pe/lmod/modulefiles/core/perftools-base/21.12.0.lua:1;/opt/cray/modulefiles/xpmem/2.3.2-2.2_6.10__g93dd7ee.shasta:1;/opt/cray/pe/lmod/modulefiles/core/cray-pmi/6.0.16.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-pmi-lib/6.0.16.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-python/3.9.4.2.lua:1;/opt/cray/pe/lmod/modulefiles/core/craype/2.7.13.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:1;/sw/crusher/modulefiles/DefApps/default.lua:1;/opt/cray/pe/lmod/modulefiles/core/PrgEnv-amd/8.2.0.lua:2;/opt/cray/pe/lmod/modulefiles/core/amd/4.5.0.lua:1;/opt/cray/modulefiles/libfabric/1.15.0.0:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-milan.lua:1;/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:1;/opt/cray/pe/lmod/modulefiles/comnet/amd/4.0/ofi/1.0/cray-mpich/8.1.12.lua:1 CSHEDIT=emacs C_INCLUDE_PATH=/opt/rocm-4.5.0/llvm/include GPG_TTY=/dev/pts/72 LESS_ADVANCED_PREPROCESSOR=no SPACK_NEW_LD_LIBRARY_PATH=/opt/cray/libfabric/1.15.0.0/lib64:/opt/rocm-4.5.0/hsa/lib:/opt/rocm-4.5.0/lib64:/opt/rocm-4.5.0/lib:/opt/rocm-4.5.0/llvm/lib COLORTERM=1 SPACK_ENV=/autofs/nccs-svm1_proj/ven114/lukebr/coral2_spack_manifests/crusher/sow _ModuleTable007_=bmV0d29yay1vZmkiXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcmF5cGUtdGFyZ2V0cy9kZWZhdWx0L2NyYXlwZS1uZXR3b3JrLW9maS5sdWEiLFsiZnVsbE5hbWUiXT0iY3JheXBlLW5ldHdvcmstb2ZpIixbImxvYWRPcmRlciJdPTEscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MCxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheXBlLW5ldHdvcmstb2ZpIix9LFsiY3JheXBlLXg4Ni1taWxhbiJdPXtbImZuIl09Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NyYXlwZS10YXJnZXRzL2RlZmF1bHQvY3JheXBlLXg4Ni1taWxhbi5sdWEiLFsiZnVsbE5hbWUiXT0iY3JheXBlLXg4Ni1taWxhbiIsWyJsb2FkT3JkZXIiXT0x CRAY_PERFTOOLS_VERSION=21.12.0 ROCM_PATH=/opt/rocm-4.5.0 __LMOD_REF_COUNT_CPLUS_INCLUDE_PATH=/opt/rocm-4.5.0/llvm/include:1 LMOD_FAMILY_CRAYPE_NETWORK=craype-network-ofi JAVA_HOME=/usr/lib64/jvm/java LMOD_FAMILY_CRAYPE_VERSION=2.7.13 APP2_STATE=21.12.0 MACHTYPE=x86_64-suse-linux PE_LIBSCI_FIXED_PRGENV=CRAYCLANG __LMOD_REF_COUNT_LD_LIBRARY_PATH=/opt/cray/libfabric/1.15.0.0/lib64:1;/opt/rocm-4.5.0/hsa/lib:1;/opt/rocm-4.5.0/lib64:1;/opt/rocm-4.5.0/lib:1;/opt/rocm-4.5.0/llvm/lib:1 __LMOD_REF_COUNT_PKG_CONFIG_PATH=/opt/cray/libfabric/1.15.0.0/lib64/pkgconfig:1;/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:1;/opt/cray/pe/craype/2.7.13/pkg-config:1;/opt/cray/pe/pmi/6.0.16/lib/pkgconfig:1 PE_PKGCONFIG_PRODUCTS=PE_MPICH:PE_LIBSCI:PE_DSMML CRAY_MPICH_BASEDIR=/opt/cray/pe/mpich/8.1.12/ofi PE_MPICH_GTL_DIR_nvidia80=-L/opt/cray/pe/mpich/8.1.12/gtl/lib _ModuleTable004_=YWRPcmRlciJdPTE0LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktbGlic2NpLzIxLjA4LjEuMiIsfSxbImNyYXktbXBpY2giXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb21uZXQvYW1kLzQuMC9vZmkvMS4wL2NyYXktbXBpY2gvOC4xLjEyLmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LW1waWNoLzguMS4xMiIsWyJsb2FkT3JkZXIiXT0xNSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5LW1waWNoLzguMS4xMiIsfSxbImNyYXktcG1pIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29y PE_LIBSCI_GENCOMPILERS_GNU_x86_64=9.1 MINICOM=-c on PAT_BUILD_PAPI_LIBDIR=/opt/cray/pe/papi/6.0.0.12/lib64 __LMOD_REF_COUNT_PYTHONPATH=/opt/cray/pe/python/3.9.4.2:1 C3_RSH=ssh -oConnectTimeout=10 -oForwardX11=no PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_GTL_DIR_@accelerator@:PE_MPICH_GTL_LIBS_@accelerator@ PE_MPICH_PKGCONFIG_LIBS=mpich QT_SYSTEM_DIR=/usr/share/desktop-data OSTYPE=linux OLCF_FAMILY_CRAYPE=craype XDG_SESSION_ID=425 CRAY_DSMML_VER=0.2.2 __LMOD_REF_COUNT_PYTHON_PATH=/opt/cray/pe/python/3.9.4.2:1 USER=lukebr PAGER=less RFE_811452_DISABLE=1 CRAY_PYTHON_LEVEL=3.9.4.2 LMOD_FAMILY_PRGENV_VERSION=8.2.0 OLCF_FAMILY_CRAYPE_NETWORK_VERSION=false _ModuleTable012_=Ii91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZSIsIi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmUiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdCIsIi9zdy9jcnVzaGVyL21vZHVsZWZpbGVzIiwiL29wdC9jcmF5L21vZHVsZWZpbGVzIiwiL29wdC9tb2R1bGVmaWxlcyIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4Oi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZTovdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlOi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvcmU6 CRAY_CPU_TARGET=x86-milan PE_LIBSCI_VOLATILE_PRGENV=AMD CRAY GNU PKGCONFIG_ENABLED=1 __LMOD_REF_COUNT_MODULEPATH=/opt/cray/pe/lmod/modulefiles/mpi/amd/4.0/ofi/1.0/cray-mpich/8.0:1;/opt/cray/pe/lmod/modulefiles/cpu/x86-milan/1.0:1;/opt/cray/pe/lmod/modulefiles/comnet/amd/4.0/ofi/1.0:1;/opt/cray/pe/lmod/modulefiles/compiler/amd/4.0:1;/opt/cray/pe/lmod/modulefiles/mix_compilers:1;/sw/crusher/spack-envs/base/modules/spack/cray-sles15-x86_64/cray-mpich/8.1.12-mf4c3y5/clang/13.0.0-rocm4.5.0:1;/sw/crusher/spack-envs/base/modules/spack/cray-sles15-x86_64/clang/13.0.0-rocm4.5.0:1;/sw/crusher/spack-envs/base/modules/spack/linux-sles15-x86_64/Core:1;/autofs/nccs-svm1_proj/ven114/lukebr/spack/share/spack/modules/cray-sles15-zen:1;/autofs/nccs-svm1_proj/ven114/lukebr/spack/share/spack/modules/cray-sles15-zen3:1;/opt/cray/pe/lmod/modulefiles/perftools/21.12.0:1;/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1;/opt/cray/pe/lmod/modulefiles/core:1;/opt/cray/pe/lmod/modulefiles/craype-targets/default:1;/sw/crusher/modulefiles:1;/opt/cray/modulefiles:1;/opt/modulefiles:1 MORE=-sl CRAY_PERFTOOLS_PREFIX=/opt/cray/pe/perftools/21.12.0 PE_FORTRAN_PKGCONFIG_LIBS=mpichf90 __LMOD_REF_COUNT_LOADEDMODULES=craype-network-ofi:1;perftools-base/21.12.0:1;xpmem/2.3.2-2.2_6.10__g93dd7ee.shasta:1;cray-pmi/6.0.16:1;cray-pmi-lib/6.0.16:1;cray-python/3.9.4.2:1;craype/2.7.13:1;cray-dsmml/0.2.2:1;DefApps/default:1;PrgEnv-amd/8.2.0:2;amd/4.5.0:1;libfabric/1.15.0.0:1;craype-x86-milan:1;cray-libsci/21.08.1.2:1;cray-mpich/8.1.12:1 __LMOD_REF_COUNT_CRAY_LD_LIBRARY_PATH=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib:1;/opt/cray/pe/mpich/8.1.12/gtl/lib:1;/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib:1;/opt/cray/pe/dsmml/0.2.2/dsmml/lib:1 OLCF_FAMILY_MPI_VERSION=8.1.12 CRAY_LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 PWD=/ccs/proj/ven114/lukebr/coral2_spack_manifests/crusher/sow OLCF_FAMILY_COMPILER_VERSION=4.5.0 PE_MPICH_GTL_DIR_nvidia70=-L/opt/cray/pe/mpich/8.1.12/gtl/lib HOME=/ccs/home/lukebr OLCF_FAMILY_CRAYPE_CPU=craype-x86-milan CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pe/pmi/6.0.16/include PE_AMD_FIXED_PKGCONFIG_PATH=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib/pkgconfig PELOCAL_PRGENV=true PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH PE_LIBSCI_GENCOMPS_AMD_x86_64=40 HOST=login2 SSH_CLIENT=128.15.197.146 58213 22 LMOD_VERSION=8.3.1 XNLSPATH=/usr/share/X11/nls PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90 PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci XDG_SESSION_TYPE=tty 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 BASH_ENV=/usr/share/lmod/lmod/init/bash XDG_DATA_DIRS=/usr/share __LMOD_REF_COUNT_PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90:1 PYTHON_PATH=/opt/cray/pe/python/3.9.4.2 CRAY_LMOD_NET=ofi/1.0 __LMOD_REF_COUNT_PE_PKGCONFIG_PRODUCTS=PE_MPICH:1;PE_LIBSCI:1;PE_DSMML:1 PE_MPICH_MODULE_NAME=cray-mpich OLCF_FAMILY_MPI=cray-mpich LIBGL_DEBUG=quiet CRAY_LIBSCI_DIR=/opt/cray/pe/libsci/21.08.1.2 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=AMD:1 OLCF_FAMILY_CRAYPE_VERSION=2.7.13 __LMOD_REF_COUNT_LIBRARY_PATH=/opt/rocm-4.5.0/llvm/lib:1 LIBSCI_VERSION=21.08.1.2 PROFILEREAD=true LIBRARY_PATH=/opt/rocm-4.5.0/llvm/lib HSA_PATH=/opt/rocm-4.5.0/hsa PERFTOOLS_VERSION=21.12.0 LMOD_sys=Linux PE_PKGCONFIG_LIBS=mpich:libsci_mpi:libsci:dsmml _ModuleTable010_=eS1tcGljaC84LjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jcHUveDg2LW1pbGFuLzEuMCIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL2NvbW5ldC9hbWQvNC4wL29maS8xLjAiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb21waWxlci9hbWQvNC4wIiwiL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvbWl4X2NvbXBpbGVycyIsIi9zdy9jcnVzaGVyL3NwYWNrLWVudnMvYmFzZS9tb2R1bGVzL3NwYWNrL2NyYXktc2xlczE1LXg4Nl82NC9jcmF5LW1waWNoLzguMS4xMi1tZjRjM3k1L2NsYW5nLzEzLjAuMC1yb2NtNC41LjAiLCIvc3cvY3J1c2hlci9zcGFjay1lbnZzL2Jhc2UvbW9kdWxlcy9zcGFjay9jcmF5LXNsZXMxNS14ODZf CRAY_PMI_PREFIX=/opt/cray/pe/pmi/6.0.16 _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXtbIlByZ0VudiJdPSJQcmdFbnYtYW1kIixbImNvbXBpbGVyIl09ImFtZCIsWyJjcmF5cGUiXT0iY3JheXBlIixbImNyYXlwZV9jcHUiXT0iY3JheXBlLXg4Ni1taWxhbiIsWyJjcmF5cGVfbmV0d29yayJdPSJjcmF5cGUtbmV0d29yay1vZmkiLFsibXBpIl09ImNyYXktbXBpY2giLH0sbVQ9e0RlZkFwcHM9e1siZm4iXT0iL3N3L2NydXNoZXIvbW9kdWxlZmlsZXMvRGVmQXBwcy9kZWZhdWx0Lmx1YSIsWyJmdWxsTmFtZSJdPSJEZWZBcHBzL2RlZmF1bHQiLFsibG9hZE9yZGVyIl09MTAscHJvcFQ9e30sWyJzdGFj CRAY_AMD_COMPILER_PREFIX=/opt/rocm-4.5.0 LOADEDMODULES=craype-network-ofi:perftools-base/21.12.0:xpmem/2.3.2-2.2_6.10__g93dd7ee.shasta:cray-pmi/6.0.16:cray-pmi-lib/6.0.16:cray-python/3.9.4.2:craype/2.7.13:cray-dsmml/0.2.2:DefApps/default:PrgEnv-amd/8.2.0:amd/4.5.0:libfabric/1.15.0.0:craype-x86-milan:cray-libsci/21.08.1.2:cray-mpich/8.1.12 CRAY_AMD_COMPILER_VERSION=4.5.0 OLCF_FAMILY_CRAYPE_CPU_VERSION=false CRAYPE_NETWORK_TARGET=ofi _ModuleTable006_=L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2NyYXktcHl0aG9uLzMuOS40LjIubHVhIixbImZ1bGxOYW1lIl09ImNyYXktcHl0aG9uLzMuOS40LjIiLFsibG9hZE9yZGVyIl09Nixwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5LXB5dGhvbi8zLjkuNC4yIix9LGNyYXlwZT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2NyYXlwZS8yLjcuMTMubHVhIixbImZ1bGxOYW1lIl09ImNyYXlwZS8yLjcuMTMiLFsibG9hZE9yZGVyIl09Nyxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0xLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5cGUiLH0sWyJjcmF5cGUt __LMOD_REF_COUNT_MANPATH=/opt/cray/pe/mpich/8.1.12/ofi/man:1;/opt/cray/pe/mpich/8.1.12/man/mpich:1;/opt/cray/pe/libsci/21.08.1.2/man:1;/opt/cray/pe/man/csmlversion:1;/opt/cray/libfabric/1.15.0.0/share/man:1;/opt/cray/pe/dsmml/0.2.2/dsmml/man:1;/opt/cray/pe/craype/2.7.13/man:1;/opt/cray/pe/python/3.9.4.2/share/man:1;/opt/cray/pe/pmi/6.0.16/man:1;/opt/cray/pe/perftools/21.12.0/man:1;/opt/cray/pe/papi/6.0.0.12/share/pdoc/man:1;/usr/share/lmod/lmod/share/man:1;/usr/local/man:1;/usr/share/man:1;/opt/c3/man:1;/opt/puppetlabs/puppet/share/man:1;/opt/clmgr/man:1;/opt/sgi/share/man:1;/opt/clmgr/share/man:1;/opt/clmgr/lib/cm-cli/man:1 _ModuleTable003_=aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImFtZC80LjUuMCIsfSxbImNyYXktZHNtbWwiXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2NyYXktZHNtbWwvMC4yLjIubHVhIixbImZ1bGxOYW1lIl09ImNyYXktZHNtbWwvMC4yLjIiLFsibG9hZE9yZGVyIl09OCxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0xLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJjcmF5LWRzbW1sIix9LFsiY3JheS1saWJzY2kiXT17WyJmbiJdPSIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9jb3JlL2NyYXktbGlic2NpLzIxLjA4LjEuMi5sdWEiLFsiZnVsbE5hbWUiXT0iY3JheS1saWJzY2kvMjEuMDguMS4yIixbImxv LMOD_ROOT=/usr/share/lmod SSH_TTY=/dev/pts/72 FROM_HEADER= PE_CRAYCLANG_FIXED_PKGCONFIG_PATH=/opt/cray/pe/libsci/21.08.1.2/CRAY/9.0/x86_64/lib/pkgconfig CRAY_MPICH_ROOTDIR=/opt/cray/pe/mpich/8.1.12 _ModuleTable013_=L29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY3JheXBlLXRhcmdldHMvZGVmYXVsdDovc3cvY3J1c2hlci9tb2R1bGVmaWxlczovb3B0L2NyYXkvbW9kdWxlZmlsZXM6L29wdC9tb2R1bGVmaWxlcyIsfQ== MAIL=/var/spool/mail/lukebr LESSKEY=/etc/lesskey.bin SPACK_ROOT=/ccs/proj/ven114/lukebr/spack _ModuleTable009_=c2UvMjEuMTIuMCIsWyJsb2FkT3JkZXIiXT0yLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09InBlcmZ0b29scy1iYXNlIix9LHhwbWVtPXtbImZuIl09Ii9vcHQvY3JheS9tb2R1bGVmaWxlcy94cG1lbS8yLjMuMi0yLjJfNi4xMF9fZzkzZGQ3ZWUuc2hhc3RhIixbImZ1bGxOYW1lIl09InhwbWVtLzIuMy4yLTIuMl82LjEwX19nOTNkZDdlZS5zaGFzdGEiLFsibG9hZE9yZGVyIl09Myxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJ4cG1lbSIsfSx9LG1wYXRoQT17Ii9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL21waS9hbWQvNC4wL29maS8xLjAvY3Jh TERM=xterm-256color SHELL=/bin/bash CRAY_MPICH_VER=8.1.12 SHORTHOSTNAME=login LMOD_ADMIN_FILE=/sw/crusher/lmod/etc/admin.list XDG_SESSION_CLASS=user PE_MPICH_FIXED_PRGENV=AMD OLCF_FAMILY_PRGENV_VERSION=8.2.0 LMOD_SITE_NAME=OLCF LMOD_FAMILY_PRGENV=PrgEnv-amd PE_LIBSCI_GENCOMPILERS_AMD_x86_64=4.0 _ModuleTable_Sz_=13 CRAY_PYTHON_PREFIX=/opt/cray/pe/python/3.9.4.2 CRAY_LIBSCI_VERSION=21.08.1.2 LS_OPTIONS=-N --color=tty -T 0 XCURSOR_THEME=DMZ ROCM_COMPILER_VERSION=4.5.0 LMOD_FAMILY_COMPILER=amd USE_PCM_DB=2 CRAY_DSMML_BASEDIR=/opt/cray/pe/dsmml/0.2.2 CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/2.3.2-2.2_6.10__g93dd7ee.shasta/lib64 __LMOD_REF_COUNT_PE_AMD_FIXED_PKGCONFIG_PATH=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib/pkgconfig:1 PROJWORK=/gpfs/alpine/proj-shared PYTHONSTARTUP=/etc/pythonstart SHLVL=12 LANGUAGE=en_US.UTF-8 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64 HIP_PATH=/opt/rocm-4.5.0 MANPATH=/opt/cray/pe/mpich/8.1.12/ofi/man:/opt/cray/pe/mpich/8.1.12/man/mpich:/opt/cray/pe/libsci/21.08.1.2/man:/opt/cray/pe/man/csmlversion:/opt/cray/libfabric/1.15.0.0/share/man:/opt/cray/pe/dsmml/0.2.2/dsmml/man:/opt/cray/pe/craype/2.7.13/man:/opt/cray/pe/python/3.9.4.2/share/man:/opt/cray/pe/pmi/6.0.16/man:/opt/cray/pe/perftools/21.12.0/man:/opt/cray/pe/papi/6.0.0.12/share/pdoc/man:/usr/share/lmod/lmod/share/man:/usr/local/man:/usr/share/man:/opt/c3/man:/opt/puppetlabs/puppet/share/man:/opt/clmgr/man:/opt/sgi/share/man:/opt/clmgr/share/man:/opt/clmgr/lib/cm-cli/man CRAY_DSMML_VERSION=0.2.2 FI_CXI_ATS=0 MPICH_DIR=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4 OSCAR_HOME=/opt/oscar SPACK_LD_LIBRARY_PATH=/opt/cray/pe/python/3.9.4.2/lib:/opt/cray/pe/gcc-libs:/opt/cray/pe/papi/6.0.0.12/lib64:/opt/cray/libfabric/1.15.0.0/lib64 OLCF_FAMILY_PRGENV=PrgEnv-amd MODULEPATH=/opt/cray/pe/lmod/modulefiles/mpi/amd/4.0/ofi/1.0/cray-mpich/8.0:/opt/cray/pe/lmod/modulefiles/cpu/x86-milan/1.0:/opt/cray/pe/lmod/modulefiles/comnet/amd/4.0/ofi/1.0:/opt/cray/pe/lmod/modulefiles/compiler/amd/4.0:/opt/cray/pe/lmod/modulefiles/mix_compilers:/sw/crusher/spack-envs/base/modules/spack/cray-sles15-x86_64/cray-mpich/8.1.12-mf4c3y5/clang/13.0.0-rocm4.5.0:/sw/crusher/spack-envs/base/modules/spack/cray-sles15-x86_64/clang/13.0.0-rocm4.5.0:/sw/crusher/spack-envs/base/modules/spack/linux-sles15-x86_64/Core:/autofs/nccs-svm1_proj/ven114/lukebr/spack/share/spack/modules/cray-sles15-zen:/autofs/nccs-svm1_proj/ven114/lukebr/spack/share/spack/modules/cray-sles15-zen3:/opt/cray/pe/lmod/modulefiles/perftools/21.12.0:/opt/cray/pe/lmod/modulefiles/net/ofi/1.0:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core:/opt/cray/pe/lmod/modulefiles/core:/opt/cray/pe/lmod/modulefiles/craype-targets/default:/sw/crusher/modulefiles:/opt/cray/modulefiles:/opt/modulefiles CRAY_MPICH_DIR=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4 LMOD_FAMILY_CRAYPE=craype LOGNAME=lukebr DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/14442/bus ROCM_COMPILER_PATH=/opt/rocm-4.5.0/llvm CRAY_PMI_VERSION=6.0.16 CRAY_MPICH_VERSION=8.1.12 XDG_RUNTIME_DIR=/run/user/14442 CPLUS_INCLUDE_PATH=/opt/rocm-4.5.0/llvm/include LMOD_PACKAGE_PATH=/sw/crusher/lmod/libexec __LMOD_REF_COUNT_PE_MPICH_GENCOMPILERS_AMD=4.4:1 PE_MPICH_GTL_LIBS_amd_gfx906=-lmpi_gtl_hsa PE_DSMML_PKGCONFIG_LIBS=dsmml JRE_HOME=/usr/lib64/jvm/java/jre PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@:PE_SCI_EXT_LIBPATH:PE_SCI_EXT_LIBNAME XDG_CONFIG_DIRS=/etc/xdg PE_LIBSCI_GENCOMPS_CRAY_x86_64=90 PATH=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin:/opt/rocm-4.5.0/bin:/opt/rocm-4.5.0/llvm/bin:/opt/rocm-4.5.0/bin:/opt/rocm-4.5.0/bin:/opt/rocm-4.5.0/hip/bin:/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin:/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc:/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive:/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env:/opt/cray/libfabric/1.15.0.0/bin:/opt/rocm-4.5.0/bin:/opt/cray/pe/craype/2.7.13/bin:/ccs/proj/ven114/lukebr/spack/bin:/opt/cray/pe/python/3.9.4.2/bin:/opt/cray/pe/perftools/21.12.0/bin:/opt/cray/pe/papi/6.0.0.12/bin:/opt/clmgr/sbin:/opt/clmgr/bin:/opt/sgi/sbin:/opt/sgi/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/c3/bin:/usr/lib/mit/bin:/opt/puppetlabs/bin:/sbin:/opt/cray/pe/bin PE_MPICH_GTL_LIBS_amd_gfx908=-lmpi_gtl_hsa JAVA_BINDIR=/usr/lib64/jvm/java/bin __LMOD_REF_COUNT_PE_PRODUCT_LIST=CRAY_LIBSCI:1;CRAYPE:1;CRAY_PMI:1;PERFTOOLS:1;CRAYPAT:1 _LMFILES_=/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-network-ofi.lua:/opt/cray/pe/lmod/modulefiles/core/perftools-base/21.12.0.lua:/opt/cray/modulefiles/xpmem/2.3.2-2.2_6.10__g93dd7ee.shasta:/opt/cray/pe/lmod/modulefiles/core/cray-pmi/6.0.16.lua:/opt/cray/pe/lmod/modulefiles/core/cray-pmi-lib/6.0.16.lua:/opt/cray/pe/lmod/modulefiles/core/cray-python/3.9.4.2.lua:/opt/cray/pe/lmod/modulefiles/core/craype/2.7.13.lua:/opt/cray/pe/lmod/modulefiles/core/cray-dsmml/0.2.2.lua:/sw/crusher/modulefiles/DefApps/default.lua:/opt/cray/pe/lmod/modulefiles/core/PrgEnv-amd/8.2.0.lua:/opt/cray/pe/lmod/modulefiles/core/amd/4.5.0.lua:/opt/cray/modulefiles/libfabric/1.15.0.0:/opt/cray/pe/lmod/modulefiles/craype-targets/default/craype-x86-milan.lua:/opt/cray/pe/lmod/modulefiles/core/cray-libsci/21.08.1.2.lua:/opt/cray/pe/lmod/modulefiles/comnet/amd/4.0/ofi/1.0/cray-mpich/8.1.12.lua OLCF_FAMILY_COMPILER=amd MODULESHOME=/usr/share/lmod/lmod PKG_CONFIG_PATH=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib/pkgconfig:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/lib/pkgconfig:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib/pkgconfig:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/pkgconfig:/opt/rocm-4.5.0/share/pkgconfig:/opt/rocm-4.5.0/share/pkgconfig:/opt/rocm-4.5.0/share/pkgconfig:/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib/pkgconfig:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/pkgconfig:/opt/cray/libfabric/1.15.0.0/lib64/pkgconfig:/opt/cray/pe/dsmml/0.2.2/dsmml/lib/pkgconfig:/opt/cray/pe/craype/2.7.13/pkg-config:/opt/cray/pe/pmi/6.0.16/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/local/lib64/pkgconfig LMOD_SETTARG_FULL_SUPPORT=no LIBSCI_BASE_DIR=/opt/cray/pe/libsci/21.08.1.2 G_BROKEN_FILENAMES=1 _ModuleTable011_=NjQvY2xhbmcvMTMuMC4wLXJvY200LjUuMCIsIi9zdy9jcnVzaGVyL3NwYWNrLWVudnMvYmFzZS9tb2R1bGVzL3NwYWNrL2xpbnV4LXNsZXMxNS14ODZfNjQvQ29yZSIsIi9hdXRvZnMvbmNjcy1zdm0xX3Byb2ovdmVuMTE0L2x1a2Vici9zcGFjay9zaGFyZS9zcGFjay9tb2R1bGVzL2NyYXktc2xlczE1LXplbiIsIi9hdXRvZnMvbmNjcy1zdm0xX3Byb2ovdmVuMTE0L2x1a2Vici9zcGFjay9zaGFyZS9zcGFjay9tb2R1bGVzL2NyYXktc2xlczE1LXplbjMiLCIvb3B0L2NyYXkvcGUvbG1vZC9tb2R1bGVmaWxlcy9wZXJmdG9vbHMvMjEuMTIuMCIsIi9vcHQvY3JheS9wZS9sbW9kL21vZHVsZWZpbGVzL25ldC9vZmkvMS4wIiwiL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eCIs PE_MPICH_GTL_LIBS_amd_gfx90a=-lmpi_gtl_hsa HISTSIZE=1000 CRAYPE_DIR=/opt/cray/pe/craype/2.7.13 LMOD_PKG=/usr/share/lmod/lmod __LMOD_REF_COUNT_PE_MPICH_PKGCONFIG_LIBS=mpich:1 OFFLOAD_INIT=on_start __LMOD_REF_COUNT_PE_PKGCONFIG_LIBS=mpich:1;libsci_mpi:1;libsci:1;dsmml:1 CPU=x86_64 CRAYPE_VERSION=2.7.13 OLCF_FAMILY_CRAYPE_NETWORK=craype-network-ofi PE_MPICH_GENCOMPILERS_AMD=4.4 _ModuleTable005_=ZS9jcmF5LXBtaS82LjAuMTYubHVhIixbImZ1bGxOYW1lIl09ImNyYXktcG1pLzYuMC4xNiIsWyJsb2FkT3JkZXIiXT00LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09ImNyYXktcG1pIix9LFsiY3JheS1wbWktbGliIl09e1siZm4iXT0iL29wdC9jcmF5L3BlL2xtb2QvbW9kdWxlZmlsZXMvY29yZS9jcmF5LXBtaS1saWIvNi4wLjE2Lmx1YSIsWyJmdWxsTmFtZSJdPSJjcmF5LXBtaS1saWIvNi4wLjE2IixbImxvYWRPcmRlciJdPTUscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MCxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY3JheS1wbWktbGliIix9LFsiY3JheS1weXRob24iXT17WyJmbiJdPSIvb3B0 LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pe/pmi/6.0.16/lib WORLDWORK=/gpfs/alpine/world-shared CRAY_MPICH_PREFIX=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4 LESSOPEN=lessopen.sh %s CRAYPAT_OPTS_EXECUTABLE=libexec64/opts CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/2.3.2-2.2_6.10__g93dd7ee.shasta/include LMOD_DIR=/usr/share/lmod/lmod/libexec PE_LIBSCI_GENCOMPS_GNU_x86_64=91 LMOD_FAMILY_MPI=cray-mpich BASH_FUNC_module%%=() { eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh) } BASH_FUNC_spack%%=() { : this is a shell function from: /ccs/proj/ven114/lukebr/spack/share/spack/setup-env.sh; : the real spack script is here: /ccs/proj/ven114/lukebr/spack/bin/spack; _spack_shell_wrapper "$@"; return $? } BASH_FUNC__spack_shell_wrapper%%=() { for var in LD_LIBRARY_PATH DYLD_LIBRARY_PATH DYLD_FALLBACK_LIBRARY_PATH; do eval "if [ -n \"\${${var}-}\" ]; then export SPACK_$var=\${${var}}; fi"; done; if [ -n "${ZSH_VERSION:-}" ]; then emulate -L sh; fi; _sp_flags=""; while [ ! -z ${1+x} ] && [ "${1#-}" != "${1}" ]; do _sp_flags="$_sp_flags $1"; shift; done; if [ -n "$_sp_flags" ] && [ "${_sp_flags#*h}" != "${_sp_flags}" ] || [ "${_sp_flags#*V}" != "${_sp_flags}" ]; then command spack $_sp_flags "$@"; return; fi; _sp_subcommand=""; if [ ! -z ${1+x} ]; then _sp_subcommand="$1"; shift; fi; case $_sp_subcommand in "cd") _sp_arg=""; if [ -n "$1" ]; then _sp_arg="$1"; shift; fi; if [ "$_sp_arg" = "-h" ] || [ "$_sp_arg" = "--help" ]; then command spack cd -h; else LOC="$(spack location $_sp_arg "$@")"; if [ -d "$LOC" ]; then cd "$LOC"; else return 1; fi; fi; return ;; "env") _sp_arg=""; if [ -n "$1" ]; then _sp_arg="$1"; shift; fi; if [ "$_sp_arg" = "-h" ] || [ "$_sp_arg" = "--help" ]; then command spack env -h; else case $_sp_arg in activate) _a=" $@"; if [ -z ${1+x} ] || [ "${_a#* --sh}" != "$_a" ] || [ "${_a#* --csh}" != "$_a" ] || [ "${_a#* -h}" != "$_a" ] || [ "${_a#* --help}" != "$_a" ]; then command spack env activate "$@"; else stdout="$(command spack $_sp_flags env activate --sh "$@")" || return; eval "$stdout"; fi ;; deactivate) _a=" $@"; if [ "${_a#* --sh}" != "$_a" ] || [ "${_a#* --csh}" != "$_a" ]; then command spack env deactivate "$@"; else if [ -n "$*" ]; then command spack env deactivate -h; else stdout="$(command spack $_sp_flags env deactivate --sh)" || return; eval "$stdout"; fi; fi ;; *) command spack env $_sp_arg "$@" ;; esac; fi; return ;; "load" | "unload") _a=" $@"; if [ "${_a#* --sh}" != "$_a" ] || [ "${_a#* --csh}" != "$_a" ] || [ "${_a#* -h}" != "$_a" ] || [ "${_a#* --list}" != "$_a" ] || [ "${_a#* --help}" != "$_a" ]; then command spack $_sp_flags $_sp_subcommand "$@"; else stdout="$(command spack $_sp_flags $_sp_subcommand --sh "$@")" || return; eval "$stdout"; fi ;; *) command spack $_sp_flags $_sp_subcommand "$@" ;; esac } BASH_FUNC_ml%%=() { eval $($LMOD_DIR/ml_cmd "$@") } _=/opt/cray/pe/python/3.9.4.2/bin/python ACLOCAL_PATH=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/share/aclocal CC=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang CFLAGS=-DLLVM_VERSION_SUFFIX=git CMAKE_PREFIX_PATH=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g:/opt/rocm-4.5.0:/opt/rocm-4.5.0/llvm:/opt/rocm-4.5.0:/opt/rocm-4.5.0:/opt/rocm-4.5.0/hipblas:/opt/rocm-4.5.0/hip:/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64 CRAYPE_LINK_TYPE=dynamic CXX=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang++ CXXFLAGS=-DLLVM_VERSION_SUFFIX=git DEVICE_LIB_PATH=/opt/rocm-4.5.0/amdgcn/bitcode F77=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang FC=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang HCC_AMDGPU_TARGET=gfx90a HDF5_USE_FILE_LOCKING=FALSE HIPCC_COMPILE_FLAGS_APPEND=--rocm-path=/opt/rocm-4.5.0 HIP_CLANG_PATH=/opt/rocm-4.5.0/llvm/bin HIP_COMPILER=clang HIP_DEVICE_LIB_PATH=/opt/rocm-4.5.0/amdgcn/bitcode HIP_PLATFORM=amd LDCXXSHARED=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang++ -shared LDSHARED=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang -shared -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/bzip2-1.0.8-sp5hyrc6eui46zlqndhy64ooje4btirg/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/expat-2.4.6-r5pqaebqdt4ga6hwe6je5wpu4h3fwjtu/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/gdbm-1.19-nbvx3mfqlkqlnmnrjls7hge2uxo65rst/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/gettext-0.21-pxxd7mnvutlfu6c3xmv65q3jq3gimbol/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/libffi-3.4.2-47o345gnsyzu46fm6i4wwrxmug55g33f/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/ncurses-6.2-vzplkcb376pdqhba2uepf4jwkbyscwza/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/openssl-1.1.1m-aow7g5hyejmjfx2wsfgzap4xdw7gykr2/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/readline-8.1-eozzbffnow766lnlrk5kptqx2xregzxa/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sqlite-3.37.2-v7g5xlxwkm223ztlq5fgx72wubwbregg/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/util-linux-uuid-2.37.4-aoblby5sehz5juacxicajxnqsiogp24g/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/xz-5.2.5-xmvsitket2yv2pfkuknuoejd55p6yyu6/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib LLVM_PATH=/opt/rocm-4.5.0/llvm MPICC=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc MPICH_CC=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang MPICH_CXX=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang++ MPICH_F77=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang MPICH_F90=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang MPICH_FC=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang MPICXX=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx MPIF77=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif77 MPIF90=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 PYTHONHOME=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub ROCMINFO_PATH=/opt/rocm-4.5.0 SPACK_CC=cc SPACK_CC_RPATH_ARG=-Wl,-rpath, SPACK_COMPILER_IMPLICIT_RPATHS=/opt/rocm-4.5.0/llvm/lib SPACK_COMPILER_SPEC=rocmcc@4.5.0 SPACK_CXX=CC SPACK_CXX_RPATH_ARG=-Wl,-rpath, SPACK_DEBUG_LOG_DIR=/autofs/nccs-svm1_proj/ven114/lukebr/coral2_spack_manifests/crusher/sow SPACK_DEBUG_LOG_ID=petsc-mccbycx SPACK_DTAGS_TO_ADD=--disable-new-dtags SPACK_DTAGS_TO_STRIP=--enable-new-dtags SPACK_ENV_PATH=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env:/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive:/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc SPACK_F77=ftn SPACK_F77_RPATH_ARG=-Wl,-rpath, SPACK_FC=ftn SPACK_FC_RPATH_ARG=-Wl,-rpath, SPACK_FFLAGS=-fPIC SPACK_INCLUDE_DIRS=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include:/opt/rocm-4.5.0/include:/opt/rocm-4.5.0/llvm/include:/opt/rocm-4.5.0/hipblas/include:/opt/rocm-4.5.0/hip/include:/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/include SPACK_LDFLAGS=-Wl,-z,notext SPACK_LINKER_ARG=-Wl, SPACK_LINK_DIRS=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib:/opt/rocm-4.5.0/lib:/opt/rocm-4.5.0/lib64:/opt/rocm-4.5.0/llvm/lib:/opt/rocm-4.5.0/hipblas/lib:/opt/rocm-4.5.0/hip/lib:/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib SPACK_RPATH_DIRS=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/lib64:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib:/opt/rocm-4.5.0/lib:/opt/rocm-4.5.0/lib64:/opt/rocm-4.5.0/llvm/lib:/opt/rocm-4.5.0/hipblas/lib:/opt/rocm-4.5.0/hip/lib:/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib SPACK_SHORT_SPEC=petsc@main%rocmcc@4.5.0~X+batch~cgns~complex~cuda~debug+double~exodusii~fftw~giflib+hdf5~hpddm~hwloc+hypre~int64~jpeg~knl~libpng~libyaml~memkind+metis~mkl-pardiso~mmg~moab~mpfr+mpi~mumps~openmp~p4est~parmmg~ptscotch~random123+rocm~saws~scalapack+shared~strumpack~suite-sparse+superlu-dist~tetgen~trilinos~valgrind amdgpu_target=gfx90a clanguage=C arch=cray-sles15-zen3/mccbycx SPACK_SYSTEM_DIRS=/bin:/usr/bin:/usr/local/bin:/bin64:/usr/bin64:/usr/local/bin64:/include:/usr/include:/usr/local/include:/lib:/usr/lib:/usr/local/lib:/lib64:/usr/lib64:/usr/local/lib64:/:/usr:/usr/local SPACK_TARGET_ARGS= Files in path provided by default path /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin: bib2html pstoxbm tohtml doc2lt bfort doctext pstogif mapnames /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin: pydoc3 idle3.9 python 2to3-3.9 python3-config python3.9-config pydoc3.9 python3.9 python-config idle3 python3 python3.9-gdb.py pip3.9 2to3 pip3 /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin: pydoc3 idle3.9 python 2to3-3.9 python3-config python3.9-config pydoc3.9 python3.9 python-config idle3 python3 python3.9-gdb.py pip3.9 2to3 pip3 /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin: ptest parmetis mtest pometis /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin: mpmetis m2gmetis graphchk cmpfillin ndmetis gpmetis /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin: h5debug-shared h5import h5mkgrp h5debug h5import-shared ph5diff-shared h5copy-shared mirror_server h5repack h5cc h5stat h5ls h5copy h5repart-shared h5unjam h5unjam-shared h5dump-shared h5clear h5diff h5ls-shared h5format_convert-shared h5pcc h5stat-shared mirror_server_stop h5jam h5mkgrp-shared ph5diff h5repart h5diff-shared h5dump h5format_convert h5repack-shared h5clear-shared h5jam-shared /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin: pkg-config pkgconf /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin: cmp diff3 diff sdiff /opt/rocm-4.5.0/bin: .hipVersion amdclang amdclang++ amdclang-cl amdclang-cpp amdflang aompcc clang-ocl findcode.sh finduncodep.sh gputable.txt hip_embed_pch.sh hipcc hipcc_cmake_linker_helper hipconfig hipconvertinplace-perl.sh hipconvertinplace.sh hipdemangleatp hipexamine-perl.sh hipexamine.sh hipify-cmakefile hipify-perl hipvars.pm mygpu mymcpu roc-obj roc-obj-extract roc-obj-ls rocgdb rocm-bandwidth-test rocm-smi rocm_agent_enumerator rocm_smi.py rocminfo rocprof rsmiBindings.py /opt/rocm-4.5.0/llvm/bin: amdclang amdclang++ amdclang-cl amdclang-cpp amdflang aompcc bugpoint c-index-test clang clang++ clang-13 clang-apply-replacements clang-build-select-link clang-change-namespace clang-check clang-cl clang-cpp clang-doc clang-extdef-mapping clang-format clang-include-fixer clang-move clang-nvlink-wrapper clang-offload-bundler clang-offload-wrapper clang-query clang-refactor clang-rename clang-reorder-fields clang-scan-deps clang-tidy clangd diagtool dsymutil find-all-symbols flang flang1 flang2 git-clang-format gputable.txt hmaptool ld.lld ld64.lld ld64.lld.darwinnew ld64.lld.darwinold llc lld lld-link lli llvm-addr2line llvm-ar llvm-as llvm-bcanalyzer llvm-bitcode-strip llvm-c-test llvm-cat llvm-cfi-verify llvm-config llvm-cov llvm-cvtres llvm-cxxdump llvm-cxxfilt llvm-cxxmap llvm-diff llvm-dis llvm-dlltool llvm-dwarfdump llvm-dwp llvm-elfabi llvm-exegesis llvm-extract llvm-gsymutil llvm-ifs llvm-install-name-tool llvm-jitlink llvm-lib llvm-libtool-darwin llvm-link llvm-lipo llvm-lto llvm-lto2 llvm-mc llvm-mca llvm-ml llvm-modextract llvm-mt llvm-nm llvm-objcopy llvm-objdump llvm-opt-report llvm-pdbutil llvm-profdata llvm-profgen llvm-ranlib llvm-rc llvm-readelf llvm-readobj llvm-reduce llvm-rtdyld llvm-size llvm-split llvm-stress llvm-strings llvm-strip llvm-symbolizer llvm-tblgen llvm-undname llvm-xray modularize mygpu mymcpu opt pp-trace run-clang-tidy sancov sanstats scan-build scan-view split-file verify-uselistorder wasm-ld /opt/rocm-4.5.0/bin: .hipVersion amdclang amdclang++ amdclang-cl amdclang-cpp amdflang aompcc clang-ocl findcode.sh finduncodep.sh gputable.txt hip_embed_pch.sh hipcc hipcc_cmake_linker_helper hipconfig hipconvertinplace-perl.sh hipconvertinplace.sh hipdemangleatp hipexamine-perl.sh hipexamine.sh hipify-cmakefile hipify-perl hipvars.pm mygpu mymcpu roc-obj roc-obj-extract roc-obj-ls rocgdb rocm-bandwidth-test rocm-smi rocm_agent_enumerator rocm_smi.py rocminfo rocprof rsmiBindings.py /opt/rocm-4.5.0/bin: .hipVersion amdclang amdclang++ amdclang-cl amdclang-cpp amdflang aompcc clang-ocl findcode.sh finduncodep.sh gputable.txt hip_embed_pch.sh hipcc hipcc_cmake_linker_helper hipconfig hipconvertinplace-perl.sh hipconvertinplace.sh hipdemangleatp hipexamine-perl.sh hipexamine.sh hipify-cmakefile hipify-perl hipvars.pm mygpu mymcpu roc-obj roc-obj-extract roc-obj-ls rocgdb rocm-bandwidth-test rocm-smi rocm_agent_enumerator rocm_smi.py rocminfo rocprof rsmiBindings.py /opt/rocm-4.5.0/hip/bin: .hipVersion findcode.sh finduncodep.sh hip_embed_pch.sh hipcc hipcc_cmake_linker_helper hipconfig hipconvertinplace-perl.sh hipconvertinplace.sh hipdemangleatp hipexamine-perl.sh hipexamine.sh hipify-cmakefile hipify-perl hipvars.pm roc-obj roc-obj-extract roc-obj-ls /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin: mpic++ mpicc mpichversion mpicxx mpif77 mpif90 mpifort /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc: amdclang amdclang++ amdflang /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive: CC /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env: aocc arm c++ c89 c99 case-insensitive cc cce clang cpp f77 f90 f95 fc fj ftn gcc intel ld ld.gold ld.lld nag nvhpc oneapi pgi xl xl_r rocmcc /opt/cray/libfabric/1.15.0.0/bin: fi_info fi_pingpong fi_strerror /opt/rocm-4.5.0/bin: .hipVersion amdclang amdclang++ amdclang-cl amdclang-cpp amdflang aompcc clang-ocl findcode.sh finduncodep.sh gputable.txt hip_embed_pch.sh hipcc hipcc_cmake_linker_helper hipconfig hipconvertinplace-perl.sh hipconvertinplace.sh hipdemangleatp hipexamine-perl.sh hipexamine.sh hipify-cmakefile hipify-perl hipvars.pm mygpu mymcpu roc-obj roc-obj-extract roc-obj-ls rocgdb rocm-bandwidth-test rocm-smi rocm_agent_enumerator rocm_smi.py rocminfo rocprof rsmiBindings.py /opt/cray/pe/craype/2.7.13/bin: 2.25.0.craype.ld CC cc driver ftn /ccs/proj/ven114/lukebr/spack/bin: sbang spack spack-python /opt/cray/pe/python/3.9.4.2/bin: 2to3 2to3-3.9 cygdb cython cythonize easy_install easy_install-3.9 f2py f2py3 f2py3.9 idle3 idle3.9 nosetests nosetests-3.9 pip pip3 pip3.9 py.test pybind11-config pydoc3 pydoc3.9 pytest python python3 python3-config python3.9 python3.9-config /opt/cray/pe/perftools/21.12.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.12/bin: papi_avail papi_clockres papi_command_line papi_component_avail papi_cost papi_decode papi_error_codes papi_event_chooser papi_mem_info papi_multiplex_cost papi_native_avail papi_version papi_xml_event_info Warning accessing /opt/clmgr/sbin gives errors: [Errno 2] No such file or directory: '/opt/clmgr/sbin' /opt/clmgr/bin: SecondaryServerMonitoringDaemon SendUdpMessage SmallMonitoringDaemon clubak cluset clush cm cmu_lock cmu_restart_monitoring cmu_start_monitoring cmu_stop_monitoring config_client dshbak nodeset pcm_console pdcp pdsh rpdcp /opt/sgi/sbin: cattr ipmiwrapper repair-ssh-root-keys tempohbc /opt/sgi/bin: chosts cminfo cnodes /usr/local/bin: /usr/bin: .fipscheck.hmac 411toppm 7zr BackGround Backarrow2BackSpace Backarrow2Delete Mail SUSEConnect Signature_conversion X X11 Xdmx Xephyr Xnest Xorg Xvfb Xvnc [ aa-easyprof aa-enabled aa-exec ab ab2 acestatus71 acetest71 aclocal aclocal-1.15 aconnect acpi_listen acpi_validate acpibin acpiexamples acpiexec acpihelp acpinames acpisrc acpixtract acyclic addftinfo addr2line affixcompress afmtodit agentxtrap all_notes_off alsaloop alsamixer alsatplg alsaucm amidi amixer amuFormat.sh analyze anytopnm apache2-find-directives aplay aplaymidi appdata2solv appletviewer applydeltaiso applydeltarpm appres apropos ar arch arecord arecordmidi arpaname as asciitopgm aseqdump aseqnet asn1Coding asn1Decoding asn1Parser at atktopbm atq atrm attr augmatch augparse augtool aulast aulastlog ausyscall authvar autoconf autoexpect autoheader autom4te automake automake-1.15 autoreconf autoscan autoupdate auvirt avstopam awk axfer b2sum babeltrace babeltrace-log base32 base64 basename basenc bash bashbug batch bc bcomps bdftopcf binhex.pl bioradtopgm bison bmptopnm bmptoppm bootctl broadwayd brushtopbm btrfs-map-logical build-classpath build-classpath-directory build-jar-repository bunzip2 busctl bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore bznew c++ c++filt c_rehash cal call-browser callgrind_annotate callgrind_control cameratopam cancel captoinfo cat catchsegv catman cc ccmake ccomps certutil cg_annotate cg_diff cg_merge chacl chage chardetect chardetect-2.7 chardetect-3.6 chattr chcon check-binary-files check_forensic check_forensic2 checkmedia checksctp chem chfn chgrp chkconfig chkstat chmem chmod chmorph choom chooser chown chronyc chroot chrt chsh chvt cifscreds cifsdd cifsiostat circo cistopbm cksum clamav-config clambc clamconf clamdscan clamdtop clamscan clamsubmit clean-binary-files clear clrunimap cluster cmake cmcp cmnodes cmp cmsh cmsutil cmuwmtopbm cnf col colcrt collectl colmux colrm column combinedeltarpm comm command-not-found comps2solv coredumpctl corelist cp cpack cpan cpio cpp cpp-7 cpupcstat cpupower crc32 create-jar-links crlutil crontab cryptdir csh csplit ctest cups-config cupstestdsc cupstestppd curl curl-config cut 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_stat cxi_write_bw cxi_write_lat cyrus_sasl_sample_client cyrus_sasl_sample_server date dbilogstrip dbiprof dbiproxy dbmmanage dbmmanage2 dbus-binding-tool dbus-cleanup-sockets dbus-daemon dbus-launch dbus-launch.nox11 dbus-launch.x11 dbus-monitor dbus-run-session dbus-send dbus-test-tool dbus-update-activation-environment dbus-uuidgen dbwrap_tool dc dconf dd ddbugtopbm deallocvt debinhex.pl decryptdir deltainfoxml2solv delv desktop-file-edit desktop-file-install desktop-file-validate desktop-launch devdump df dhcpdump dhcping dialog diff diff-jars diff3 dig dijkstra dir dircolors dirname disable-paste dislocate display-buttons display-coords dkimsign.pl dkimverify.pl dltest dmesg dmxaddinput dmxaddscreen dmxinfo dmxreconfig dmxresize dmxrminput dmxrmscreen dmxtodmx dmxwininfo dnsdomainname domainname dos2unix dot dot2gxl dot_builtins dotty dracut driverless drpmsync du dumpkeys dumpmscat dumpsolv dvipdf dwp easy_install easy_install-2.7 easy_install-3.6 echo edgepaint edit editres efikeygen efisiglist egrep egview egvim eject elfedit embedspu enc2xs encguess encode_keychange env envsubst eps2eps epsffit eqn eqn2graph erb erb.ruby2.5 escp2topbm 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 eview evim ex expand expect expiry expr extcheck extlinux extractres eyuvtoppm f2py f2py-3.6 f2py3 f2py3.6 factor fadot fallocate false fc-cache fc-cat fc-list fc-match fc-pattern fc-query fc-scan fc-validate fdp fdupes fgconsole fgrep fiascotopnm file filesize fillup fincore find find-jar findmnt findsmb fio fio-btrace2fio fio-dedupe fio-genzipf fio-verify-state fio2gnuplot fio_generate_plots fio_jsonplus_clat2csv fiologparser.py fiologparser_hist.py fips_standalone_hmac fipscheck fipshmac firewall-cmd firewall-offline-cmd fitstopnm fixdlsrps fixfmps fixmacps fixproc fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps fiz flex flex++ flock fmt fold fonttosfnt foomatic-rip formail fragiso free freshclam fstopgm ftp-rfc funzip funzip-plain fuser fusermount fusermount3 g++ g++-7 g13 g2r gapplication gawk gc gcc gcc-7 gcc-ar gcc-ar-7 gcc-nm gcc-nm-7 gcc-ranlib gcc-ranlib-7 gcore gcov gcov-7 gcov-dump gcov-dump-7 gcov-tool gcov-tool-7 gcr-viewer gdb gdb-add-index gdbus gdiffmk gdk-pixbuf-query-loaders-64 gdk-pixbuf-thumbnailer gem gem.ruby2.5 gem2rpm gem2rpm-0.10.1 gem2rpm.ruby2.5 gem2rpm.ruby2.5-0.10.1 gemtopbm gemtopnm genDDNSkey gencat gendiff genfio gensslcert geoiplookup geoiplookup6 geqn get-versions get_kernel_version getafm getcifsacl getconf getent getfacl getfattr gethostip getkeycodes getopt gettext gettext.sh getunimap gex gfortran gfortran-7 giftopnm gio gio-launch-desktop gio-querymodules-64 git git-new-workdir git-receive-pack git-shell git-upload-archive git-upload-pack glib-compile-schemas glilypond gmake gmetric gml2gv gnumt gnurmt gouldtoppm gpasswd gperl gpg gpg-agent gpg-connect-agent gpg-wks-server gpg-zip gpg2 gpgconf gpgparsemail gpgscm gpgsm gpgsplit gpgtar gpgv gpgv2 gpinyin gpm-root gprof grap2graph graphml2gv grep gresource grn grodvi groff groffer grog grolbp grolj4 gropdf 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 gs gsbj gsdj gsdj500 gsettings gslj gslp gsnd gstack gstat gtbl gtf gtk-builder-tool 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 gv2gml gv2gxl gvcolor gvgen gvi gview gvim gvimdiff gvimtutor gvmap gvmap.sh gvpack gvpr gxditview gxl2dot gxl2gv gzexe gzip h2ph h2xs hardlink hdifftopam hdisk.pl head hexdump hipstopgm hltest host hostid hostname hostnamectl hpftodit htdbm htdbm2 htdigest htdigest2 htpasswd htpasswd2 httxt2dbm hugeadm hugectl hugeedit hunspell hunzip 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 hzip i386 iasl iceauth icehelp icesh icesh-default icesound icewm icewm-default icewm-menu-fdo icewm-session icewm-session-default icewmbg icewmbg-default icewmhint icewmhint-default icewmtray icontopbm iconv id iecset ifnames ilbmtoppm imgtoppm includeres indxbib info infocmp infotocap infotopam initviocons install install-info installation_sources installcheck instmodsh intel-speed-select ionice iostat ipcmk ipcrm ipcs ipf-mod.pl ipmitool ippfind ipptool iptables-xml irb irb.ruby2.5 irqtop isdv4-serial-inputattach isodebug isodump isohybrid isohybrid.pl isoinfo isolinux-config isosize isovfy ispellaff2myspell isql iusql jar jarsigner java javac javadoc javah javap jbigtopnm jcmd jconsole jdb jhat jinfo jmap join journalbeat journalctl jp jp-3.6 jpeg2ktopam jpegtopnm jps jq jrunscript jsadebugd json_pp json_xs jstack jstat jstatd kbd kbd_mode kbdinfo kbdrate kbxutil kernel-install keyctl keygen keytab-lilo keytool kibitz kill killall kinit klist kmod kmp-install koi8rxterm ksh last lastb lastlog ld ld.bfd ldapadd ldapcompare ldapdelete ldapexop ldapmodify ldapmodrdn ldappasswd ldapsearch ldapurl ldapwhoami ldd leaftoppm lefty less lessclose.sh lessecho lesskey lessopen.sh lex lexgrog libnetcfg libtool libtoolize line link linux32 linux64 lispmtopgm lkbib lksh ln lneato lnstat loadkeys loadunimap locale localectl localedef locate lockfile log_server_status log_server_status2 logger loginctl logname lognormalizer logresolve logresolve2 look lookbib lp lpoptions lpq lpr lprm lprsetup.sh lpstat lpunlock ls lsar lsattr lsb-release lsb_release lsblk lscpu lsinitrd lsipc lsirq lslocks lslogins lsmem lsmod lsns lsof lss16toppm lsscsi lstopo lstopo-no-graphics lsusb lsusb.py lua lua5.3 luac luac5.3 luit luitx lwp-download lwp-dump lwp-mirror lwp-request lz lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzma lzmadec lzmainfo lzmore m4 mac2unix macptopbm mail mailq mailstat mailx make makealias makedb makedeltaiso makedeltarpm makedumpfile makedumpfile-R.pl man mandb manpath manweb mapscrn mattrib mbadblocks mcat mcd mcheck mclasserase mcomp mcookie mcopy md5pass md5sum mdatopbm mdel mdeltree mdig mdir mdu memdiskfind memhog memsample memsample-archive-to-csv memsample-csv-plot merge-pciids mergesolv mesg mev mformat mgrtopbm migratepages migspeed minfo mkdir mkdiskimage mkfifo mkfontdir mkfontscale mkhybrid mkinfodir mkisofs mkmanifest mknod mksh mksquashfs mktemp mkzftree mlabel mm2gv mmd mmount mmove mmroff modsign-repackage modsign-verify modutil more mount mountpoint mouse-test mpartition mpi-selector mpi-selector-menu mpstat mrd mren mrftopbm ms_print msgfmt mshortname mshowfat mt mtools mtoolstest mtvtoppm mtype multixterm munch munge mutt mv mvxattr mxtar mzip named-rrchecker namei native2ascii nc ncurses6-config ncursesw6-config neato needs-restarting neotoppm neqn net net-server net-snmp-cert net-snmp-config net-snmp-create-v3-user netcat newaliases newgidmap newgrp newuidmap nfs4_editfacl nfs4_getfacl nfs4_setfacl ngettext nice nisdomainname nl nm nmblookup nmbstatus nodeattr nohup nokogiri nokogiri-1.8.5 nokogiri.ruby2.5 nokogiri.ruby2.5-1.8.5 nop nproc nroff ns_conv_util71 nsenter nslookup nss-policy-check nstat nsupdate numactl numademo numastat numfmt oLschema2ldif objcopy objdump od odbc_config odbcinst old omshell openssl openvt oprofile_map_events.pl oprofile_start.sh orbd os_release osage osirrox outpsfheader p11-kit p7zip pack200 pagesize palmtopnm pamaddnoise pamarith pambackground pambayer pamchannel pamcomp pamcrater pamcut pamdeinterlace pamdepth pamdice pamditherbw pamedge pamendian pamenlarge pamexec pamfile pamfix pamfixtrunc pamflip pamfunc pamgauss pamgradient pamlookup pammasksharpen pammixinterlace pammosaicknit pamoil pampaintspill pamperspective pampick pampop9 pamrecolor pamrgbatopng pamrubber pamscale pamseq pamshadedrelief pamsharpmap pamsharpness pamsistoaglyph pamslice pamsplit pamstack pamstereogram pamstretch pamstretch-gen pamsumm pamsummcol pamtable pamthreshold pamtilt pamtoavs pamtodjvurle pamtofits pamtogif pamtohdiff pamtohtmltbl pamtojpeg2k pamtompfont pamtooctaveimg pamtopam pamtopdbimg pamtopfm pamtopng pamtopnm pamtosrf pamtosvg pamtotga pamtotiff pamtouil pamtowinicon pamtoxvmini pamundice pamunlookup pamvalidate pamwipeout pamx passmass passwd paste patch patchwork pathchk pbmclean pbmlife pbmmake pbmmask pbmminkowski pbmpage pbmpscale pbmreduce pbmtext pbmtextps pbmto10x pbmto4425 pbmtoascii pbmtoatk pbmtobbnbg pbmtocis pbmtocmuwm pbmtodjvurle pbmtoepsi pbmtoepson pbmtoescp2 pbmtog3 pbmtogem pbmtogo pbmtoibm23xx pbmtoicon pbmtolj pbmtoln03 pbmtolps pbmtomacp pbmtomatrixorbital pbmtomda pbmtomgr pbmtomrf pbmtonokia pbmtopgm pbmtopi3 pbmtopk pbmtoplot pbmtoppa pbmtopsg3 pbmtoptx pbmtosunicon pbmtowbmp pbmtox10bm pbmtoxbm pbmtoybm pbmtozinc pbmupc pc1toppm pcxtoppm pdbedit pdbimgtopam pdf2dsc pdf2ps pdfattach pdfdetach pdffonts pdfimages pdfinfo pdfmom pdfroff pdfseparate pdfsig pdftocairo pdftohtml pdftoppm pdftops pdftotext pdfunite pdksh peekfd perf perl perl5.26.1 perlbug perldoc perlivp perlthanks pesigcheck pesign pesign-client pf2afm pfbtopfa pfbtops pfmtopam pgmabel pgmbentley pgmcrater pgmdeshadow pgmedge pgmenhance pgmhist pgmkernel pgmmake pgmmedian pgmminkowski pgmmorphconv pgmnoise pgmnorm pgmoil pgmramp pgmslice pgmtexture pgmtofs pgmtolispm pgmtopbm pgmtopgm pgmtoppm pgmtosbig pgmtost4 pgpewrap pgpring pgrep pi1toppm pi3topbm pic pic2graph piconv pidstat pigz pinentry pinentry-curses pinentry-tty ping ping6 pinky pip pip3 pip3.6 pjtoppm pk12util pkaction pkcheck pkexec pkg-config pkill pktopbm pkttyagent pl2pm plymouth pmap pngtopam pngtopnm pnmalias pnmarith pnmcat pnmcolormap pnmcomp pnmconvol pnmcrop pnmcut pnmdepth pnmenlarge pnmfile pnmflip pnmgamma pnmhisteq pnmhistmap pnmindex pnminterp pnminvert pnmmargin pnmmercator pnmmontage pnmnlfilt pnmnoraw pnmnorm pnmpad pnmpaste pnmpsnr pnmquant pnmquantall pnmremap pnmrotate pnmscale pnmscalefixed pnmshear pnmsmooth pnmsplit pnmstitch pnmtile pnmtoddif pnmtofiasco pnmtofits pnmtojbig pnmtojpeg pnmtopalm pnmtopclxl pnmtoplainpnm pnmtopng pnmtopnm pnmtops pnmtorast pnmtorle pnmtosgi pnmtosir pnmtotiff pnmtotiffcmyk pnmtoxwd pod2html pod2man pod2text pod2usage pod_cover podchecker podselect policytool post-grohtml pphs ppm3d ppmbrighten ppmchange ppmcie ppmcolormask ppmcolors ppmdcfont ppmddumpfont ppmdim ppmdist ppmdither ppmdmkfont ppmdraw ppmfade ppmflash ppmforge ppmglobe ppmhist ppmlabel ppmmake ppmmix ppmnorm ppmntsc ppmpat ppmquant ppmquantall ppmrainbow ppmrelief ppmrough ppmshadow ppmshift ppmspread ppmtoacad ppmtoapplevol ppmtoarbtxt ppmtoascii ppmtobmp ppmtoeyuv ppmtogif ppmtoicr ppmtoilbm ppmtojpeg ppmtoleaf ppmtolj ppmtolss16 ppmtomap ppmtomitsu ppmtoneo ppmtopcx ppmtopgm ppmtopi1 ppmtopict ppmtopj ppmtopjxl ppmtoppm ppmtopuzz ppmtorgb3 ppmtosixel ppmtospu ppmtoterm ppmtotga ppmtouil ppmtowinicon ppmtoxpm ppmtoyuv ppmtoyuvsplit ppmtv ppmwheel pr pre-grohtml preconv printafm printenv printf prlimit procmail profiles prove prtstat prune ps ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps ps2ps2 psbook psfaddtable psfgettable psfstriptable psfxtable psidtopgm pslog psmerge psnup psresize psselect pstops pstree pstree.x11 ptar ptardiff ptargrep ptty_try ptx pv pwd pwdx pxelinux-options pydoc pydoc3 pydoc3.6 python python2 python2.7 python3 python3.6 python3.6m pyvenv pyvenv-3.6 qrttoppm quota quotasync rake rake.ruby.ruby2.5 rake.ruby2.5 ranlib rasttopnm rawtopgm rawtoppm rbash rdate rdoc rdoc.ruby.ruby2.5 rdoc.ruby2.5 re2c readelf readlink realpath rebuild-jar-repository refer regdiff regpatch regshell regtree relnotes remunge rename rendercheck renice repo2solv repo2solv.sh repomdxml2solv rescan-scsi-bus.sh reset resize resizecons rev rftp rgb3toppm rgview rgvim ri ri.ruby.ruby2.5 ri.ruby2.5 rlatopam rletopnm rlogin-cwd rm rmdir rmic rmid rmiregistry rmt roff2dvi roff2html roff2pdf roff2ps roff2text roff2x routef routel rpcclient rpm rpm2cpio rpmdb rpmdb2solv rpmgraph rpmkeys rpmlocate rpmmd2solv rpmqpack rpmquery rpms2solv rpmsign rpmspec rpmverify rsync rsyncstats ruby ruby-find-versioned ruby.ruby2.5 run-singularity runcon rview rvim s3 sa-awl sa-check_spamd sa-compile sa-learn sa-update sacct sacctmgr sadf safe-rm safe-rmdir salloc samba-regedit sar sattach sbatch sbcast sbigtopgm scancel sccmap scdaemon schemagen scontrol scout scp screen screendump script scriptlive scriptreplay scrontab scsi_logging_level scsi_mandat scsi_readcap scsi_ready scsi_satl scsi_start scsi_stop scsi_temperature sctp_darn sctp_status sctp_test sdiag sdiff sed seq serialver servertool sessreg set_default_volume setarch setcifsacl setfacl setfattr setfont setkeycodes setleds setlogcons setmetamode setpalette setpriv setsid setterm setvesablank setvtrgb setxkbmap sfdp sftp sg sg_bg_ctl sg_compare_and_write sg_copy_results sg_dd sg_decode_sense sg_emc_trespass sg_format sg_get_config sg_get_lba_status sg_ident sg_inq sg_logs sg_luns sg_map sg_map26 sg_modes sg_opcodes sg_persist sg_prevent sg_raw sg_rbuf sg_rdac sg_read sg_read_attr sg_read_block_limits sg_read_buffer sg_read_long sg_readcap sg_reassign sg_referrals sg_rep_zones sg_requests sg_reset sg_reset_wp sg_rmsn sg_rtpg sg_safte sg_sanitize sg_sat_identify sg_sat_phy_event sg_sat_read_gplog sg_sat_set_features sg_scan sg_seek sg_senddiag sg_ses sg_ses_microcode sg_start sg_stpg sg_stream_ctl sg_sync sg_test_rwbuf sg_timestamp sg_turs sg_unmap sg_verify sg_vpd sg_wr_mode sg_write_buffer sg_write_long sg_write_same sg_write_verify sg_write_x sg_xcopy sg_zone sgather sgi_config_changed sginfo sgitopnm sgm_dd sgp_dd sh sha1pass sha1sum sha224sum sha256sum sha384sum sha512sum shade-jar shar sharesec shasum showchar showconsolefont showkey showrgb shred shuf signtool signver sigtool sinfo singularity sirtopnm size skill slabtop sldtoppm sleep slencheck slingshot-firmware slingshot-ifname slingshot-ifroute slptool smbcacls smbclient smbcontrol smbcquotas smbget smbinfo smbpasswd smbprngenpdf smbspool smbtar smbtree smicache smidiff smidump smilint smime_keys smiquery smistrip smixlate smtpd.py snapper snice snmp-bridge-mib snmpbulkget snmpbulkwalk snmpcheck snmpconf snmpdelta snmpdf snmpget snmpgetnext snmpinform snmpnetstat snmpset snmpstatus snmptable snmptest snmptls snmptranslate snmptrap snmpusm snmpvacm snmpwalk soelim sort spamassassin spamc spawn_console spawn_login spctoppm speaker-test spfquery spice-vdagent splain split split-logfile split-logfile2 spottopgm sprio sprof sputoppm sqlite3_analyzer squeue sreport srftopam srun ss ssh ssh-add ssh-agent ssh-copy-id ssh-keygen ssh-keyscan sshare ssltap sss_ssh_authorizedkeys sss_ssh_knownhostsproxy sstat st4topgm startpar startx stat stdbuf stdlogctl strace strace-graph strace-log-merge strigger strings strip stty su sudo sudoedit sudoreplay sum sunicontopnm suse-update-mime-defaults susetags2solv svgtopam sync syscfg syslinux syslinux-mtools syslinux2ansi systemconfigurator 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 tapestat tar taskset tbl tclsh tclsh8.6 tcsh tee termprobes test testparm testsolv tfmtodit tgatoppm tgz thinkjettopbm tic tidy_changelog tifftopnm time timed-read timed-run timedatectl timeout tkcon tkmib tknewsbiff tload tnameserv toe top touch tput tr trace tracepath tracepath6 traptoemail tred troff true truncate trust tset tsort tty turbostat twopi tzselect udevadm ul ulockmgr_server umount uname uname26 unar unbuffer uncompress unexpand unflatten unicode_start unicode_stop uniq unix-lpr.sh unix2dos unix2mac unlink unlzma unmunch unmunge unpack200 unpigz unshar unshare unsquashfs unxz unzip unzip-plain unzipsfx unzipsfx-plain update-desktop-database update-mime-database updatedb updateinfoxml2solv uptime usb-devices usbhid-dump users utmpdump uudecode uuencode uuidgen uuidparse uxterm uz vacation vaclook valgrind valgrind-di-server valgrind-listener vdir vdltodmx vdpauinfo vgdb vi view viewres vim vim-nox11 vimdiff vimtutor vitmp vlock vmstat vncconfig vncpasswd vncpasswd.arg vncserver vncviewer vncviewer-tigervnc vttest w w3m w3mman wall watch watchgnupg wbmptopbm wc wdctl wget whatis whereis which who whoami winicontopam winicontoppm wish wish8.6 withsctp wmidump wmixtract wordforms wordlist2hunspell write wsgen wsimport x0vncserver x11perf x11perfcomp x86_64 x86_64-suse-linux-gnu-pkg-config x86_energy_perf_policy xargs xauth xbacklight xbmtopbm xclock xconsole xcursorgen xdg-desktop-icon xdg-desktop-menu xdg-email xdg-icon-resource xdg-mime xdg-open xdg-screensaver xdg-settings xdg-su xdg-terminal xdg_menu xdg_menu_su xdm xdmxconfig xdpyinfo xev xeyes xf86debug xfd xfontsel xgamma xhost ximtoppm xinit xinput xjc xkbbell xkbcomp xkbevd xkbprint xkbvleds xkbwatch xkibitz xkill xli xlito xloadimage xlogo xlsatoms xlsclients xlsfonts xmag xmessage xml2-config xml_grep xml_merge xml_pp xml_spellcheck xml_split xmlcatalog xmllint xmlwf xmodmap xorg-backtrace xorrecord xorriso xorriso-tcltk xorrisofs xpmtoppm xprop xpstat xrandr xrdb xrefresh xrestop xscope xscreensaver xscreensaver-command xscreensaver-demo xscreensaver-gl-helper xset xsetbg xsetmode xsetpointer xsetroot xsetwacom xsltproc xsubpp xterm xtermset xtotroff xview xvinfo xvminitoppm xwd xwdtopnm xwininfo xxd xz xzcat xzcmp xzdec xzdiff xzegrep xzfgrep xzgrep xzless xzmore xznew yacc ybmtopbm ycpc yes ypcat ypchfn ypchsh ypdomainname ypmatch yppasswd ypwhich yum-repoquery yum-repoquery3 yume yume-opkg yupdate yuvsplittoppm yuvtoppm yuy2topam yzpper zcat zcmp zdiff zegrep zeisstopnm zfgrep zforce zgrep zip zipcloak zipdetails zipgrep zipgrep-plain zipinfo zipnote zipsplit zless zmore znew zoo zsh zypp-CheckAccessDeleted zypp-NameReqPrv zypper /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 initviocons 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 plymouth 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 /opt/bin: nodevault.rb set_nologin.sh puppet_wait_online.sh puppet_cert snmp /opt/c3/bin: c3.csh c3.sh c3_com_obj.py c3_config.py c3_except.py c3_file_obj.py c3_sock.py c3_version.py cexec cexecs cget ckill clist cname cnum cpush cpushimage crm cshutdown /usr/lib/mit/bin: gss-client k5srvutil kadmin kdestroy kinit klist kpasswd ksu kswitch ktutil kvno sclient sim_client uuclient /opt/puppetlabs/bin: facter hiera puppet pxp-agent /sbin: agetty analyzevmcore apparmor_parser arping audispd auditctl auditd augenrules aureport ausearch autrace badblocks biosdevname blkid blockdev blogctl blogd blogger brcm_iscsiuio btrfs btrfs-convert btrfs-image btrfsck btrfstune cfdisk chcpu checkproc chkbin chkconfig chkstat-polkit clockdiff crda cryptsetup ctrlaltdel debugfs depmod dhclient dhclient-script dhclient6 dmsetup dosfsck dosfslabel dumpe2fs e2fsck e2image e2label e2undo ether-wake fbtest fdisk findfs freemem_init.py fsck fsck.btrfs fsck.cramfs fsck.ext2 fsck.ext3 fsck.ext4 fsck.fat fsck.minix fsck.msdos fsck.vfat fsck.xfs fsfreeze fstab-decode fstrim getappcore halt hdparm hwclock ifdown ifprobe ifstatus ifup ifuser init insmod insserv install-info installkernel ip iscsi-gen-initiatorname iscsi-iname iscsi_discovery iscsi_fw_login iscsi_offload iscsiadm iscsid iscsistart iscsiuio isserial kexec key.dns_resolver killall5 killproc kpartx ldconfig logsave losetup lsmod lspci lvchange lvconvert lvcreate lvdisplay lvextend lvm lvmconfig lvmdiskscan lvmdump lvmpolld lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs lvscan mdadm mdmon mkdosfs mke2fs mkfs mkfs.bfs mkfs.btrfs mkfs.cramfs mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.fat mkfs.minix mkfs.msdos mkfs.vfat mkfs.xfs mkhomedir_helper mkill mkinitrd mkinitrd_setup mkswap modinfo modprobe mount.cifs mount.fuse mount.fuse3 mount.nfs mount.nfs4 nameif netconfig nfsdcltrack nologin osd_login pam_tally2 pam_timestamp_check pbl pidof pidofproc pivot_root plipconfig pmap_set2 poweroff pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan raw rcapparmor rcnetwork rcsyslog rdisc reboot refresh_initrd regdbdump request-key resize2fs rmmod rpcbind rpcinfo rsyslogd runlevel rvmtab service set_polkit_default_privs setconsole setpci sfdisk showconsole shutdown slattach slingshot-network-cfg-lldp smart_agetty start_daemon startproc supportconfig swaplabel swapoff swapon switch_root sysctl telinit tune2fs udevadm udevd umount.nfs umount.nfs4 unix2_chkpwd unix_chkpwd unix_update update-bootloader update-pciids vgcfgbackup vgcfgrestore vgchange vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgimportclone vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit vhangup wipefs wiper.sh xfs_repair xfs_scrub yast yast2 /opt/cray/pe/bin: set-gcc-libs set_default set_default_master ============================================================================================= TESTING: configureExternalPackagesDir from config.framework(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/framework.py:1035) serialEvaluation: initial cxxDialectRanges ('c++11', 'c++17') serialEvaluation: new cxxDialectRanges ('c++11', 'c++17') child config.utilities.macosFirewall took 0.000002 seconds ============================================================================================= TESTING: configureDebuggers from config.utilities.debuggers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/debuggers.py:21) Find a default debugger and determine its arguments Executing: uname -s stdout: Linux Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/gdb...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/gdb...not found Checking for program /opt/rocm-4.5.0/bin/gdb...not found Checking for program /opt/rocm-4.5.0/llvm/bin/gdb...not found Checking for program /opt/rocm-4.5.0/bin/gdb...not found Checking for program /opt/rocm-4.5.0/bin/gdb...not found Checking for program /opt/rocm-4.5.0/hip/bin/gdb...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/gdb...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/gdb...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/gdb...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/gdb...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/gdb...not found Checking for program /opt/rocm-4.5.0/bin/gdb...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/gdb...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/gdb...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/gdb...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/gdb...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/gdb...not found Checking for program /opt/clmgr/sbin/gdb...not found Checking for program /opt/clmgr/bin/gdb...not found Checking for program /opt/sgi/sbin/gdb...not found Checking for program /opt/sgi/bin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Defined "USE_DEBUGGER" to ""gdb"" Executing: uname -s stdout: Linux Defined make macro "DSYMUTIL" to "true" Executing: uname -s stdout: Linux child config.utilities.debuggers took 0.009718 seconds ============================================================================================= TESTING: configureDirectories from PETSc.options.petscdir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 16 #define PETSC_VERSION_SUBMINOR 5 #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.001493 seconds ============================================================================================= TESTING: getDatafilespath from PETSc.options.dataFilesPath(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be child PETSc.options.dataFilesPath took 0.000212 seconds ============================================================================================= TESTING: configureGit from config.sourceControl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/git...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/git...not found Checking for program /opt/rocm-4.5.0/bin/git...not found Checking for program /opt/rocm-4.5.0/llvm/bin/git...not found Checking for program /opt/rocm-4.5.0/bin/git...not found Checking for program /opt/rocm-4.5.0/bin/git...not found Checking for program /opt/rocm-4.5.0/hip/bin/git...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/git...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/git...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/git...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/git...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/git...not found Checking for program /opt/rocm-4.5.0/bin/git...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/git...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/git...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/git...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/git...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/git...not found Checking for program /opt/clmgr/sbin/git...not found Checking for program /opt/clmgr/bin/git...not found Checking for program /opt/sgi/sbin/git...not found Checking for program /opt/sgi/bin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 2.31.1 ============================================================================================= TESTING: configureMercurial from config.sourceControl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/hg...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/hg...not found Checking for program /opt/rocm-4.5.0/bin/hg...not found Checking for program /opt/rocm-4.5.0/llvm/bin/hg...not found Checking for program /opt/rocm-4.5.0/bin/hg...not found Checking for program /opt/rocm-4.5.0/bin/hg...not found Checking for program /opt/rocm-4.5.0/hip/bin/hg...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/hg...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/hg...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/hg...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/hg...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/hg...not found Checking for program /opt/rocm-4.5.0/bin/hg...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/hg...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/hg...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/hg...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/hg...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/hg...not found Checking for program /opt/clmgr/sbin/hg...not found Checking for program /opt/clmgr/bin/hg...not found Checking for program /opt/sgi/sbin/hg...not found Checking for program /opt/sgi/bin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /bin/hg...not found Checking for program /opt/bin/hg...not found Checking for program /opt/c3/bin/hg...not found Checking for program /usr/lib/mit/bin/hg...not found Checking for program /opt/puppetlabs/bin/hg...not found Checking for program /sbin/hg...not found Checking for program /opt/cray/pe/bin/hg...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/hg...not found child config.sourceControl took 0.005859 seconds ============================================================================================= TESTING: configureInstallationMethod from PETSc.options.petscclone(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/petscclone.py:20) lib/petsc/bin/maint exists. This appears to be a repository clone .git directory exists Executing: ['git', 'describe', '--match=v*'] Executing: ['git', 'log', '-1', '--pretty=format:%H'] stdout: 3cfff3d279e6da04ec8c99cb1b8a27e868d150cf Executing: ['git', 'log', '-1', '--pretty=format:%ci'] stdout: 2022-03-11 12:02:01 -0600 Executing: ['git', 'rev-parse', '--abbrev-ref', 'HEAD'] stdout: main Defined "VERSION_GIT" to ""3cfff3d279e6da04ec8c99cb1b8a27e868d150cf"" Defined "VERSION_DATE_GIT" to ""2022-03-11 12:02:01 -0600"" Defined "VERSION_BRANCH_GIT" to ""main"" child PETSc.options.petscclone took 0.012168 seconds ============================================================================================= TESTING: setNativeArchitecture from PETSc.options.arch(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/arch.py:31) ============================================================================================= TESTING: configureArchitecture from PETSc.options.arch(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/arch.py:43) Checks PETSC_ARCH and sets if not set No previous hashfile found Setting hashfile: arch-linux-c-opt/lib/petsc/conf/configure-hash Deleting configure hash file: arch-linux-c-opt/lib/petsc/conf/configure-hash Unable to delete configure hash file: arch-linux-c-opt/lib/petsc/conf/configure-hash child PETSc.options.arch took 0.007081 seconds ============================================================================================= TESTING: setInstallDir from PETSc.options.installDir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/installDir.py:32) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Defined make macro "PREFIXDIR" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7" ============================================================================================= TESTING: saveReconfigure from PETSc.options.installDir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/installDir.py:76) ============================================================================================= TESTING: cleanConfDir from PETSc.options.installDir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/installDir.py:69) ============================================================================================= TESTING: configureInstallDir from PETSc.options.installDir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/installDir.py:53) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/arch-linux-c-opt/lib/petsc/conf ============================================================================================= TESTING: restoreReconfigure from PETSc.options.installDir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/installDir.py:89) child PETSc.options.installDir took 0.001438 seconds ============================================================================================= TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/externalpackagesdir.py:15) ============================================================================================= TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/externalpackagesdir.py:22) child PETSc.options.externalpackagesdir took 0.000280 seconds ============================================================================================= TESTING: configureCLanguage from PETSc.options.languages(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" Defined make macro "CLANGUAGE" to "C" child PETSc.options.languages took 0.000375 seconds ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2569) ============================================================================================= WARNING! Found environment variable: CC=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang Ignoring it, since its also set on command line ============================================================================================= ============================================================================================= WARNING! Found environment variable: CXX=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang++ Ignoring it, since its also set on command line ============================================================================================= ============================================================================================= WARNING! Found environment variable: FC=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang Ignoring it, since its also set on command line ============================================================================================= ============================================================================================= WARNING! Found environment variable: F77=/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang Ignoring it! Use "./configure F77=$F77" if you really want to use this value ============================================================================================= ============================================================================================= WARNING! Found environment variable: CFLAGS=-DLLVM_VERSION_SUFFIX=git Ignoring it, since its also set on command line ============================================================================================= ============================================================================================= WARNING! Found environment variable: CXXFLAGS=-DLLVM_VERSION_SUFFIX=git Ignoring it, since its also set on command line ============================================================================================= ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2585) ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2539) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2560) OpenMPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:651) Initialize the compiler and linker flags Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to -Wl,-z,notext Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to -Wl,-z,notext Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to -Wl,-z,notext Initialized SYCLFLAGS to Initialized SYCLFLAGS to Initialized LDFLAGS to -Wl,-z,notext Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to -Wl,-z,notext Initialized FFLAGS to -fPIC Initialized FFLAGS to -fPIC Initialized LDFLAGS to -Wl,-z,notext 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1264) Locate a functional C compiler Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc...found Defined make macro "CC" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --version stdout: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin Since MPI c compiler starts with mpi, force searches for other compilers to only look for MPI compilers ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1303) Locate a functional C preprocessor Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc...found Defined make macro "CPP" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1609) Locate a functional Cxx compiler Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx...found Defined make macro "CXX" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --version stdout: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:675) 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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --help | head -n 500 ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:697) Determine the CXX dialect supported by the compiler (language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]20: not yet supported [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++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 cannnot 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 "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx" checkCxxDialect: PETSc believes compiler (/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx) is NOT gnu-ish checkCxxDialect: PETSc believes that we have NOT processed /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx before checkCxxDialect: configure option after sanitization: --with-cxx-dialect=C++11 checkCxxDialect: dialect c++11 has been EXPLICITLY selected for CXX checkCxxDialect: Have potential flag pool: - -std=c++11 checkCxxDialect: checking CXX 11 for cxx with -std=c++11 Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 /tmp/petsc-e_jrgt6k/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; 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; ; return 0; } Output from compiling with -std=c++11 Added Cxx compiler flag -std=c++11 checkCxxDialect: success using -std=c++11 for Cxx dialect C++11, set new cxxDialectRange: ('c++11', 'c++11') Defined "HAVE_CXX_DIALECT_CXX11" to "1" ============================================================================================= TESTING: checkCxxPreprocessor from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1646) Locate a functional Cxx preprocessor Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx...found Defined make macro "CXXPP" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -E -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1339) Locate a functional CUDA compiler Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/nvcc...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/nvcc...not found Checking for program /opt/rocm-4.5.0/bin/nvcc...not found Checking for program /opt/rocm-4.5.0/llvm/bin/nvcc...not found Checking for program /opt/rocm-4.5.0/bin/nvcc...not found Checking for program /opt/rocm-4.5.0/bin/nvcc...not found Checking for program /opt/rocm-4.5.0/hip/bin/nvcc...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/nvcc...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/nvcc...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/nvcc...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/nvcc...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/nvcc...not found Checking for program /opt/rocm-4.5.0/bin/nvcc...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/nvcc...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/nvcc...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/nvcc...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/nvcc...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/nvcc...not found Checking for program /opt/clmgr/sbin/nvcc...not found Checking for program /opt/clmgr/bin/nvcc...not found Checking for program /opt/sgi/sbin/nvcc...not found Checking for program /opt/sgi/bin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /opt/bin/nvcc...not found Checking for program /opt/c3/bin/nvcc...not found Checking for program /usr/lib/mit/bin/nvcc...not found Checking for program /opt/puppetlabs/bin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /opt/cray/pe/bin/nvcc...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/nvcc...not found Checking for program /Developer/NVIDIA/CUDA-6.5/bin/nvcc...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/Developer/NVIDIA/CUDA-6.5/bin'] Warning accessing /Developer/NVIDIA/CUDA-6.5/bin gives errors: [Errno 2] No such file or directory: '/Developer/NVIDIA/CUDA-6.5/bin' Checking for program /usr/local/cuda/bin/nvcc...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/usr/local/cuda/bin'] Warning accessing /usr/local/cuda/bin gives errors: [Errno 2] No such file or directory: '/usr/local/cuda/bin' ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:675) 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 /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1409) Locate a functional HIP compiler Checking for program /opt/rocm-4.5.0/hip/bin/hipcc...found Defined make macro "HIPC" to "/opt/rocm-4.5.0/hip/bin/hipcc" ===== Checking compiler Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/rocm-4.5.0/hip/bin/hipcc --version stdout: HIP version: 4.4.21401-bedc5f61 AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:675) 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: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 500 Detected CLANG compiler ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:697) Determine the CXX dialect supported by the compiler (language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]20: not yet supported [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++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 cannnot 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 "HIP" using compiler "/opt/rocm-4.5.0/hip/bin/hipcc" checkCxxDialect: PETSc believes compiler (/opt/rocm-4.5.0/hip/bin/hipcc) IS gnu-ish checkCxxDialect: PETSc believes that we have NOT processed /opt/rocm-4.5.0/hip/bin/hipcc before checkCxxDialect: configure option after sanitization: --with-hip-dialect=AUTO checkCxxDialect: dialect AUTO has been NOT explicitly selected for HIP 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 hip with -std=gnu++17 Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp 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 HIP compiler flag -std=gnu++17 checkCxxDialect: success using -std=gnu++17 for HIP dialect C++17, set new cxxDialectRange: ('c++11', 'c++17') Defined "HAVE_HIP_DIALECT_CXX11" to "1" Defined "HAVE_HIP_DIALECT_CXX14" to "1" Defined "HAVE_HIP_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkHIPPreprocessor from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1448) Locate a functional HIP preprocessor Checking for program /opt/rocm-4.5.0/hip/bin/hipcc...found Defined make macro "HIPPP" to "/opt/rocm-4.5.0/hip/bin/hipcc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include __global__ void testFunction() {return;}; Executing: /opt/rocm-4.5.0/hip/bin/hipcc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1479) Locate a functional SYCL compiler ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:675) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1748) Locate a functional Fortran compiler Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90...found Defined make macro "FC" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lpetsc-ufod4vtr9mqHvKIQiVAm clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --version stdout: AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin ============================================================================================= TESTING: checkFortranPreprocessor from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1785) Locate a functional Fortran preprocessor Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90...found Defined make macro "FPP" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -E" Preprocessing source: #define foo 10 Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -E -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkFortranComments from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1804) Make sure fortran comment "!" works ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1975) ============================================================================================= TESTING: checkArchiver from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2074) 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.35.1.20201123-7.18 Copyright (C) 2020 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.35.1.20201123-7.18 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/llvm/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/hip/bin/ar...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/ar...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/ar...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/ar...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/ar...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/ar...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/ar...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/ar...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/ar...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/ar...not found Checking for program /opt/clmgr/sbin/ar...not found Checking for program /opt/clmgr/bin/ar...not found Checking for program /opt/sgi/sbin/ar...not found Checking for program /opt/sgi/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 /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/llvm/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/hip/bin/ranlib...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/ranlib...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/ranlib...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/ranlib...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/ranlib...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/ranlib...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/ranlib...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/ranlib...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/ranlib...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/ranlib...not found Checking for program /opt/clmgr/sbin/ranlib...not found Checking for program /opt/clmgr/bin/ranlib...not found Checking for program /opt/sgi/sbin/ranlib...not found Checking for program /opt/sgi/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-e_jrgt6k/config.setCompilers/libconf1.a /tmp/petsc-e_jrgt6k/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-e_jrgt6k/config.setCompilers/libconf1.a Possible ERROR while running ranlib: 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.35.1.20201123-7.18 Copyright (C) 2020 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.35.1.20201123-7.18 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/ar...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/llvm/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/hip/bin/ar...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/ar...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/ar...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/ar...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/ar...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ar...not found Checking for program /opt/rocm-4.5.0/bin/ar...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/ar...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/ar...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/ar...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/ar...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/ar...not found Checking for program /opt/clmgr/sbin/ar...not found Checking for program /opt/clmgr/bin/ar...not found Checking for program /opt/sgi/sbin/ar...not found Checking for program /opt/sgi/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 /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/ranlib...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/llvm/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/hip/bin/ranlib...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/ranlib...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/ranlib...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/ranlib...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/ranlib...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ranlib...not found Checking for program /opt/rocm-4.5.0/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/ranlib...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/ranlib...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/ranlib...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/ranlib...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/ranlib...not found Checking for program /opt/clmgr/sbin/ranlib...not found Checking for program /opt/clmgr/bin/ranlib...not found Checking for program /opt/sgi/sbin/ranlib...not found Checking for program /opt/sgi/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-e_jrgt6k/config.setCompilers/libconf1.a /tmp/petsc-e_jrgt6k/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-e_jrgt6k/config.setCompilers/libconf1.a ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c:6:26: warning: if statement has empty body [-Wempty-body] int b = foo(1); if (b); ^ /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c:6:26: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -L/tmp/petsc-e_jrgt6k/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2138) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2220) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc...found Defined make macro "LD_SHARED" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -qversion Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -show stdout: /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd Trying C compiler flag -PIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -PIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -PIC clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected C compiler flag -PIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Trying C compiler flag -qPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -qPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -qPIC clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected C compiler flag -qPIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Trying C compiler flag -KPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -KPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -KPIC clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected C compiler flag -KPIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Trying C compiler flag -fPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -qmkshrobj -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: clang-13: error: unknown argument: '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: clang-13: error: unknown argument: '-qmkshrobj' : Linker output after filtering: clang-13: error: unknown argument: '-qmkshrobj': ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Rejected C compiler flag -fPIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Trying C compiler flag -fpic Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fpic /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fpic Added C compiler flag -fpic Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fpic /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -qmkshrobj -fpic /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: clang-13: error: unknown argument: '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: clang-13: error: unknown argument: '-qmkshrobj' : Linker output after filtering: clang-13: error: unknown argument: '-qmkshrobj': ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fpic /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -fpic /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Rejected C compiler flag -fpic because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Trying C compiler flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -qmkshrobj /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: clang-13: error: unknown argument: '-qmkshrobj' Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: clang-13: error: unknown argument: '-qmkshrobj' : Linker output after filtering: clang-13: error: unknown argument: '-qmkshrobj': ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: main >>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104) >>> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o:(_start) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Rejected C compiler flag because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-qmkshrobj'] Deleting "LD_SHARED" Checking shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-shared'] Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc...found Defined make macro "LD_SHARED" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -qversion Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -show stdout: /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd Trying C compiler flag -PIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -PIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -PIC clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected C compiler flag -PIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-shared'] Trying C compiler flag -qPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -qPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -qPIC clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected C compiler flag -qPIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-shared'] Trying C compiler flag -KPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -KPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -KPIC clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected C compiler flag -KPIC because it was not compatible with shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-shared'] Trying C compiler flag -fPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Valid C linker flag -shared ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -L/tmp/petsc-e_jrgt6k/config.setCompilers -lconftest Using shared linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc with flags ['-shared'] and library extension so Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux ============================================================================================= TESTING: checkPIC from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1925) Determine the PIC option for each compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --help | head -n 20 stdout: Usage: ftn [options] file... Options: -[no-]add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options 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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -qversion Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -show stdout: /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdflang -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpifort_amd -lmpi_amd Trying no specific compiler flag for PIC code since MPI compiler or current flags seem to provide such a flag with -fPIC Trying FC for PIC code without any compiler flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Accepted FC PIC code without compiler flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -qversion Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -show stdout: /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang++ -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd Trying Cxx compiler flag -PIC for PIC code Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -PIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=c++11 -PIC clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected Cxx compiler flag -PIC because shared linker cannot handle it Trying Cxx compiler flag -qPIC for PIC code Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -qPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=c++11 -qPIC clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected Cxx compiler flag -qPIC because shared linker cannot handle it Trying Cxx compiler flag -KPIC for PIC code Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -KPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=c++11 -KPIC clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected Cxx compiler flag -KPIC because shared linker cannot handle it Trying Cxx compiler flag -fPIC for PIC code Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=c++11 -fPIC Added Cxx compiler flag -fPIC ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Accepted Cxx compiler flag -fPIC for PIC code Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: /opt/rocm-4.5.0/hip/bin/hipcc -qversion Executing: /opt/rocm-4.5.0/hip/bin/hipcc -show Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying HIP compiler flag -PIC for PIC code Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -PIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -PIC clang-13: error: unknown argument '-PIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -PIC due to nonzero status from link Rejected HIP compiler flag -PIC because shared linker cannot handle it Trying HIP compiler flag -qPIC for PIC code Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -qPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -qPIC clang-13: error: unknown argument '-qPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -qPIC due to nonzero status from link Rejected HIP compiler flag -qPIC because shared linker cannot handle it Trying HIP compiler flag -KPIC for PIC code Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -KPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -KPIC clang-13: error: unknown argument '-KPIC'; did you mean '-fPIC'? PETSc Error: No output file produced Rejecting compiler flag -KPIC due to nonzero status from link Rejected HIP compiler flag -KPIC because shared linker cannot handle it Trying HIP compiler flag -fPIC for PIC code Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC Added HIP compiler flag -fPIC ===== Checking linker Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Accepted HIP compiler flag -fPIC for PIC code ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2334) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: uname -s stdout: Linux Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -V Trying C linker flag -Wl,-rpath, Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src Executing: uname -s stdout: Linux Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -V Trying Cxx linker flag -Wl,-rpath, Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src Executing: uname -s stdout: Linux Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -V Trying FC linker flag -Wl,-rpath, Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src Executing: uname -s stdout: Linux Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -V Trying HIP linker flag -Wl,-rpath, Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/rocm-4.5.0/hip/bin/hipcc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -std=gnu++17 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Valid HIP linker flag -Wl,-rpath,/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src ============================================================================================= TESTING: checkLibC from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2373) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2419) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } void dummy(void) {_check_dlopen(); _check_dlsym(); _check_dlclose();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -ldl Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc using flags ['-shared'] Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc...found Defined make macro "DYNAMICLINKER" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -ldl Valid C linker flag -shared ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -ldl ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { void *handle = dlopen("/tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -ldl Using dynamic linker /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:1884) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -Wunknown-pragmas -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -Wunknown-pragmas -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wunknown-pragmas /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wunknown-pragmas Added HIP compiler flag -Wunknown-pragmas ===== Checking compiler Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wunknown-pragmas /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } ============================================================================================= TESTING: output from config.setCompilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/setCompilers.py:2468) Output module data as defines and substitutions Substituting "CC" with "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E" Substituting "CPPFLAGS" with "" Substituting "HIPC" with "/opt/rocm-4.5.0/hip/bin/hipcc" Substituting "HIPFLAGS" with " -std=gnu++17 -fPIC" Substituting "HIPPP" with "/opt/rocm-4.5.0/hip/bin/hipcc -E" Substituting "HIPPPFLAGS" with "" Substituting "CXX" with "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx" Substituting "CXX_CXXFLAGS" with " -std=c++11 -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90" Substituting "FFLAGS" with "-fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "-Wl,-z,notext" Substituting "FPP" with "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -E" Substituting "FPPFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" child config.setCompilers took 12.128078 seconds ============================================================================================= TESTING: configureIndexSize from PETSc.options.indexTypes(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/indexTypes.py:39) Defined make macro "PETSC_INDEX_SIZE" to "32" child PETSc.options.indexTypes took 0.000350 seconds ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --version stdout: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin getCompilerVersion: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Defined make macro "C_VERSION" to "AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" Ignoring default options which were overridden using --CFLAGS Trying C compiler flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --version stdout: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin getCompilerVersion: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Defined make macro "Cxx_VERSION" to "AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" Ignoring default options which were overridden using --CXXFLAGS Trying Cxx compiler flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --version stdout: AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin getCompilerVersion: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Defined make macro "FC_VERSION" to "AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" Ignoring default options which were overridden using --FFLAGS -fPIC Trying FC compiler flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC Executing: /opt/rocm-4.5.0/hip/bin/hipcc --version stdout: HIP version: 4.4.21401-bedc5f61 AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin getCompilerVersion: /opt/rocm-4.5.0/hip/bin/hipcc HIP version: 4.4.21401-bedc5f61 Defined make macro "HIP_VERSION" to "HIP version: 4.4.21401-bedc5f61" Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 500 Detected CLANG compiler Executing: uname -s stdout: Linux Executing: /opt/rocm-4.5.0/hip/bin/hipcc --version stdout: HIP version: 4.4.21401-bedc5f61 AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin Detected HIP compiler Trying HIP compiler flag -Wall Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall Added HIP compiler flag -Wall Trying HIP compiler flag -Wwrite-strings Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings Added HIP compiler flag -Wwrite-strings Trying HIP compiler flag -Wno-strict-aliasing Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing Added HIP compiler flag -Wno-strict-aliasing Trying HIP compiler flag -Wno-unknown-pragmas Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added HIP compiler flag -Wno-unknown-pragmas Trying HIP compiler flag -fvisibility=hidden Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden Added HIP compiler flag -fvisibility=hidden Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-13 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-fp32-correctly-rounded-divide-sqrt Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 500 Detected CLANG compiler Executing: /opt/rocm-4.5.0/hip/bin/hipcc --help | head -n 500 Detected CLANG compiler ============================================================================================= ***** WARNING: Using default HIP optimization flags -g -O3 You might consider manually setting optimal optimization flags for your system with HIPOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples ============================================================================================= Trying HIP compiler flag -g Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g Added HIP compiler flag -g Trying HIP compiler flag -O3 Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 Added HIP compiler flag -O3 ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilerFlags.py:173) Use Linux/MacOS commands to determine what operations the hardware supports Executing: lscpu stdout: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 48 bits physical, 48 bits virtual CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 2 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 4 Vendor ID: AuthenticAMD CPU family: 25 Model: 48 Model name: AMD EPYC 7A53 64-Core Processor Stepping: 1 Frequency boost: enabled CPU MHz: 2398.066 CPU max MHz: 2000.0000 CPU min MHz: 1500.0000 BogoMIPS: 3992.65 Virtualization: AMD-V L1d cache: 2 MiB L1i cache: 2 MiB L2 cache: 32 MiB L3 cache: 256 MiB NUMA node0 CPU(s): 0-15,64-79 NUMA node1 CPU(s): 16-31,80-95 NUMA node2 CPU(s): 32-47,96-111 NUMA node3 CPU(s): 48-63,112-127 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: 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; Full AMD retpoline, 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 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 erms 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 avic v_vmsave_vmload vgif umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilerFlags.py:164) Save the list of CPP macros defined by the C and C++ compiler, does not work for all compilers Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilerFlags -fPIC /tmp/petsc-e_jrgt6k/config.compilerFlags/conftest.c -E -dM stdout: #define _LP64 1 #define __ADX__ 1 #define __AES__ 1 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_CONSUME 1 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define __ATOMIC_SEQ_CST 5 #define __AVX2__ 1 #define __AVX__ 1 #define __BIGGEST_ALIGNMENT__ 16 #define __BMI2__ 1 #define __BMI__ 1 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __CHAR16_TYPE__ unsigned short #define __CHAR32_TYPE__ unsigned int #define __CHAR_BIT__ 8 #define __CLANG_ATOMIC_BOOL_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR_LOCK_FREE 2 #define __CLANG_ATOMIC_INT_LOCK_FREE 2 #define __CLANG_ATOMIC_LLONG_LOCK_FREE 2 #define __CLANG_ATOMIC_LONG_LOCK_FREE 2 #define __CLANG_ATOMIC_POINTER_LOCK_FREE 2 #define __CLANG_ATOMIC_SHORT_LOCK_FREE 2 #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __CLFLUSHOPT__ 1 #define __CLWB__ 1 #define __CLZERO__ 1 #define __CONSTANT_CFSTRINGS__ 1 #define __CRAYXT_COMPUTE_LINUX_TARGET 1 #define __CRAY_X86_MILAN 1 #define __DBL_DECIMAL_DIG__ 17 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_DIG__ 15 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN__ 2.2250738585072014e-308 #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ #define __ELF__ 1 #define __F16C__ 1 #define __FINITE_MATH_ONLY__ 0 #define __FLOAT128__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_DIG__ 6 #define __FLT_EPSILON__ 1.19209290e-7F #define __FLT_EVAL_METHOD__ 0 #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MANT_DIG__ 24 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX_EXP__ 128 #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN__ 1.17549435e-38F #define __FLT_RADIX__ 2 #define __FMA__ 1 #define __FSGSBASE__ 1 #define __FXSR__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GNUC_MINOR__ 2 #define __GNUC_PATCHLEVEL__ 1 #define __GNUC_STDC_INLINE__ 1 #define __GNUC__ 4 #define __GXX_ABI_VERSION 1002 #define __INT16_C_SUFFIX__ #define __INT16_FMTd__ "hd" #define __INT16_FMTi__ "hi" #define __INT16_MAX__ 32767 #define __INT16_TYPE__ short #define __INT32_C_SUFFIX__ #define __INT32_FMTd__ "d" #define __INT32_FMTi__ "i" #define __INT32_MAX__ 2147483647 #define __INT32_TYPE__ int #define __INT64_C_SUFFIX__ L #define __INT64_FMTd__ "ld" #define __INT64_FMTi__ "li" #define __INT64_MAX__ 9223372036854775807L #define __INT64_TYPE__ long int #define __INT8_C_SUFFIX__ #define __INT8_FMTd__ "hhd" #define __INT8_FMTi__ "hhi" #define __INT8_MAX__ 127 #define __INT8_TYPE__ signed char #define __INTMAX_C_SUFFIX__ L #define __INTMAX_FMTd__ "ld" #define __INTMAX_FMTi__ "li" #define __INTMAX_MAX__ 9223372036854775807L #define __INTMAX_TYPE__ long int #define __INTMAX_WIDTH__ 64 #define __INTPTR_FMTd__ "ld" #define __INTPTR_FMTi__ "li" #define __INTPTR_MAX__ 9223372036854775807L #define __INTPTR_TYPE__ long int #define __INTPTR_WIDTH__ 64 #define __INT_FAST16_FMTd__ "hd" #define __INT_FAST16_FMTi__ "hi" #define __INT_FAST16_MAX__ 32767 #define __INT_FAST16_TYPE__ short #define __INT_FAST32_FMTd__ "d" #define __INT_FAST32_FMTi__ "i" #define __INT_FAST32_MAX__ 2147483647 #define __INT_FAST32_TYPE__ int #define __INT_FAST64_FMTd__ "ld" #define __INT_FAST64_FMTi__ "li" #define __INT_FAST64_MAX__ 9223372036854775807L #define __INT_FAST64_TYPE__ long int #define __INT_FAST8_FMTd__ "hhd" #define __INT_FAST8_FMTi__ "hhi" #define __INT_FAST8_MAX__ 127 #define __INT_FAST8_TYPE__ signed char #define __INT_LEAST16_FMTd__ "hd" #define __INT_LEAST16_FMTi__ "hi" #define __INT_LEAST16_MAX__ 32767 #define __INT_LEAST16_TYPE__ short #define __INT_LEAST32_FMTd__ "d" #define __INT_LEAST32_FMTi__ "i" #define __INT_LEAST32_MAX__ 2147483647 #define __INT_LEAST32_TYPE__ int #define __INT_LEAST64_FMTd__ "ld" #define __INT_LEAST64_FMTi__ "li" #define __INT_LEAST64_MAX__ 9223372036854775807L #define __INT_LEAST64_TYPE__ long int #define __INT_LEAST8_FMTd__ "hhd" #define __INT_LEAST8_FMTi__ "hhi" #define __INT_LEAST8_MAX__ 127 #define __INT_LEAST8_TYPE__ signed char #define __INT_MAX__ 2147483647 #define __INVPCID__ 1 #define __LAHF_SAHF__ 1 #define __LDBL_DECIMAL_DIG__ 21 #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_DIG__ 18 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_MAX_10_EXP__ 4932 #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LITTLE_ENDIAN__ 1 #define __LONG_LONG_MAX__ 9223372036854775807LL #define __LONG_MAX__ 9223372036854775807L #define __LP64__ 1 #define __LZCNT__ 1 #define __MMX__ 1 #define __MOVBE__ 1 #define __MWAITX__ 1 #define __NO_INLINE__ 1 #define __NO_MATH_INLINES 1 #define __OBJC_BOOL_IS_BOOL 0 #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3 #define __OPENCL_MEMORY_SCOPE_DEVICE 2 #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4 #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1 #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0 #define __ORDER_BIG_ENDIAN__ 4321 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __ORDER_PDP_ENDIAN__ 3412 #define __PCLMUL__ 1 #define __PIC__ 2 #define __PKU__ 1 #define __POINTER_WIDTH__ 64 #define __POPCNT__ 1 #define __PRAGMA_REDEFINE_EXTNAME 1 #define __PRFCHW__ 1 #define __PTRDIFF_FMTd__ "ld" #define __PTRDIFF_FMTi__ "li" #define __PTRDIFF_MAX__ 9223372036854775807L #define __PTRDIFF_TYPE__ long int #define __PTRDIFF_WIDTH__ 64 #define __RDPID__ 1 #define __RDRND__ 1 #define __RDSEED__ 1 #define __REGISTER_PREFIX__ #define __SCHAR_MAX__ 127 #define __SEG_FS 1 #define __SEG_GS 1 #define __SHA__ 1 #define __SHRT_MAX__ 32767 #define __SIG_ATOMIC_MAX__ 2147483647 #define __SIG_ATOMIC_WIDTH__ 32 #define __SIZEOF_DOUBLE__ 8 #define __SIZEOF_FLOAT128__ 16 #define __SIZEOF_FLOAT__ 4 #define __SIZEOF_INT128__ 16 #define __SIZEOF_INT__ 4 #define __SIZEOF_LONG_DOUBLE__ 16 #define __SIZEOF_LONG_LONG__ 8 #define __SIZEOF_LONG__ 8 #define __SIZEOF_POINTER__ 8 #define __SIZEOF_PTRDIFF_T__ 8 #define __SIZEOF_SHORT__ 2 #define __SIZEOF_SIZE_T__ 8 #define __SIZEOF_WCHAR_T__ 4 #define __SIZEOF_WINT_T__ 4 #define __SIZE_FMTX__ "lX" #define __SIZE_FMTo__ "lo" #define __SIZE_FMTu__ "lu" #define __SIZE_FMTx__ "lx" #define __SIZE_MAX__ 18446744073709551615UL #define __SIZE_TYPE__ long unsigned int #define __SIZE_WIDTH__ 64 #define __SSE2_MATH__ 1 #define __SSE2__ 1 #define __SSE3__ 1 #define __SSE4A__ 1 #define __SSE4_1__ 1 #define __SSE4_2__ 1 #define __SSE_MATH__ 1 #define __SSE__ 1 #define __SSSE3__ 1 #define __STDC_HOSTED__ 1 #define __STDC_UTF_16__ 1 #define __STDC_UTF_32__ 1 #define __STDC_VERSION__ 201710L #define __STDC__ 1 #define __UINT16_C_SUFFIX__ #define __UINT16_FMTX__ "hX" #define __UINT16_FMTo__ "ho" #define __UINT16_FMTu__ "hu" #define __UINT16_FMTx__ "hx" #define __UINT16_MAX__ 65535 #define __UINT16_TYPE__ unsigned short #define __UINT32_C_SUFFIX__ U #define __UINT32_FMTX__ "X" #define __UINT32_FMTo__ "o" #define __UINT32_FMTu__ "u" #define __UINT32_FMTx__ "x" #define __UINT32_MAX__ 4294967295U #define __UINT32_TYPE__ unsigned int #define __UINT64_C_SUFFIX__ UL #define __UINT64_FMTX__ "lX" #define __UINT64_FMTo__ "lo" #define __UINT64_FMTu__ "lu" #define __UINT64_FMTx__ "lx" #define __UINT64_MAX__ 18446744073709551615UL #define __UINT64_TYPE__ long unsigned int #define __UINT8_C_SUFFIX__ #define __UINT8_FMTX__ "hhX" #define __UINT8_FMTo__ "hho" #define __UINT8_FMTu__ "hhu" #define __UINT8_FMTx__ "hhx" #define __UINT8_MAX__ 255 #define __UINT8_TYPE__ unsigned char #define __UINTMAX_C_SUFFIX__ UL #define __UINTMAX_FMTX__ "lX" #define __UINTMAX_FMTo__ "lo" #define __UINTMAX_FMTu__ "lu" #define __UINTMAX_FMTx__ "lx" #define __UINTMAX_MAX__ 18446744073709551615UL #define __UINTMAX_TYPE__ long unsigned int #define __UINTMAX_WIDTH__ 64 #define __UINTPTR_FMTX__ "lX" #define __UINTPTR_FMTo__ "lo" #define __UINTPTR_FMTu__ "lu" #define __UINTPTR_FMTx__ "lx" #define __UINTPTR_MAX__ 18446744073709551615UL #define __UINTPTR_TYPE__ long unsigned int #define __UINTPTR_WIDTH__ 64 #define __UINT_FAST16_FMTX__ "hX" #define __UINT_FAST16_FMTo__ "ho" #define __UINT_FAST16_FMTu__ "hu" #define __UINT_FAST16_FMTx__ "hx" #define __UINT_FAST16_MAX__ 65535 #define __UINT_FAST16_TYPE__ unsigned short #define __UINT_FAST32_FMTX__ "X" #define __UINT_FAST32_FMTo__ "o" #define __UINT_FAST32_FMTu__ "u" #define __UINT_FAST32_FMTx__ "x" #define __UINT_FAST32_MAX__ 4294967295U #define __UINT_FAST32_TYPE__ unsigned int #define __UINT_FAST64_FMTX__ "lX" #define __UINT_FAST64_FMTo__ "lo" #define __UINT_FAST64_FMTu__ "lu" #define __UINT_FAST64_FMTx__ "lx" #define __UINT_FAST64_MAX__ 18446744073709551615UL #define __UINT_FAST64_TYPE__ long unsigned int #define __UINT_FAST8_FMTX__ "hhX" #define __UINT_FAST8_FMTo__ "hho" #define __UINT_FAST8_FMTu__ "hhu" #define __UINT_FAST8_FMTx__ "hhx" #define __UINT_FAST8_MAX__ 255 #define __UINT_FAST8_TYPE__ unsigned char #define __UINT_LEAST16_FMTX__ "hX" #define __UINT_LEAST16_FMTo__ "ho" #define __UINT_LEAST16_FMTu__ "hu" #define __UINT_LEAST16_FMTx__ "hx" #define __UINT_LEAST16_MAX__ 65535 #define __UINT_LEAST16_TYPE__ unsigned short #define __UINT_LEAST32_FMTX__ "X" #define __UINT_LEAST32_FMTo__ "o" #define __UINT_LEAST32_FMTu__ "u" #define __UINT_LEAST32_FMTx__ "x" #define __UINT_LEAST32_MAX__ 4294967295U #define __UINT_LEAST32_TYPE__ unsigned int #define __UINT_LEAST64_FMTX__ "lX" #define __UINT_LEAST64_FMTo__ "lo" #define __UINT_LEAST64_FMTu__ "lu" #define __UINT_LEAST64_FMTx__ "lx" #define __UINT_LEAST64_MAX__ 18446744073709551615UL #define __UINT_LEAST64_TYPE__ long unsigned int #define __UINT_LEAST8_FMTX__ "hhX" #define __UINT_LEAST8_FMTo__ "hho" #define __UINT_LEAST8_FMTu__ "hhu" #define __UINT_LEAST8_FMTx__ "hhx" #define __UINT_LEAST8_MAX__ 255 #define __UINT_LEAST8_TYPE__ unsigned char #define __USER_LABEL_PREFIX__ #define __VAES__ 1 #define __VERSION__ "AMD Clang 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" #define __VPCLMULQDQ__ 1 #define __WBNOINVD__ 1 #define __WCHAR_MAX__ 2147483647 #define __WCHAR_TYPE__ int #define __WCHAR_WIDTH__ 32 #define __WINT_MAX__ 4294967295U #define __WINT_TYPE__ unsigned int #define __WINT_UNSIGNED__ 1 #define __WINT_WIDTH__ 32 #define __XSAVEC__ 1 #define __XSAVEOPT__ 1 #define __XSAVES__ 1 #define __XSAVE__ 1 #define __amd64 1 #define __amd64__ 1 #define __clang__ 1 #define __clang_major__ 13 #define __clang_minor__ 0 #define __clang_patchlevel__ 0 #define __clang_version__ "13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" #define __code_model_small__ 1 #define __gnu_linux__ 1 #define __linux 1 #define __linux__ 1 #define __llvm__ 1 #define __pic__ 2 #define __seg_fs __attribute__((address_space(257))) #define __seg_gs __attribute__((address_space(256))) #define __tune_znver3__ 1 #define __unix 1 #define __unix__ 1 #define __x86_64 1 #define __x86_64__ 1 #define __znver3 1 #define __znver3__ 1 #define linux 1 #define unix 1 Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilerFlags -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilerFlags/conftest.cc -E -dM stdout: #define _GNU_SOURCE 1 #define _LP64 1 #define __ADX__ 1 #define __AES__ 1 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_CONSUME 1 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define __ATOMIC_SEQ_CST 5 #define __AVX2__ 1 #define __AVX__ 1 #define __BIGGEST_ALIGNMENT__ 16 #define __BMI2__ 1 #define __BMI__ 1 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __CHAR16_TYPE__ unsigned short #define __CHAR32_TYPE__ unsigned int #define __CHAR_BIT__ 8 #define __CLANG_ATOMIC_BOOL_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __CLANG_ATOMIC_CHAR_LOCK_FREE 2 #define __CLANG_ATOMIC_INT_LOCK_FREE 2 #define __CLANG_ATOMIC_LLONG_LOCK_FREE 2 #define __CLANG_ATOMIC_LONG_LOCK_FREE 2 #define __CLANG_ATOMIC_POINTER_LOCK_FREE 2 #define __CLANG_ATOMIC_SHORT_LOCK_FREE 2 #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __CLFLUSHOPT__ 1 #define __CLWB__ 1 #define __CLZERO__ 1 #define __CONSTANT_CFSTRINGS__ 1 #define __CRAYXT_COMPUTE_LINUX_TARGET 1 #define __CRAY_X86_MILAN 1 #define __DBL_DECIMAL_DIG__ 17 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_DIG__ 15 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN__ 2.2250738585072014e-308 #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ #define __DEPRECATED 1 #define __ELF__ 1 #define __EXCEPTIONS 1 #define __F16C__ 1 #define __FINITE_MATH_ONLY__ 0 #define __FLOAT128__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_DIG__ 6 #define __FLT_EPSILON__ 1.19209290e-7F #define __FLT_EVAL_METHOD__ 0 #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MANT_DIG__ 24 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX_EXP__ 128 #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN__ 1.17549435e-38F #define __FLT_RADIX__ 2 #define __FMA__ 1 #define __FSGSBASE__ 1 #define __FXSR__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GNUC_GNU_INLINE__ 1 #define __GNUC_MINOR__ 2 #define __GNUC_PATCHLEVEL__ 1 #define __GNUC__ 4 #define __GNUG__ 4 #define __GXX_ABI_VERSION 1002 #define __GXX_EXPERIMENTAL_CXX0X__ 1 #define __GXX_RTTI 1 #define __GXX_WEAK__ 1 #define __INT16_C_SUFFIX__ #define __INT16_FMTd__ "hd" #define __INT16_FMTi__ "hi" #define __INT16_MAX__ 32767 #define __INT16_TYPE__ short #define __INT32_C_SUFFIX__ #define __INT32_FMTd__ "d" #define __INT32_FMTi__ "i" #define __INT32_MAX__ 2147483647 #define __INT32_TYPE__ int #define __INT64_C_SUFFIX__ L #define __INT64_FMTd__ "ld" #define __INT64_FMTi__ "li" #define __INT64_MAX__ 9223372036854775807L #define __INT64_TYPE__ long int #define __INT8_C_SUFFIX__ #define __INT8_FMTd__ "hhd" #define __INT8_FMTi__ "hhi" #define __INT8_MAX__ 127 #define __INT8_TYPE__ signed char #define __INTMAX_C_SUFFIX__ L #define __INTMAX_FMTd__ "ld" #define __INTMAX_FMTi__ "li" #define __INTMAX_MAX__ 9223372036854775807L #define __INTMAX_TYPE__ long int #define __INTMAX_WIDTH__ 64 #define __INTPTR_FMTd__ "ld" #define __INTPTR_FMTi__ "li" #define __INTPTR_MAX__ 9223372036854775807L #define __INTPTR_TYPE__ long int #define __INTPTR_WIDTH__ 64 #define __INT_FAST16_FMTd__ "hd" #define __INT_FAST16_FMTi__ "hi" #define __INT_FAST16_MAX__ 32767 #define __INT_FAST16_TYPE__ short #define __INT_FAST32_FMTd__ "d" #define __INT_FAST32_FMTi__ "i" #define __INT_FAST32_MAX__ 2147483647 #define __INT_FAST32_TYPE__ int #define __INT_FAST64_FMTd__ "ld" #define __INT_FAST64_FMTi__ "li" #define __INT_FAST64_MAX__ 9223372036854775807L #define __INT_FAST64_TYPE__ long int #define __INT_FAST8_FMTd__ "hhd" #define __INT_FAST8_FMTi__ "hhi" #define __INT_FAST8_MAX__ 127 #define __INT_FAST8_TYPE__ signed char #define __INT_LEAST16_FMTd__ "hd" #define __INT_LEAST16_FMTi__ "hi" #define __INT_LEAST16_MAX__ 32767 #define __INT_LEAST16_TYPE__ short #define __INT_LEAST32_FMTd__ "d" #define __INT_LEAST32_FMTi__ "i" #define __INT_LEAST32_MAX__ 2147483647 #define __INT_LEAST32_TYPE__ int #define __INT_LEAST64_FMTd__ "ld" #define __INT_LEAST64_FMTi__ "li" #define __INT_LEAST64_MAX__ 9223372036854775807L #define __INT_LEAST64_TYPE__ long int #define __INT_LEAST8_FMTd__ "hhd" #define __INT_LEAST8_FMTi__ "hhi" #define __INT_LEAST8_MAX__ 127 #define __INT_LEAST8_TYPE__ signed char #define __INT_MAX__ 2147483647 #define __INVPCID__ 1 #define __LAHF_SAHF__ 1 #define __LDBL_DECIMAL_DIG__ 21 #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_DIG__ 18 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_MAX_10_EXP__ 4932 #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LITTLE_ENDIAN__ 1 #define __LONG_LONG_MAX__ 9223372036854775807LL #define __LONG_MAX__ 9223372036854775807L #define __LP64__ 1 #define __LZCNT__ 1 #define __MMX__ 1 #define __MOVBE__ 1 #define __MWAITX__ 1 #define __NO_INLINE__ 1 #define __NO_MATH_INLINES 1 #define __OBJC_BOOL_IS_BOOL 0 #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3 #define __OPENCL_MEMORY_SCOPE_DEVICE 2 #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4 #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1 #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0 #define __ORDER_BIG_ENDIAN__ 4321 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __ORDER_PDP_ENDIAN__ 3412 #define __PCLMUL__ 1 #define __PIC__ 2 #define __PKU__ 1 #define __POINTER_WIDTH__ 64 #define __POPCNT__ 1 #define __PRAGMA_REDEFINE_EXTNAME 1 #define __PRFCHW__ 1 #define __PTRDIFF_FMTd__ "ld" #define __PTRDIFF_FMTi__ "li" #define __PTRDIFF_MAX__ 9223372036854775807L #define __PTRDIFF_TYPE__ long int #define __PTRDIFF_WIDTH__ 64 #define __RDPID__ 1 #define __RDRND__ 1 #define __RDSEED__ 1 #define __REGISTER_PREFIX__ #define __SCHAR_MAX__ 127 #define __SEG_FS 1 #define __SEG_GS 1 #define __SHA__ 1 #define __SHRT_MAX__ 32767 #define __SIG_ATOMIC_MAX__ 2147483647 #define __SIG_ATOMIC_WIDTH__ 32 #define __SIZEOF_DOUBLE__ 8 #define __SIZEOF_FLOAT128__ 16 #define __SIZEOF_FLOAT__ 4 #define __SIZEOF_INT128__ 16 #define __SIZEOF_INT__ 4 #define __SIZEOF_LONG_DOUBLE__ 16 #define __SIZEOF_LONG_LONG__ 8 #define __SIZEOF_LONG__ 8 #define __SIZEOF_POINTER__ 8 #define __SIZEOF_PTRDIFF_T__ 8 #define __SIZEOF_SHORT__ 2 #define __SIZEOF_SIZE_T__ 8 #define __SIZEOF_WCHAR_T__ 4 #define __SIZEOF_WINT_T__ 4 #define __SIZE_FMTX__ "lX" #define __SIZE_FMTo__ "lo" #define __SIZE_FMTu__ "lu" #define __SIZE_FMTx__ "lx" #define __SIZE_MAX__ 18446744073709551615UL #define __SIZE_TYPE__ long unsigned int #define __SIZE_WIDTH__ 64 #define __SSE2_MATH__ 1 #define __SSE2__ 1 #define __SSE3__ 1 #define __SSE4A__ 1 #define __SSE4_1__ 1 #define __SSE4_2__ 1 #define __SSE_MATH__ 1 #define __SSE__ 1 #define __SSSE3__ 1 #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL #define __STDCPP_THREADS__ 1 #define __STDC_HOSTED__ 1 #define __STDC_UTF_16__ 1 #define __STDC_UTF_32__ 1 #define __STDC__ 1 #define __STRICT_ANSI__ 1 #define __UINT16_C_SUFFIX__ #define __UINT16_FMTX__ "hX" #define __UINT16_FMTo__ "ho" #define __UINT16_FMTu__ "hu" #define __UINT16_FMTx__ "hx" #define __UINT16_MAX__ 65535 #define __UINT16_TYPE__ unsigned short #define __UINT32_C_SUFFIX__ U #define __UINT32_FMTX__ "X" #define __UINT32_FMTo__ "o" #define __UINT32_FMTu__ "u" #define __UINT32_FMTx__ "x" #define __UINT32_MAX__ 4294967295U #define __UINT32_TYPE__ unsigned int #define __UINT64_C_SUFFIX__ UL #define __UINT64_FMTX__ "lX" #define __UINT64_FMTo__ "lo" #define __UINT64_FMTu__ "lu" #define __UINT64_FMTx__ "lx" #define __UINT64_MAX__ 18446744073709551615UL #define __UINT64_TYPE__ long unsigned int #define __UINT8_C_SUFFIX__ #define __UINT8_FMTX__ "hhX" #define __UINT8_FMTo__ "hho" #define __UINT8_FMTu__ "hhu" #define __UINT8_FMTx__ "hhx" #define __UINT8_MAX__ 255 #define __UINT8_TYPE__ unsigned char #define __UINTMAX_C_SUFFIX__ UL #define __UINTMAX_FMTX__ "lX" #define __UINTMAX_FMTo__ "lo" #define __UINTMAX_FMTu__ "lu" #define __UINTMAX_FMTx__ "lx" #define __UINTMAX_MAX__ 18446744073709551615UL #define __UINTMAX_TYPE__ long unsigned int #define __UINTMAX_WIDTH__ 64 #define __UINTPTR_FMTX__ "lX" #define __UINTPTR_FMTo__ "lo" #define __UINTPTR_FMTu__ "lu" #define __UINTPTR_FMTx__ "lx" #define __UINTPTR_MAX__ 18446744073709551615UL #define __UINTPTR_TYPE__ long unsigned int #define __UINTPTR_WIDTH__ 64 #define __UINT_FAST16_FMTX__ "hX" #define __UINT_FAST16_FMTo__ "ho" #define __UINT_FAST16_FMTu__ "hu" #define __UINT_FAST16_FMTx__ "hx" #define __UINT_FAST16_MAX__ 65535 #define __UINT_FAST16_TYPE__ unsigned short #define __UINT_FAST32_FMTX__ "X" #define __UINT_FAST32_FMTo__ "o" #define __UINT_FAST32_FMTu__ "u" #define __UINT_FAST32_FMTx__ "x" #define __UINT_FAST32_MAX__ 4294967295U #define __UINT_FAST32_TYPE__ unsigned int #define __UINT_FAST64_FMTX__ "lX" #define __UINT_FAST64_FMTo__ "lo" #define __UINT_FAST64_FMTu__ "lu" #define __UINT_FAST64_FMTx__ "lx" #define __UINT_FAST64_MAX__ 18446744073709551615UL #define __UINT_FAST64_TYPE__ long unsigned int #define __UINT_FAST8_FMTX__ "hhX" #define __UINT_FAST8_FMTo__ "hho" #define __UINT_FAST8_FMTu__ "hhu" #define __UINT_FAST8_FMTx__ "hhx" #define __UINT_FAST8_MAX__ 255 #define __UINT_FAST8_TYPE__ unsigned char #define __UINT_LEAST16_FMTX__ "hX" #define __UINT_LEAST16_FMTo__ "ho" #define __UINT_LEAST16_FMTu__ "hu" #define __UINT_LEAST16_FMTx__ "hx" #define __UINT_LEAST16_MAX__ 65535 #define __UINT_LEAST16_TYPE__ unsigned short #define __UINT_LEAST32_FMTX__ "X" #define __UINT_LEAST32_FMTo__ "o" #define __UINT_LEAST32_FMTu__ "u" #define __UINT_LEAST32_FMTx__ "x" #define __UINT_LEAST32_MAX__ 4294967295U #define __UINT_LEAST32_TYPE__ unsigned int #define __UINT_LEAST64_FMTX__ "lX" #define __UINT_LEAST64_FMTo__ "lo" #define __UINT_LEAST64_FMTu__ "lu" #define __UINT_LEAST64_FMTx__ "lx" #define __UINT_LEAST64_MAX__ 18446744073709551615UL #define __UINT_LEAST64_TYPE__ long unsigned int #define __UINT_LEAST8_FMTX__ "hhX" #define __UINT_LEAST8_FMTo__ "hho" #define __UINT_LEAST8_FMTu__ "hhu" #define __UINT_LEAST8_FMTx__ "hhx" #define __UINT_LEAST8_MAX__ 255 #define __UINT_LEAST8_TYPE__ unsigned char #define __USER_LABEL_PREFIX__ #define __VAES__ 1 #define __VERSION__ "AMD Clang 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" #define __VPCLMULQDQ__ 1 #define __WBNOINVD__ 1 #define __WCHAR_MAX__ 2147483647 #define __WCHAR_TYPE__ int #define __WCHAR_WIDTH__ 32 #define __WINT_MAX__ 4294967295U #define __WINT_TYPE__ unsigned int #define __WINT_UNSIGNED__ 1 #define __WINT_WIDTH__ 32 #define __XSAVEC__ 1 #define __XSAVEOPT__ 1 #define __XSAVES__ 1 #define __XSAVE__ 1 #define __amd64 1 #define __amd64__ 1 #define __clang__ 1 #define __clang_major__ 13 #define __clang_minor__ 0 #define __clang_patchlevel__ 0 #define __clang_version__ "13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8)" #define __code_model_small__ 1 #define __cplusplus 201103L #define __cpp_alias_templates 200704L #define __cpp_attributes 200809L #define __cpp_constexpr 200704 #define __cpp_constexpr_in_decltype 201711L #define __cpp_decltype 200707L #define __cpp_delegating_constructors 200604L #define __cpp_exceptions 199711L #define __cpp_impl_destroying_delete 201806L #define __cpp_inheriting_constructors 201511L #define __cpp_initializer_lists 200806L #define __cpp_lambdas 200907L #define __cpp_nsdmi 200809L #define __cpp_range_based_for 200907 #define __cpp_raw_strings 200710L #define __cpp_ref_qualifiers 200710L #define __cpp_rtti 199711L #define __cpp_rvalue_references 200610L #define __cpp_static_assert 200410 #define __cpp_threadsafe_static_init 200806L #define __cpp_unicode_characters 200704L #define __cpp_unicode_literals 200710L #define __cpp_user_defined_literals 200809L #define __cpp_variadic_templates 200704L #define __gnu_linux__ 1 #define __linux 1 #define __linux__ 1 #define __llvm__ 1 #define __pic__ 2 #define __private_extern__ extern #define __seg_fs __attribute__((address_space(257))) #define __seg_gs __attribute__((address_space(256))) #define __tune_znver3__ 1 #define __unix 1 #define __unix__ 1 #define __x86_64 1 #define __x86_64__ 1 #define __znver3 1 #define __znver3__ 1 child config.compilerFlags took 6.088869 seconds Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --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. ============================================================================================= TESTING: checkC99Flag from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:1374) Check for -std=c99 or equivalent flag Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/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); } ; return 0; } Output from compiling with -fPIC Accepted C99 compile flag: ============================================================================================= TESTING: checkCFormatting from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:359) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:370) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:162) Determines the libraries needed to link with C compiled code ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -ldl C libraries are not needed when using Fortran linker ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -ldl C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:1325) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC -MMD -MP /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=c++11 -fPIC -MMD -MP /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=c++11 -fPIC -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Trying HIP compiler flag -MMD -MP Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -MMD -MP /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -MMD -MP Defined make macro "HIP_DEPFLAGS" to "-MMD -MP" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --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. ============================================================================================= TESTING: checkCxxRestrict from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:121) Check for the CXX restrict keyword equivalent to C99 restrict ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to : __restrict Defined "CXX_RESTRICT" to "__restrict" ============================================================================================= TESTING: checkCxxOptionalExtensions from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:389) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: clang-13: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Output from compiling with clang-13: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] ============================================================================================= TESTING: checkCxxComplexFix from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:416) Determine if the CXX compiler supports utilities provided by petsccxxcomplexfix.h ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:445) Determines the libraries needed to link with C++ from C and Fortran ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: __cxa_allocate_exception >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: typeinfo for int >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(.data+0x0) ld.lld: error: undefined symbol: __cxa_throw >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_begin_catch >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__clang_call_terminate) ld.lld: error: undefined symbol: std::cout >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_end_catch >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::ios_base::Init::Init() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__cxx_global_var_init) ld.lld: error: undefined symbol: std::ios_base::Init::~Init() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__cxx_global_var_init) ld.lld: error: undefined symbol: std::terminate() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__clang_call_terminate) ld.lld: error: undefined symbol: operator delete(void*) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__gnu_cxx::new_allocator::deallocate(int*, unsigned long)) ld.lld: error: undefined symbol: __gxx_personality_v0 >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(DW.ref.__gxx_personality_v0) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: __cxa_allocate_exception >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: typeinfo for int >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(.data+0x0) ld.lld: error: undefined symbol: __cxa_throw >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_begin_catch >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__clang_call_terminate) ld.lld: error: undefined symbol: std::cout >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_end_catch >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::ios_base::Init::Init() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__cxx_global_var_init) ld.lld: error: undefined symbol: std::ios_base::Init::~Init() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__cxx_global_var_init) ld.lld: error: undefined symbol: std::terminate() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__clang_call_terminate) ld.lld: error: undefined symbol: operator delete(void*) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__gnu_cxx::new_allocator::deallocate(int*, unsigned long)) ld.lld: error: undefined symbol: __gxx_personality_v0 >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(DW.ref.__gxx_personality_v0) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: __cxa_allocate_exception >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: typeinfo for int >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(.data+0x0) ld.lld: error: undefined symbol: __cxa_throw >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_begin_catch >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__clang_call_terminate) ld.lld: error: undefined symbol: std::cout >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: __cxa_end_catch >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub()) ld.lld: error: undefined symbol: std::ios_base::Init::Init() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__cxx_global_var_init) ld.lld: error: undefined symbol: std::ios_base::Init::~Init() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__cxx_global_var_init) ld.lld: error: undefined symbol: std::terminate() >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__clang_call_terminate) ld.lld: error: undefined symbol: operator delete(void*) >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(__gnu_cxx::new_allocator::deallocate(int*, unsigned long)) ld.lld: error: undefined symbol: __gxx_personality_v0 >>> referenced by conftest.cc >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(DW.ref.__gxx_personality_v0) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Executing: uname -s stdout: Linux Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --version stdout: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl compilers: C++ requires -lstdc++ to link with C compiler ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl C++ libraries are not needed when using FC linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -V ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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;} ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --version stdout: AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin Defined "FORTRAN_CHARLEN_T" to "int" ============================================================================================= TESTING: checkFortranNameManglingDouble from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:825) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: d1_chk_ >>> referenced by conftest.F90:2 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:2) >>> /tmp/petsc-e_jrgt6k/config.compilers/conftest.o:(MAIN_) >>> did you mean: d1_chk__ >>> defined in: /tmp/petsc-e_jrgt6k/config.compilers/confc.o clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: d1_chk_ >>> referenced by conftest.F90:2 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:2) >>> /tmp/petsc-e_jrgt6k/config.compilers/conftest.o:(MAIN_) >>> did you mean: d1_chk__ >>> defined in: /tmp/petsc-e_jrgt6k/config.compilers/confc.o clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: d1_chk_ >>> referenced by conftest.F90:2 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:2) >>> /tmp/petsc-e_jrgt6k/config.compilers/conftest.o:(MAIN_) >>> did you mean: d1_chk__ >>> defined in: /tmp/petsc-e_jrgt6k/config.compilers/confc.o clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkFortranLibraries from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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. ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main use mpi call MPI_Allreduce() end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() use mpi print*,'testing' call MPI_Allreduce() return end ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: f90io_src_info03a >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_print_init >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_sc_ch_ldw >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_ldw_end >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: mpi_allreduce_ >>> referenced by conftest.F90:4 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:4) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: f90io_src_info03a >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_print_init >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_sc_ch_ldw >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_ldw_end >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: mpi_allreduce_ >>> referenced by conftest.F90:4 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:4) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: f90io_src_info03a >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_print_init >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_sc_ch_ldw >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: f90io_ldw_end >>> referenced by conftest.F90:3 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:3) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) ld.lld: error: undefined symbol: mpi_allreduce_ >>> referenced by conftest.F90:4 (/tmp/petsc-e_jrgt6k/config.compilers/conftest.F90:4) >>> /tmp/petsc-e_jrgt6k/config.compilers/confc.o:(asub_) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Fortran code cannot directly be linked with C linker, therefore will determine needed Fortran libraries Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -v -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -lstdc++ -ldl stdout: mpifort for MPICH version 8.1.12 Possible ERROR while running linker: stdout: mpifort for MPICH version 8.1.12stderr: AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7 Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7 Candidate multilib: .;@m64 Selected multilib: .;@m64 Found HIP installation: /opt/rocm-4.5.0, version 4.4.21401 "/opt/rocm-4.5.0/llvm/bin/ld.lld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/lib -L/opt/rocm-4.5.0/llvm/bin/../lib -L/lib -L/usr/lib -L/opt/rocm-4.5.0/llvm/lib -z notext /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -lstdc++ -ldl -lmpifort_amd -lmpi_amd --as-needed -lmpifort_amd --no-as-needed --as-needed -lmpi_amd --no-as-needed --as-needed -lsci_amd_mpi --no-as-needed --as-needed -lsci_amd --no-as-needed -ldl --as-needed -ldsmml --no-as-needed --disable-new-dtags -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -rpath /opt/rocm-4.5.0/llvm/bin/../lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib64/gcc/x86_64-suse-linux/7/crtend.o /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crtn.o Linker output before filtering: mpifort for MPICH version 8.1.12 AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7 Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7 Candidate multilib: .;@m64 Selected multilib: .;@m64 Found HIP installation: /opt/rocm-4.5.0, version 4.4.21401 "/opt/rocm-4.5.0/llvm/bin/ld.lld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/lib -L/opt/rocm-4.5.0/llvm/bin/../lib -L/lib -L/usr/lib -L/opt/rocm-4.5.0/llvm/lib -z notext /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -lstdc++ -ldl -lmpifort_amd -lmpi_amd --as-needed -lmpifort_amd --no-as-needed --as-needed -lmpi_amd --no-as-needed --as-needed -lsci_amd_mpi --no-as-needed --as-needed -lsci_amd --no-as-needed -ldl --as-needed -ldsmml --no-as-needed --disable-new-dtags -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -rpath /opt/rocm-4.5.0/llvm/bin/../lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib64/gcc/x86_64-suse-linux/7/crtend.o /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crtn.o : Linker output after filtering: mpifort for MPICH version 8.1.12 AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-4.5.0/llvm/bin Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7 Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7 Candidate multilib: .;@m64 Selected multilib: .;@m64 Found HIP installation: /opt/rocm-4.5.0, version 4.4.21401 "/opt/rocm-4.5.0/llvm/bin/ld.lld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/lib -L/opt/rocm-4.5.0/llvm/bin/../lib -L/lib -L/usr/lib -L/opt/rocm-4.5.0/llvm/lib -z notext /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -lstdc++ -ldl -lmpifort_amd -lmpi_amd --as-needed -lmpifort_amd --no-as-needed --as-needed -lmpi_amd --no-as-needed --as-needed -lsci_amd_mpi --no-as-needed --as-needed -lsci_amd --no-as-needed -ldl --as-needed -ldsmml --no-as-needed --disable-new-dtags -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -rpath /opt/rocm-4.5.0/llvm/bin/../lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib64/gcc/x86_64-suse-linux/7/crtend.o /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crtn.o: Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -V compilers: Checking arg mpifort compilers: Unknown arg mpifort compilers: Checking arg for compilers: Unknown arg for compilers: Checking arg MPICH compilers: Unknown arg MPICH compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 8.1.12 compilers: Unknown arg 8.1.12 compilers: Checking arg AMD compilers: Unknown arg AMD compilers: Checking arg flang-new compilers: Unknown arg flang-new compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 13.0.0 compilers: Unknown arg 13.0.0 compilers: Checking arg (https://github.com/RadeonOpenCompute/llvm-project compilers: Unknown arg (https://github.com/RadeonOpenCompute/llvm-project compilers: Checking arg roc-4.5.0 compilers: Unknown arg roc-4.5.0 compilers: Checking arg 21422 compilers: Unknown arg 21422 compilers: Checking arg e2489b0d7ede612d6586c61728db321047833ed8) compilers: Unknown arg e2489b0d7ede612d6586c61728db321047833ed8) compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-unknown-linux-gnu compilers: Unknown arg x86_64-unknown-linux-gnu compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg InstalledDir: compilers: Unknown arg InstalledDir: compilers: Checking arg /opt/rocm-4.5.0/llvm/bin compilers: Unknown arg /opt/rocm-4.5.0/llvm/bin compilers: Checking arg Found compilers: Unknown arg Found compilers: Checking arg candidate compilers: Unknown arg candidate compilers: Checking arg GCC compilers: Unknown arg GCC compilers: Checking arg installation: compilers: Unknown arg installation: compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7 compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7 compilers: Checking arg Selected compilers: Unknown arg Selected compilers: Checking arg GCC compilers: Unknown arg GCC compilers: Checking arg installation: compilers: Unknown arg installation: compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7 compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7 compilers: Checking arg Candidate compilers: Unknown arg Candidate compilers: Checking arg multilib: compilers: Unknown arg multilib: compilers: Checking arg .;@m64 compilers: Unknown arg .;@m64 compilers: Checking arg Selected compilers: Unknown arg Selected compilers: Checking arg multilib: compilers: Unknown arg multilib: compilers: Checking arg .;@m64 compilers: Unknown arg .;@m64 compilers: Checking arg Found compilers: Unknown arg Found compilers: Checking arg HIP compilers: Unknown arg HIP compilers: Checking arg installation: compilers: Unknown arg installation: compilers: Checking arg /opt/rocm-4.5.0, compilers: Unknown arg /opt/rocm-4.5.0, compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.4.21401 compilers: Unknown arg 4.4.21401 compilers: Checking arg "/opt/rocm-4.5.0/llvm/bin/ld.lld" compilers: Unknown arg /opt/rocm-4.5.0/llvm/bin/ld.lld compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-e_jrgt6k/config.compilers/conftest compilers: Unknown arg /tmp/petsc-e_jrgt6k/config.compilers/conftest compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crti.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crti.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o compilers: Checking arg -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib compilers: Found library directory: -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib compilers: Checking arg -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib compilers: Already in lflags so skipping: -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib compilers: Checking arg -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib compilers: Found library directory: -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib compilers: Checking arg -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib compilers: Found library directory: -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/7 compilers: Found library directory: -L/usr/lib64/gcc/x86_64-suse-linux/7 compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64 compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/lib compilers: Found library directory: -L/usr/x86_64-suse-linux/lib compilers: Checking arg -L/opt/rocm-4.5.0/llvm/bin/../lib compilers: Found library directory: -L/opt/rocm-4.5.0/llvm/lib compilers: Checking arg -L/lib compilers: Checking arg -L/usr/lib compilers: Checking arg -L/opt/rocm-4.5.0/llvm/lib compilers: Already in lflags so skipping: -L/opt/rocm-4.5.0/llvm/lib compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg notext compilers: Unknown arg notext compilers: Checking arg /tmp/petsc-e_jrgt6k/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-e_jrgt6k/config.compilers/conftest.o compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -ldl compilers: Found library: -ldl compilers: Checking arg -lmpifort_amd compilers: Found library: -lmpifort_amd compilers: Checking arg -lmpi_amd compilers: Found library: -lmpi_amd compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lmpifort_amd compilers: Already in lflags: -lmpifort_amd compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lmpi_amd compilers: Already in lflags: -lmpi_amd compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lsci_amd_mpi compilers: Found library: -lsci_amd_mpi compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lsci_amd compilers: Found library: -lsci_amd compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -ldsmml compilers: Found library: -ldsmml compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg --disable-new-dtags compilers: Unknown arg --disable-new-dtags compilers: Checking arg -lflangmain compilers: Found library: -lflangmain compilers: Checking arg -lpgmath compilers: Found library: -lpgmath compilers: Checking arg -lflang compilers: Found library: -lflang compilers: Checking arg -lflangrti compilers: Found library: -lflangrti compilers: Checking arg -lompstub compilers: Found library: -lompstub compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lrt compilers: Found library: -lrt compilers: Checking arg -lpthread compilers: Found library: -lpthread compilers: Checking arg -rpath compilers: Found -rpath library: /opt/rocm-4.5.0/llvm/lib compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lc compilers: Found system library therefore skipping: -lc compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7/crtend.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7/crtend.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crtn.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crtn.o compilers: Libraries needed to link Fortran code with the C linker: ['-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used with Fortran as the linker ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl compilers: Check that Fortran libraries can be used with C as the linker ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl compilers: Check that Fortran libraries can be used with C++ as linker ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl compilers: Fortran libraries can be used from C++ ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:1290) Check that Fortran can link C++ libraries ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/cxxobj.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilers.py:1442) child config.compilers took 4.792299 seconds ============================================================================================= TESTING: configureClosure from config.utilities.closure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/closure.py:17) Determine if Apple ^close syntax is supported in C ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.closure/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -fPIC /tmp/petsc-e_jrgt6k/config.utilities.closure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.utilities.closure/conftest.c:6:6: error: blocks support disabled - compile with -fblocks or pick a deployment target that supports them int (^closure)(int);; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int (^closure)(int);; return 0; } Compile failed inside link child config.utilities.closure took 0.053302 seconds ============================================================================================= TESTING: checkFortranTypeSizes from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:56) Check whether real*8 is supported and suggest flags which will allow support Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: program main real*8 variable end ============================================================================================= TESTING: checkFortranPreprocessor from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:73) Determine if Fortran handles preprocessing properly Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Output from compiling with -fPIC compilers: Fortran uses preprocessor ============================================================================================= TESTING: checkFortranDefineCompilerOption from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:96) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.setCompilers -fPIC -DTesting /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Output from compiling with -fPIC -DTesting Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro ============================================================================================= TESTING: checkFortran90 from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:146) Determine whether the Fortran compiler handles F90 ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: program main REAL(KIND=SELECTED_REAL_KIND(10)) d INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -lstdc++ -ldl Fortran compiler supports F90 ============================================================================================= TESTING: checkFortran90FreeForm from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:162) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "USING_F90FREEFORM" to "1" Fortran compiler supports F90FreeForm ============================================================================================= TESTING: checkFortran2003 from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:176) Determine whether the Fortran compiler handles F2003 ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 ============================================================================================= TESTING: checkFortran90Array from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:211) Check for F90 array interfaces Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -V compilers: Using --with-batch, so guess that F90 uses a single argument for array pointers ============================================================================================= TESTING: checkFortran90AssumedType from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:298) Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -qversion ============================================================================================= TESTING: checkFortranModuleInclude from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:303) Figures out what flag is used to specify the include path for Fortran modules ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilersFortran/confdir -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest -Wl,-z,notext -I/tmp/petsc-e_jrgt6k/config.compilersFortran/confdir -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o /tmp/petsc-e_jrgt6k/config.compilersFortran/configtest.o -lstdc++ -ldl compilers: Fortran module include flag -I found ============================================================================================= TESTING: checkFortranModuleOutput from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:369) Figures out what flag is used to specify the output path for Fortran modules ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -module /tmp/petsc-e_jrgt6k/config.compilersFortran/confdir -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module found ============================================================================================= TESTING: checkFortranTypeStar from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:135) Determine whether the Fortran compiler handles type(*) ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: F90-S-0034-Syntax error at or near * (/tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90: 4) 0 inform, 0 warnings, 1 severes, 0 fatal for main Source: program main interface subroutine a(b) type(*) :: b(:) end subroutine end interface end Fortran compiler does not support type(*) ============================================================================================= TESTING: checkFortranTypeInitialize from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:125) Determines if PETSc objects in Fortran are initialized by default (doesn't work with common blocks) Defined "FORTRAN_TYPE_INITIALIZE" to " = -2" Initializing Fortran objects ============================================================================================= TESTING: configureFortranFlush from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:116) ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.F90 Successful compile: Source: program main call flush(6) end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_FLUSH" to "1" ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilersFortran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/compilersFortran.py:414) Check if -MMD works for dependency generation, and add it if it does Trying FC compiler flag -MMD -MP Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC -MMD -MP /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Possible ERROR while running compiler: stderr: clang-13: warning: argument unused during compilation: '-MMD' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-MP' [-Wunused-command-line-argument] Source: program main end Output from compiling with -fPIC -MMD -MP clang-13: warning: argument unused during compilation: '-MMD' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-MP' [-Wunused-command-line-argument] Rejecting compiler flag -MMD -MP due to clang-13: warning: argument unused during compilation: '-MMD' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-MP' [-Wunused-command-line-argument] Rejected FC compiler flag -MMD -MP Trying FC compiler flag -MMD Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC -MMD /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Possible ERROR while running compiler: stderr: clang-13: warning: argument unused during compilation: '-MMD' [-Wunused-command-line-argument] Source: program main end Output from compiling with -fPIC -MMD clang-13: warning: argument unused during compilation: '-MMD' [-Wunused-command-line-argument] Rejecting compiler flag -MMD due to clang-13: warning: argument unused during compilation: '-MMD' [-Wunused-command-line-argument] Rejected FC compiler flag -MMD Trying FC compiler flag -xMMD Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC -xMMD /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: language not recognized: 'MMD' clang-13: warning: /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90: 'linker' input unused [-Wunused-command-line-argument] Source: program main end Output from compiling with -fPIC -xMMD clang-13: error: language not recognized: 'MMD' clang-13: warning: /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90: 'linker' input unused [-Wunused-command-line-argument] PETSc Error: No output file produced Rejecting compiler flag -xMMD due to nonzero status from link Rejected FC compiler flag -xMMD Trying FC compiler flag -qmakedep=gcc Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC -qmakedep=gcc /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: clang-13: error: unknown argument: '-qmakedep=gcc' Source: program main end Output from compiling with -fPIC -qmakedep=gcc clang-13: error: unknown argument: '-qmakedep=gcc' PETSc Error: No output file produced Rejecting compiler flag -qmakedep=gcc due to nonzero status from link Rejected FC compiler flag -qmakedep=gcc Trying FC compiler flag -MD Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC -MD /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.F90 Possible ERROR while running compiler: stderr: clang-13: warning: argument unused during compilation: '-MD' [-Wunused-command-line-argument] Source: program main end Output from compiling with -fPIC -MD clang-13: warning: argument unused during compilation: '-MD' [-Wunused-command-line-argument] Rejecting compiler flag -MD due to clang-13: warning: argument unused during compilation: '-MD' [-Wunused-command-line-argument] Rejected FC compiler flag -MD child config.compilersFortran took 1.337229 seconds ============================================================================================= TESTING: checkStdC from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:107) ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.headers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c ============================================================================================= TESTING: checkStat from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:140) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c ============================================================================================= TESTING: checkSysWait from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:175) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.headers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:197) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIME_H" to "1" ============================================================================================= TESTING: checkMath from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.headers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -fPIC /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:8:8: warning: if statement has empty body [-Wempty-body] if (pi); ^ /tmp/petsc-e_jrgt6k/config.headers/conftest.c:8:8: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found #include ^~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'io.h' file not found #include ^~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'direct.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found #include ^~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found #include ^~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'zmmintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated.: ============================================================================================= TESTING: checkRecursiveMacros from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.headers/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -fPIC /tmp/petsc-e_jrgt6k/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 3.173191 seconds ============================================================================================= TESTING: configureCacheDetails from config.utilities.cacheDetails(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -fPIC /tmp/petsc-e_jrgt6k/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { ; return 0; } Skipping determination of LEVEL1_DCACHE_LINESIZE in batch mode, using default 32 Defined "LEVEL1_DCACHE_LINESIZE" to "32" child config.utilities.cacheDetails took 0.052827 seconds ============================================================================================= TESTING: check_struct_sigaction from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:42) Checks if "struct sigaction" exists in signal.h. This check is for C89 check. Checking for type: struct sigaction ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { struct sigaction a;; return 0; } struct sigaction found Defined "HAVE_STRUCT_SIGACTION" to "1" ============================================================================================= TESTING: check__int64 from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:48) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.types/conftest.c:11:1: error: unknown type name '__int64'; did you mean '__int64_t'? __int64 a;; ^~~~~~~ __int64_t /usr/include/bits/types.h:44:25: note: '__int64_t' declared here typedef signed long int __int64_t; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { __int64 a;; return 0; } __int64 found ============================================================================================= TESTING: checkSizeTypes from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:54) Checks for types associated with sizes, such as size_t. Checking for type: size_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { size_t a;; return 0; } size_t found ============================================================================================= TESTING: checkFileTypes from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:64) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { off_t a;; return 0; } off_t found ============================================================================================= TESTING: checkIntegerTypes from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:59) Checks for types associated with integers, such as int32_t. Checking for type: int32_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a;; return 0; } int32_t found ============================================================================================= TESTING: checkPID from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:70) Checks for pid_t, and defines it if necessary Checking for type: pid_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { pid_t a;; return 0; } pid_t found ============================================================================================= TESTING: checkUID from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:74) Checks for uid_t and gid_t, and defines them if necessary Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.types/conftest.c ============================================================================================= TESTING: checkC99Complex from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:81) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.types/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { double _Complex x; x = I; ; return 0; } Defined "HAVE_C99_COMPLEX" to "1" ============================================================================================= TESTING: checkCxxComplex from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:95) Check for complex numbers in namespace std ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.types/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.types/conftest.o -lstdc++ -ldl Defined "HAVE_CXX_COMPLEX" to "1" ============================================================================================= TESTING: checkConst from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:106) Checks for working const, and if not found defines it to empty string ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.types/conftest.c:24:16: warning: if statement has empty body [-Wempty-body] if (zero.x); ^ /tmp/petsc-e_jrgt6k/config.types/conftest.c:24:16: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.types/conftest.c:25:14: warning: if statement has empty body [-Wempty-body] if (x[0]); ^ /tmp/petsc-e_jrgt6k/config.types/conftest.c:25:14: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.types/conftest.c:31:14: warning: if statement has empty body [-Wempty-body] if (*s); ^ /tmp/petsc-e_jrgt6k/config.types/conftest.c:31:14: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.types/conftest.c:52:15: warning: if statement has empty body [-Wempty-body] if (foo); ^ /tmp/petsc-e_jrgt6k/config.types/conftest.c:52:15: note: put the semicolon on a separate line to silence this warning 4 warnings generated. Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ============================================================================================= TESTING: checkSizeof from config.types(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: enum ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:196) ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_C" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/types.py:218) Determining PETSC_MAX_PATH_LEN ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.types/conftest.c Defined "MAX_PATH_LEN" to "4096" child config.types took 1.683405 seconds ============================================================================================= TESTING: configureMemAlign from PETSc.options.memAlign(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/memAlign.py:29) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 child PETSc.options.memAlign took 0.000609 seconds ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lfpe clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lfpe clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lfpe clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lfpe clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lfpe clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lfpe clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lsocket ld.lld: error: unable to find library -lnsl clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkMath from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:296) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: sin >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_sin) ld.lld: error: undefined symbol: log10 >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_log10) ld.lld: error: undefined symbol: pow >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_pow) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: sin >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_sin) ld.lld: error: undefined symbol: log10 >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_log10) ld.lld: error: undefined symbol: pow >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_pow) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: sin >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_sin) ld.lld: error: undefined symbol: log10 >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_log10) ld.lld: error: undefined symbol: pow >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_pow) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [sin floor log10 pow] in library ['m'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } void dummy(void) {_check_sin(); _check_floor(); _check_log10(); _check_pow();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" CheckMath: using math library ['libm.a'] ============================================================================================= TESTING: checkMathErf from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:315) Check for erf() in libm, the math library Checking for functions [erf] in library ['libm.a'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } int main() { _check_erf();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } void dummy(void) {_check_erf();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" erf() found Defined "HAVE_ERF" to "1" ============================================================================================= TESTING: checkMathTgamma from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:324) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library ['libm.a'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } int main() { _check_tgamma();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } void dummy(void) {_check_tgamma();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" tgamma() found Defined "HAVE_TGAMMA" to "1" ============================================================================================= TESTING: checkMathLgamma from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:333) Check for lgamma() in libm, the math library Checking for functions [lgamma] in library ['libm.a'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } void dummy(void) {_check_lgamma();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" lgamma() found Defined "HAVE_LGAMMA" to "1" ============================================================================================= TESTING: checkMathFenv from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:346) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library ['libm.a'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } void dummy(void) {_check_fesetenv();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" Defined "HAVE_FENV_H" to "1" ============================================================================================= TESTING: checkMathLog2 from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:354) Check for log2() in libm, the math library Checking for functions [log2] in library ['libm.a'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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); } int main() { _check_log2();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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 dummy(void) {_check_log2();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" log2() found Defined "HAVE_LOG2" to "1" ============================================================================================= TESTING: checkRealtime from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:363) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } void dummy(void) {_check_clock_gettime();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl realtime functions are linked in by default ============================================================================================= TESTING: checkDynamic from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:379) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -ldl -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } void dummy(void) {_check_dlopen();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" child config.libraries took 3.387931 seconds ============================================================================================= TESTING: configureLibraryOptions from PETSc.options.libraryOptions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/libraryOptions.py:38) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE, PETSC_USE_FORTRAN_KERNELS, and PETSC_USE_AVX512_KERNELS Defined "USE_LOG" to "1" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -qversion Defined "USE_MALLOC_COALESCED" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: bgl_perfctr_void >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_bgl_perfctr_void) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: bgl_perfctr_void >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_bgl_perfctr_void) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: bgl_perfctr_void >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_bgl_perfctr_void) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [ADIOI_BGL_Open] in library [''] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: ADIOI_BGL_Open >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ADIOI_BGL_Open) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: ADIOI_BGL_Open >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ADIOI_BGL_Open) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: ADIOI_BGL_Open >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ADIOI_BGL_Open) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): *********BGL/IBM test failure Defined "USE_BACKWARD_LOOP" to "1" Defined "USE_AVX512_KERNELS" to "1" Defined "Alignx(a,b)" to " " ============================================================================================= TESTING: configureISColorValueType from PETSc.options.libraryOptions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/libraryOptions.py:99) Sets PETSC_IS_COLORING_VALUE_TYPE, PETSC_MPIU_IS_COLORING_VALUE_TYPE, and PETSC_IS_COLORING_MAX as required by ISColoring Defined "MPIU_IS_COLORING_VALUE_TYPE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "USHRT_MAX" Defined "IS_COLORING_VALUE_TYPE" to "short" Defined "IS_COLORING_VALUE_TYPE_F" to "integer2" child PETSc.options.libraryOptions took 0.325026 seconds child config.atomics took 0.000006 seconds ============================================================================================= TESTING: checkSysinfo from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:106) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SYSINFO" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.functions/conftest.c:9:4: error: "Cannot check sysinfo without special headers" # error "Cannot check sysinfo without special headers" ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:13:30: warning: implicit declaration of function 'sysinfo' is invalid in C99 [-Wimplicit-function-declaration] char buf[10]; long count=10; sysinfo(1, buf, count); ^ 1 warning and 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_SYS_SYSINFO_H # include #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVPrintf from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:125) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: checkVFPrintf from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:131) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: checkVSNPrintf from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:137) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VSNPRINTF" to "1" ============================================================================================= TESTING: checkNanosleep from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:167) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_NANOSLEEP" to "1" ============================================================================================= TESTING: checkMemmove from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:173) Check for functional memmove() - as MS VC requires correct includes to for this test ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MEMMOVE" to "1" ============================================================================================= TESTING: checkSignalHandlerType from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:143) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "SIGNAL_CAST" to " " ============================================================================================= TESTING: checkFreeReturnType from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:153) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.functions/conftest.c:6:25: error: assigning to 'int' from incompatible type 'void' int ierr; void *p; ierr = free(p); return 0; ^ ~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVariableArgumentLists from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:159) Checks whether the variable argument list functionality is working ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VA_COPY" to "1" ============================================================================================= TESTING: checkClassify from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 [gethostname dlerror fork time getpagesize strcasecmp gethostbyname getrusage stricmp _getcwd snprintf readlink bzero _lseek dlopen _pipe _snprintf popen _access fpresetsticky sleep PXFGETARG getdomainname getcwd _set_output_format realpath sbreak usleep access clock _sleep dlsym socket getwd lseek fpsetsticky drand48 dlclose rand memalign _mkdir uname] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.functions/conftest.c:18:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] char strcasecmp(); ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:18:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' /tmp/petsc-e_jrgt6k/config.functions/conftest.c:23:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] char snprintf(); ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:23:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' /tmp/petsc-e_jrgt6k/config.functions/conftest.c:25:6: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration] char bzero(); ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:25:6: note: 'bzero' is a builtin with type 'void (void *, unsigned long)' 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostname(); char dlerror(); char fork(); char time(); char getpagesize(); char strcasecmp(); char gethostbyname(); char getrusage(); char stricmp(); char _getcwd(); char snprintf(); char readlink(); char bzero(); char _lseek(); char dlopen(); char _pipe(); char _snprintf(); char popen(); char _access(); char fpresetsticky(); char sleep(); char PXFGETARG(); char getdomainname(); char getcwd(); char _set_output_format(); char realpath(); char sbreak(); char usleep(); char access(); char clock(); char _sleep(); char dlsym(); char socket(); char getwd(); char lseek(); char fpsetsticky(); char drand48(); char dlclose(); char rand(); char memalign(); char _mkdir(); char uname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #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__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #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_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _access >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _access >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _access >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [gethostname dlerror fork time getpagesize strcasecmp gethostbyname getrusage readlink bzero dlopen popen] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.functions/conftest.c:18:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] char strcasecmp(); ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:18:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' /tmp/petsc-e_jrgt6k/config.functions/conftest.c:22:6: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration] char bzero(); ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:22:6: note: 'bzero' is a builtin with type 'void (void *, unsigned long)' 2 warnings generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostname(); char dlerror(); char fork(); char time(); char getpagesize(); char strcasecmp(); char gethostbyname(); char getrusage(); char readlink(); char bzero(); char dlopen(); char popen(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_TIME" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_POPEN" to "1" Checking for functions [getdomainname realpath usleep clock dlsym socket getwd drand48 dlclose rand memalign uname] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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 getdomainname(); char realpath(); char usleep(); char clock(); char dlsym(); char socket(); char getwd(); char drand48(); char dlclose(); char rand(); char memalign(); char uname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #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_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_GETWD" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_RAND" to "1" Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_UNAME" to "1" Checking for functions [stricmp] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: stricmp >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_getcwd] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _getcwd >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: getcwd >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [snprintf] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.functions/conftest.c:13:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] char snprintf(); ^ /tmp/petsc-e_jrgt6k/config.functions/conftest.c:13:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [_lseek] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __lseek >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __lseek >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _lseek >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __lseek >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_pipe] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __pipe >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __pipe >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _pipe >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __pipe >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_snprintf] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __snprintf >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __snprintf >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _snprintf >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: __snprintf >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_access] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _access >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: eaccess >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _access >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: eaccess >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _access >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: eaccess >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [fpresetsticky] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: fpresetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [sleep] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [PXFGETARG] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: PXFGETARG >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [getcwd] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [_set_output_format] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _set_output_format >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [sbreak] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: sbreak >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [access] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [_sleep] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: usleep >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: usleep >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _sleep >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: usleep >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [lseek] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [fpsetsticky] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: fpsetsticky >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for functions [_mkdir] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: mkdir >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: mkdir >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: _mkdir >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.functions/conftest.o:(main) >>> did you mean: mkdir >>> defined in: /lib64/libc.so.6 clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkMmap from config.functions(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/functions.py:179) Check for functional mmap() to allocate shared memory and define HAVE_MMAP ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.functions/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.functions/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MMAP" to "1" child config.functions took 4.249966 seconds ============================================================================================= TESTING: configureMemorySize from config.utilities.getResidentSetSize(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage child config.utilities.getResidentSetSize took 0.000440 seconds ============================================================================================= TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Checking for functions [] in library [''] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" child config.utilities.fortranCommandLine took 0.143351 seconds ============================================================================================= TESTING: configureFPTrap from config.utilities.FPTrap(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sigfpe.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sigfpe.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'sigfpe.h' file not found #include ^~~~~~~~~~ 1 error generated.: Checking for header: fpxcp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'fpxcp.h' file not found #include ^~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'fpxcp.h' file not found #include ^~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'fpxcp.h' file not found #include ^~~~~~~~~ 1 error generated.: Checking for header: floatingpoint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'floatingpoint.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'floatingpoint.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'floatingpoint.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated.: child config.utilities.FPTrap took 0.128628 seconds ============================================================================================= TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -fPIC /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: 'sysctl.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -fPIC /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: stderr: In file included from /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c:4: In file included from /usr/include/stdlib.h:25: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:187:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -fPIC /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main() { ; return 0; } Defined "_DEFAULT_SOURCE" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -fPIC /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -fPIC /tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0;; return 0; } Defined "_GNU_SOURCE" to "1" child config.utilities.featureTestMacros took 0.302800 seconds ============================================================================================= TESTING: configureMissingUtypeTypedefs from config.utilities.missing(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/missing.py:55) Checks if u_short is undefined ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ============================================================================================= TESTING: configureMissingFunctions from config.utilities.missing(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/missing.py:61) Checks for SOCKETS ============================================================================================= TESTING: configureMissingSignals from config.utilities.missing(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/missing.py:79) Check for missing signals, and define MISSING_ if necessary ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: warning: if statement has empty body [-Wempty-body] if (i); ^ /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c:8:7: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ============================================================================================= TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/missing.py:96) ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.missing -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: configureMissingSrandPrototype from config.utilities.missing(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/utilities/missing.py:121) ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -fPIC /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.missing -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.utilities.missing/conftest.o -lstdc++ -ldl child config.utilities.missing took 1.801855 seconds ============================================================================================= TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/sharedLibraries.py:34) ============================================================================================= TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/sharedLibraries.py:49) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Executing: uname -s stdout: Linux Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).$(SL_LINKER_SUFFIX).$(2)" Defined make macro "SL_LINKER_FUNCTION" to "-Wl,-z,notext -shared -fPIC -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -v stdout: mpicc for MPICH version 8.1.12 Defined make macro "BUILDSHAREDLIB" to "yes" Defined "USE_SHARED_LIBRARIES" to "1" ============================================================================================= TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/sharedLibraries.py:93) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ============================================================================================= TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/sharedLibraries.py:99) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ============================================================================================= TESTING: checkSymbolResolution from PETSc.options.sharedLibraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/sharedLibraries.py:108) Checks that dladdr() works ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -fPIC /tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0; ; return 0; } Defined "HAVE_DLADDR" to "1" Checking for header: cxxabi.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types /tmp/petsc-e_jrgt6k/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.headers/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.headers/conftest.c" 2 stderr: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'cxxabi.h' file not found #include ^~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'cxxabi.h' file not found #include ^~~~~~~~~~ 1 error generated. : Preprocess output after filtering: /tmp/petsc-e_jrgt6k/config.headers/conftest.c:3:10: fatal error: 'cxxabi.h' file not found #include ^~~~~~~~~~ 1 error generated.: child PETSc.options.sharedLibraries took 0.149279 seconds ============================================================================================= TESTING: configureScalarType from PETSc.options.scalarTypes(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/scalarTypes.py:39) Choose between real and complex numbers Scalar type is real ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -fPIC /tmp/petsc-e_jrgt6k/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); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNORMAL" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -fPIC /tmp/petsc-e_jrgt6k/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); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNAN" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -fPIC /tmp/petsc-e_jrgt6k/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); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISINF" to "1" ============================================================================================= TESTING: configurePrecision from PETSc.options.scalarTypes(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/options/scalarTypes.py:80) Set the default real number precision for PETSc objects Checking C compiler works with __float128 Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'quadmath.h' file not found #include ^~~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } 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 0.519243 seconds ============================================================================================= TESTING: configureMkdir from config.programs(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/mkdir...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/mkdir...not found Checking for program /opt/rocm-4.5.0/bin/mkdir...not found Checking for program /opt/rocm-4.5.0/llvm/bin/mkdir...not found Checking for program /opt/rocm-4.5.0/bin/mkdir...not found Checking for program /opt/rocm-4.5.0/bin/mkdir...not found Checking for program /opt/rocm-4.5.0/hip/bin/mkdir...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mkdir...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/mkdir...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/mkdir...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/mkdir...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/mkdir...not found Checking for program /opt/rocm-4.5.0/bin/mkdir...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/mkdir...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/mkdir...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/mkdir...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/mkdir...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/mkdir...not found Checking for program /opt/clmgr/sbin/mkdir...not found Checking for program /opt/clmgr/bin/mkdir...not found Checking for program /opt/sgi/sbin/mkdir...not found Checking for program /opt/sgi/bin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/bin/mkdir...found Executing: /usr/bin/mkdir -p .conftest/tmp Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ============================================================================================= TESTING: configureAutoreconf from config.programs(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/programs.py:44) Check for autoreconf Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/autoreconf...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/autoreconf...not found Checking for program /opt/rocm-4.5.0/bin/autoreconf...not found Checking for program /opt/rocm-4.5.0/llvm/bin/autoreconf...not found Checking for program /opt/rocm-4.5.0/bin/autoreconf...not found Checking for program /opt/rocm-4.5.0/bin/autoreconf...not found Checking for program /opt/rocm-4.5.0/hip/bin/autoreconf...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/autoreconf...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/autoreconf...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/autoreconf...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/autoreconf...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/autoreconf...not found Checking for program /opt/rocm-4.5.0/bin/autoreconf...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/autoreconf...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/autoreconf...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/autoreconf...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/autoreconf...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/autoreconf...not found Checking for program /opt/clmgr/sbin/autoreconf...not found Checking for program /opt/clmgr/bin/autoreconf...not found Checking for program /opt/sgi/sbin/autoreconf...not found Checking for program /opt/sgi/bin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/bin/autoreconf...found Executing: ['/usr/bin/autoreconf'] autoreconf test successful! Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/libtoolize...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/libtoolize...not found Checking for program /opt/rocm-4.5.0/bin/libtoolize...not found Checking for program /opt/rocm-4.5.0/llvm/bin/libtoolize...not found Checking for program /opt/rocm-4.5.0/bin/libtoolize...not found Checking for program /opt/rocm-4.5.0/bin/libtoolize...not found Checking for program /opt/rocm-4.5.0/hip/bin/libtoolize...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/libtoolize...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/libtoolize...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/libtoolize...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/libtoolize...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/libtoolize...not found Checking for program /opt/rocm-4.5.0/bin/libtoolize...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/libtoolize...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/libtoolize...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/libtoolize...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/libtoolize...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/libtoolize...not found Checking for program /opt/clmgr/sbin/libtoolize...not found Checking for program /opt/clmgr/bin/libtoolize...not found Checking for program /opt/sgi/sbin/libtoolize...not found Checking for program /opt/sgi/bin/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/bin/libtoolize...found ============================================================================================= TESTING: configurePrograms from config.programs(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/programs.py:71) Check for the programs needed to build and run PETSc Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/bash...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/bash...not found Checking for program /opt/rocm-4.5.0/bin/bash...not found Checking for program /opt/rocm-4.5.0/llvm/bin/bash...not found Checking for program /opt/rocm-4.5.0/bin/bash...not found Checking for program /opt/rocm-4.5.0/bin/bash...not found Checking for program /opt/rocm-4.5.0/hip/bin/bash...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/bash...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/bash...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/bash...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/bash...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/bash...not found Checking for program /opt/rocm-4.5.0/bin/bash...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/bash...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/bash...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/bash...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/bash...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/bash...not found Checking for program /opt/clmgr/sbin/bash...not found Checking for program /opt/clmgr/bin/bash...not found Checking for program /opt/sgi/sbin/bash...not found Checking for program /opt/sgi/bin/bash...not found Checking for program /usr/local/bin/bash...not found Checking for program /usr/bin/bash...found Defined make macro "SHELL" to "/usr/bin/bash" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/sed...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/sed...not found Checking for program /opt/rocm-4.5.0/bin/sed...not found Checking for program /opt/rocm-4.5.0/llvm/bin/sed...not found Checking for program /opt/rocm-4.5.0/bin/sed...not found Checking for program /opt/rocm-4.5.0/bin/sed...not found Checking for program /opt/rocm-4.5.0/hip/bin/sed...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/sed...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/sed...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/sed...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/sed...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/sed...not found Checking for program /opt/rocm-4.5.0/bin/sed...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/sed...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/sed...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/sed...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/sed...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/sed...not found Checking for program /opt/clmgr/sbin/sed...not found Checking for program /opt/clmgr/bin/sed...not found Checking for program /opt/sgi/sbin/sed...not found Checking for program /opt/sgi/bin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" Executing: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-e_jrgt6k/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/mv...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/mv...not found Checking for program /opt/rocm-4.5.0/bin/mv...not found Checking for program /opt/rocm-4.5.0/llvm/bin/mv...not found Checking for program /opt/rocm-4.5.0/bin/mv...not found Checking for program /opt/rocm-4.5.0/bin/mv...not found Checking for program /opt/rocm-4.5.0/hip/bin/mv...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mv...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/mv...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/mv...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/mv...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/mv...not found Checking for program /opt/rocm-4.5.0/bin/mv...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/mv...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/mv...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/mv...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/mv...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/mv...not found Checking for program /opt/clmgr/sbin/mv...not found Checking for program /opt/clmgr/bin/mv...not found Checking for program /opt/sgi/sbin/mv...not found Checking for program /opt/sgi/bin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/cp...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/cp...not found Checking for program /opt/rocm-4.5.0/bin/cp...not found Checking for program /opt/rocm-4.5.0/llvm/bin/cp...not found Checking for program /opt/rocm-4.5.0/bin/cp...not found Checking for program /opt/rocm-4.5.0/bin/cp...not found Checking for program /opt/rocm-4.5.0/hip/bin/cp...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/cp...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/cp...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/cp...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/cp...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/cp...not found Checking for program /opt/rocm-4.5.0/bin/cp...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/cp...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/cp...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/cp...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/cp...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/cp...not found Checking for program /opt/clmgr/sbin/cp...not found Checking for program /opt/clmgr/bin/cp...not found Checking for program /opt/sgi/sbin/cp...not found Checking for program /opt/sgi/bin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/grep...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/grep...not found Checking for program /opt/rocm-4.5.0/bin/grep...not found Checking for program /opt/rocm-4.5.0/llvm/bin/grep...not found Checking for program /opt/rocm-4.5.0/bin/grep...not found Checking for program /opt/rocm-4.5.0/bin/grep...not found Checking for program /opt/rocm-4.5.0/hip/bin/grep...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/grep...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/grep...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/grep...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/grep...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/grep...not found Checking for program /opt/rocm-4.5.0/bin/grep...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/grep...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/grep...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/grep...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/grep...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/grep...not found Checking for program /opt/clmgr/sbin/grep...not found Checking for program /opt/clmgr/bin/grep...not found Checking for program /opt/sgi/sbin/grep...not found Checking for program /opt/sgi/bin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/rm...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/rm...not found Checking for program /opt/rocm-4.5.0/bin/rm...not found Checking for program /opt/rocm-4.5.0/llvm/bin/rm...not found Checking for program /opt/rocm-4.5.0/bin/rm...not found Checking for program /opt/rocm-4.5.0/bin/rm...not found Checking for program /opt/rocm-4.5.0/hip/bin/rm...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/rm...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/rm...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/rm...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rm...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/rm...not found Checking for program /opt/rocm-4.5.0/bin/rm...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/rm...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/rm...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/rm...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/rm...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/rm...not found Checking for program /opt/clmgr/sbin/rm...not found Checking for program /opt/clmgr/bin/rm...not found Checking for program /opt/sgi/sbin/rm...not found Checking for program /opt/sgi/bin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/diff...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/diff...found Executing: "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/diff" -w "/tmp/petsc-e_jrgt6k/config.programs/diff1" "/tmp/petsc-e_jrgt6k/config.programs/diff2" Defined make macro "DIFF" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/python3.9" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/m4...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/m4...not found Checking for program /opt/rocm-4.5.0/bin/m4...not found Checking for program /opt/rocm-4.5.0/llvm/bin/m4...not found Checking for program /opt/rocm-4.5.0/bin/m4...not found Checking for program /opt/rocm-4.5.0/bin/m4...not found Checking for program /opt/rocm-4.5.0/hip/bin/m4...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/m4...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/m4...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/m4...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/m4...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/m4...not found Checking for program /opt/rocm-4.5.0/bin/m4...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/m4...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/m4...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/m4...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/m4...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/m4...not found Checking for program /opt/clmgr/sbin/m4...not found Checking for program /opt/clmgr/bin/m4...not found Checking for program /opt/sgi/sbin/m4...not found Checking for program /opt/sgi/bin/m4...not found Checking for program /usr/local/bin/m4...not found Checking for program /usr/bin/m4...found Defined make macro "M4" to "/usr/bin/m4" child config.programs took 1.521330 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.make(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: configureMake from config.packages.make(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/gmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/gmake...not found Checking for program /opt/rocm-4.5.0/bin/gmake...not found Checking for program /opt/rocm-4.5.0/llvm/bin/gmake...not found Checking for program /opt/rocm-4.5.0/bin/gmake...not found Checking for program /opt/rocm-4.5.0/bin/gmake...not found Checking for program /opt/rocm-4.5.0/hip/bin/gmake...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/gmake...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/gmake...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/gmake...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/gmake...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/gmake...not found Checking for program /opt/rocm-4.5.0/bin/gmake...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/gmake...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/gmake...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/gmake...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/gmake...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/gmake...not found Checking for program /opt/clmgr/sbin/gmake...not found Checking for program /opt/clmgr/bin/gmake...not found Checking for program /opt/sgi/sbin/gmake...not found Checking for program /opt/sgi/bin/gmake...not found Checking for program /usr/local/bin/gmake...not found Checking for program /usr/bin/gmake...found Defined make macro "MAKE" to "/usr/bin/gmake" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/make...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/make...not found Checking for program /opt/rocm-4.5.0/bin/make...not found Checking for program /opt/rocm-4.5.0/llvm/bin/make...not found Checking for program /opt/rocm-4.5.0/bin/make...not found Checking for program /opt/rocm-4.5.0/bin/make...not found Checking for program /opt/rocm-4.5.0/hip/bin/make...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/make...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/make...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/make...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/make...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/make...not found Checking for program /opt/rocm-4.5.0/bin/make...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/make...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/make...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/make...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/make...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/make...not found Checking for program /opt/clmgr/sbin/make...not found Checking for program /opt/clmgr/bin/make...not found Checking for program /opt/sgi/sbin/make...not found Checking for program /opt/sgi/bin/make...not found Checking for program /usr/local/bin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE_USER" to "make" ============================================================================================= TESTING: setupGNUMake from config.packages.make(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/make.py:150) Setup other GNU make stuff Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/gmake --print-directory" Defined make macro "OMAKE" to "/usr/bin/gmake --no-print-directory" Defined make macro "MAKE_PAR_OUT_FLG" to "--output-sync=recurse" ============================================================================================= TESTING: configureMakeNP from config.packages.make(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/make.py:197) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 128 cores: using make_np = 59 Defined make macro "MAKE_NP" to "59" Defined make macro "MAKE_TEST_NP" to "49" Defined make macro "MAKE_LOAD" to "166.4" Defined make macro "NPMAX" to "128" child config.packages.make took 0.017141 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sycl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.sycl took 0.000534 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hip(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.hip(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.hip(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/hip.py:86) Checking for program /opt/rocm-4.5.0/hip/bin/hipcc...found Defined make macro "FULLPATHHIPC" to "/opt/rocm-4.5.0/hip/bin/hipcc" ================================================================================== Checking for a functional hip Not checking for library in User specified root directory HIP: ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names No functions to check for in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking for optional headers [] in User specified root directory HIP: ['/opt/rocm-4.5.0/hip/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/opt/rocm-4.5.0/hip/include'] Found header files [] in ['/opt/rocm-4.5.0/hip/include'] Checking for headers ['hip/hip_runtime.h'] in User specified root directory HIP: ['/opt/rocm-4.5.0/hip/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['hip/hip_runtime.h'] in ['/opt/rocm-4.5.0/hip/include'] Checking include with compiler flags var HIPPPFLAGS ['/opt/rocm-4.5.0/hip/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/rocm-4.5.0/hip/bin/hipcc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.headers/conftest.hip.cpp Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['hip/hip_runtime.h'] in ['/opt/rocm-4.5.0/hip/include'] Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/hipconfig...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/hipconfig...not found Checking for program /opt/rocm-4.5.0/bin/hipconfig...found Defined make macro "HIP_CONFIG" to "/opt/rocm-4.5.0/bin/hipconfig" Executing: ['/opt/rocm-4.5.0/bin/hipconfig', '--platform'] stdout: amd Defined "HAVE_HIP" to "1" Defined "HAVE_CUPM" to "1" Defined "HAVE_HIPROCM" to "1" Defined "__HIP_PLATFORM_HCC__" to "1" Defined "__HIP_PLATFORM_AMD__" to "1" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/rocminfo...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/rocminfo...not found Checking for program /opt/rocm-4.5.0/bin/rocminfo...found Defined make macro "ROCMINFO" to "/opt/rocm-4.5.0/bin/rocminfo" Running Executable with threads to time it out at 60 Executing: /opt/rocm-4.5.0/bin/rocminfo | grep " gfx" stdout: Name: gfx90a Name: gfx90a ROCM utility /opt/rocm-4.5.0/bin/rocminfo said the HIP arch is gfx90a Checking if sizeof(void*) in HIP is the same as with regular compiler Checking for size of type: void * ===== Checking compiler Executing: /opt/rocm-4.5.0/hip/bin/hipcc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 --amdgpu-target=gfx90a /tmp/petsc-e_jrgt6k/config.types/conftest.hip.cpp Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; ============================================================================================= TESTING: checkVersion from config.packages.hip(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "hip/hip_version.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(HIP_VERSION_MAJOR.HIP_VERSION_MINOR) ")"; Executing: /opt/rocm-4.5.0/hip/bin/hipcc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hip -o - -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.packages.hip/conftest.hip.cpp Found version string: }}externC{}char*ver=petscpkgver(4.4) For hip need 3.8 <= 4.4 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.hip(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.hip took 1.414500 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.X(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.X(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.X took 0.000825 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hwloc(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.hwloc took 0.000697 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.thrust(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.thrust took 0.000519 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cuda(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.cuda(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.cuda took 0.000425 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.OpenMPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.OpenMPI took 0.000478 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPICH(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.MPICH took 0.000541 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:827) ================================================================================== Checking for a functional MPI Checking for library in Compiler specific search MPI: [] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library [] ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -fPIC /tmp/petsc-e_jrgt6k/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: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } void dummy(void) {_check_MPI_Init(); _check_MPI_Comm_create();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl Checking for optional headers [] in Compiler specific search MPI: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in [] Found header files [] in [] Checking for headers ['mpi.h'] in Compiler specific search MPI: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in [] Checking include with compiler flags var CPPFLAGS ['/opt/rocm-4.5.0/hip/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['mpi.h'] in [] Defined "HAVE_MPI_F90MODULE_VISIBILITY" to "1" ============================================================================================= TESTING: checkMPIDistro from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:634) Determine if MPICH_NUMVERSION, OMPI_MAJOR_VERSION or MSMPI_VER exist in mpi.h Used for consistency checking of MPI installation at compile time ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:4:25: error: use of undeclared identifier 'I_MPI_VERSION' const char *mpich_ver = I_MPI_VERSION; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include const char *mpich_ver = I_MPI_VERSION; int main() { ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:4:17: error: use of undeclared identifier 'I_MPI_NUMVERSION' int mpich_ver = I_MPI_NUMVERSION; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = I_MPI_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:4:17: error: use of undeclared identifier 'MVAPICH2_NUMVERSION' int mpich_ver = MVAPICH2_NUMVERSION; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MVAPICH2_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Defined "HAVE_MPICH_NUMVERSION" to "30400002" Executing: uname -s stdout: Linux ============================================================================================= TESTING: configureMPI2 from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:381) Check for functions added to the interface in MPI-2 ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:35: warning: if statement has empty body [-Wempty-body] int flag;if (MPI_Finalized(&flag)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:35: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int flag;if (MPI_Finalized(&flag)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_FINALIZED" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:67: warning: if statement has empty body [-Wempty-body] if (MPI_Allreduce(MPI_IN_PLACE,0,1,MPI_INT,MPI_SUM,MPI_COMM_SELF)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:67: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Allreduce(MPI_IN_PLACE,0,1,MPI_INT,MPI_SUM,MPI_COMM_SELF)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:121: warning: if statement has empty body [-Wempty-body] if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:121: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={MPI_INT,MPI_DOUBLE}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:131: warning: if statement has empty body [-Wempty-body] MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:131: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:63: warning: if statement has empty body [-Wempty-body] if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:63: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:49: warning: if statement has empty body [-Wempty-body] if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:49: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_REDUCE_LOCAL" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:102: warning: if statement has empty body [-Wempty-body] char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:102: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_GET_LIBRARY_VERSION" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:94: warning: if statement has empty body [-Wempty-body] int base[100]; MPI_Win win; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:94: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int base[100]; MPI_Win win; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_WIN_CREATE" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:90: warning: if statement has empty body [-Wempty-body] int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:90: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_ONE_SIDED" to "1" ============================================================================================= TESTING: configureMPI3 from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:427) Check for functions added to the interface in MPI-3 ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:112: warning: if statement has empty body [-Wempty-body] if (MPI_Comm_split_type(MPI_COMM_WORLD, MPI_COMM_TYPE_SHARED, 0, MPI_INFO_NULL, &scomm)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:112: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:111: warning: if statement has empty body [-Wempty-body] if (MPI_Win_allocate_shared(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:111: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:82: warning: if statement has empty body [-Wempty-body] if (MPI_Win_shared_query(win,0,&size,&disp_unit,&baseptr)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:82: note: put the semicolon on a separate line to silence this warning 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm scomm; MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Comm_split_type(MPI_COMM_WORLD, MPI_COMM_TYPE_SHARED, 0, MPI_INFO_NULL, &scomm)); if (MPI_Win_allocate_shared(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_shared_query(win,0,&size,&disp_unit,&baseptr)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_PROCESS_SHARED_MEMORY" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:104: warning: if statement has empty body [-Wempty-body] if (MPI_Win_allocate(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:104: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:61: warning: if statement has empty body [-Wempty-body] if (MPI_Win_attach(win,baseptr,size)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:61: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:86: warning: if statement has empty body [-Wempty-body] if (MPI_Win_create_dynamic(MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:86: note: put the semicolon on a separate line to silence this warning 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Win_allocate(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_attach(win,baseptr,size)); if (MPI_Win_create_dynamic(MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_FEATURE_DYNAMIC_WINDOW" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:96: warning: if statement has empty body [-Wempty-body] if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:96: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:110: warning: if statement has empty body [-Wempty-body] if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:110: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:96: warning: if statement has empty body [-Wempty-body] if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:96: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:10:109: warning: if statement has empty body [-Wempty-body] if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:10:109: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:11:97: warning: if statement has empty body [-Wempty-body] if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:11:97: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:12:110: warning: if statement has empty body [-Wempty-body] if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:12:110: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:13:96: warning: if statement has empty body [-Wempty-body] if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:13:96: note: put the semicolon on a separate line to silence this warning 7 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int send=0,recv,counts[2]={1,1},displs[2]={1,2}; MPI_Request req; if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)); if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_NONBLOCKING_COLLECTIVES" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:145: warning: if statement has empty body [-Wempty-body] if (MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD,0,0,MPI_WEIGHTS_EMPTY,0,0,MPI_WEIGHTS_EMPTY,MPI_INFO_NULL,0,&distcomm)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:8:145: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:89: warning: if statement has empty body [-Wempty-body] if (MPI_Neighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:9:89: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:10:95: warning: if statement has empty body [-Wempty-body] if (MPI_Ineighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:10:95: note: put the semicolon on a separate line to silence this warning 3 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm distcomm; MPI_Request req; if (MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD,0,0,MPI_WEIGHTS_EMPTY,0,0,MPI_WEIGHTS_EMPTY,MPI_INFO_NULL,0,&distcomm)); if (MPI_Neighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm)); if (MPI_Ineighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm,&req)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_NEIGHBORHOOD_COLLECTIVES" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:104: warning: if statement has empty body [-Wempty-body] int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:104: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_GET_ACCUMULATE" to "1" ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:94: warning: if statement has empty body [-Wempty-body] int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:6:94: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_RGET" to "1" ============================================================================================= TESTING: configureMPI4 from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:488) Check for functions added to the interface in MPI-4 ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:11:11: warning: implicit declaration of function 'MPI_Send_c' is invalid in C99 [-Wimplicit-function-declaration] if (MPI_Send_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD)) return 1; ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:12:11: warning: implicit declaration of function 'MPI_Send_init_c' is invalid in C99 [-Wimplicit-function-declaration] if (MPI_Send_init_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:13:11: warning: implicit declaration of function 'MPI_Isend_c' is invalid in C99 [-Wimplicit-function-declaration] if (MPI_Isend_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:14:11: warning: implicit declaration of function 'MPI_Recv_c' is invalid in C99 [-Wimplicit-function-declaration] if (MPI_Recv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&stat)) return 1; ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:15:11: warning: implicit declaration of function 'MPI_Recv_init_c' is invalid in C99 [-Wimplicit-function-declaration] if (MPI_Recv_init_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:16:11: warning: implicit declaration of function 'MPI_Irecv_c' is invalid in C99 [-Wimplicit-function-declaration] if (MPI_Irecv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ^ 6 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { int buf[1]={0},dest=1,source=1,tag=0; MPI_Count count=1; MPI_Request req; MPI_Status stat; if (MPI_Send_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD)) return 1; if (MPI_Send_init_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; if (MPI_Isend_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; if (MPI_Recv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&stat)) return 1; if (MPI_Recv_init_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; if (MPI_Irecv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: MPI_Send_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Send_init_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Isend_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Recv_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Recv_init_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Irecv_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: MPI_Send_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Send_init_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Isend_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Recv_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Recv_init_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Irecv_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: MPI_Send_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Send_init_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Isend_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Recv_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Recv_init_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) ld.lld: error: undefined symbol: MPI_Irecv_c >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o:(main) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: configureMPIEXEC from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:190) Checking for location of mpiexec Defined make macro "MPIEXEC" to "Not_appropriate_for_batch_systems_You_must_use_your_batch_system_to_submit_MPI_jobs_speak_with_your_local_sys_admin" ============================================================================================= TESTING: configureMPITypes from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:516) Checking for MPI Datatype handles ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_LONG_DOUBLE" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_INT64_T" to "1" ============================================================================================= TESTING: SGIMPICheck from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:562) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library [] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); static void _check_MPI_SGI_barrier() { MPI_SGI_barrier(); } int main() { _check_MPI_SGI_barrier();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: MPI_SGI_barrier >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_MPI_SGI_barrier) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: MPI_SGI_barrier >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_MPI_SGI_barrier) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: MPI_SGI_barrier >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_MPI_SGI_barrier) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): SGI MPI test failure ============================================================================================= TESTING: CxxMPICheck from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:572) Make sure C++ can compile and link Checking for header mpi.h Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library [] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/config.libraries -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_MPI_Finalize() { int ierr; ierr = MPI_Finalize();; } int main() { _check_MPI_Finalize();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: FortranMPICheck from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:588) Make sure fortran include [mpif.h] and library symbols are found Checking for fortran mpi_init() Checking for functions [] in library [] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" integer ierr call mpi_init(ierr) end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Checking for mpi.mod Checking for functions [] in library [] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.F90 Successful compile: Source: program main use mpi integer(kind=selected_int_kind(5)) ierr,rank call mpi_init(ierr) call mpi_comm_rank(MPI_COMM_WORLD,rank,ierr) end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Defined "HAVE_MPI_F90MODULE" to "1" ============================================================================================= TESTING: configureIO from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:610) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:48: warning: if statement has empty body [-Wempty-body] if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:7:48: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:12:54: warning: if statement has empty body [-Wempty-body] if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:12:54: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:14:102: warning: if statement has empty body [-Wempty-body] if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:14:102: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:18:61: warning: if statement has empty body [-Wempty-body] if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:18:61: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:20:101: warning: if statement has empty body [-Wempty-body] if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:20:101: note: put the semicolon on a separate line to silence this warning /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:22:74: warning: if statement has empty body [-Wempty-body] if (MPI_File_close(&fh)); ^ /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c:22:74: note: put the semicolon on a separate line to silence this warning 6 warnings generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); MPI_File fh; void *buf; MPI_Status status; if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); MPI_Offset disp; MPI_Info info; if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); if (MPI_File_close(&fh)); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -lstdc++ -ldl Defined "HAVE_MPIIO" to "1" ============================================================================================= TESTING: findMPIIncludeAndLib from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:723) Find MPI include paths and libraries from "mpicc -show" or Cray "cc --cray-print-opts=cflags/libs" and save. Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --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: ['/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc', '--cray-print-opts=cflags'] stdout: -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include Executing: ['/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc', '--no-as-needed', '--cray-print-opts=libs'] stdout: -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd compilers: Checking arg -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include compilers: Found include option: -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include compilers: Checking arg -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib compilers: Found -L link option: -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib compilers: Checking arg -lmpi_amd compilers: Found -l link option: -lmpi_amd Defined make macro "MPICXX_INCLUDES" to "-I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include " Defined make macro "MPICXX_LIBS" to "-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd " ============================================================================================= TESTING: PetscArchMPICheck from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MPI.py:802) Checking for functions [MPI_Type_get_envelope MPI_Type_dup MPI_Init_thread MPI_Iallreduce MPI_Ibarrier MPI_Finalized MPI_Exscan MPI_Reduce_scatter MPI_Reduce_scatter_block] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Type_get_envelope MPI_Type_dup MPI_Init_thread MPI_Iallreduce] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Type_get_envelope] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Type_dup] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Init_thread] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Iallreduce] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Ibarrier MPI_Finalized MPI_Exscan MPI_Reduce_scatter MPI_Reduce_scatter_block] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Ibarrier MPI_Finalized] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Ibarrier] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Finalized] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Exscan MPI_Reduce_scatter MPI_Reduce_scatter_block] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Exscan] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Reduce_scatter] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] Checking for functions [MPI_Reduce_scatter_block] in library ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] [] Checking directory of requested libraries:/opt/rocm-4.5.0/hip/lib for first library:libhipsparse. Files in directory:['.hipInfo', 'cmake', 'libamdhip64.so', 'libamdhip64.so.4', 'libamdhip64.so.4.4.40500', 'libhiprtc-builtins.so', 'libhiprtc-builtins.so.4', 'libhiprtc-builtins.so.4.4.40500'] ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_DUP;; return 0; } Defined "HAVE_MPI_COMBINER_DUP" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_CONTIGUOUS;; return 0; } Defined "HAVE_MPI_COMBINER_CONTIGUOUS" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_NAMED;; return 0; } Defined "HAVE_MPI_COMBINER_NAMED" to "1" ============================================================================================= TESTING: checkVersion from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "mpi.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(MPI_VERSION) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.packages.MPI/conftest.c Found version string: char*ver=petscpkgver(3) For mpi need 2 <= 3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.MPI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.MPI took 4.525799 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zstd(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.zstd(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.zstd took 0.000825 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.yaml(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.yaml(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.yaml took 0.000556 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ssl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/ssl.py:31) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.ssl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ssl took 0.000649 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sprng(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.sprng(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.sprng took 0.000557 seconds PETSc clone, checking for Sowing Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/pdflatex...not found Checking for program /opt/rocm-4.5.0/bin/pdflatex...not found Checking for program /opt/rocm-4.5.0/llvm/bin/pdflatex...not found Checking for program /opt/rocm-4.5.0/bin/pdflatex...not found Checking for program /opt/rocm-4.5.0/bin/pdflatex...not found Checking for program /opt/rocm-4.5.0/hip/bin/pdflatex...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/pdflatex...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/pdflatex...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/pdflatex...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/pdflatex...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/pdflatex...not found Checking for program /opt/rocm-4.5.0/bin/pdflatex...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/pdflatex...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/pdflatex...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/pdflatex...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/pdflatex...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/pdflatex...not found Checking for program /opt/clmgr/sbin/pdflatex...not found Checking for program /opt/clmgr/bin/pdflatex...not found Checking for program /opt/sgi/sbin/pdflatex...not found Checking for program /opt/sgi/bin/pdflatex...not found Checking for program /usr/local/bin/pdflatex...not found Checking for program /usr/bin/pdflatex...not found Checking for program /bin/pdflatex...not found Checking for program /opt/bin/pdflatex...not found Checking for program /opt/c3/bin/pdflatex...not found Checking for program /usr/lib/mit/bin/pdflatex...not found Checking for program /opt/puppetlabs/bin/pdflatex...not found Checking for program /sbin/pdflatex...not found Checking for program /opt/cray/pe/bin/pdflatex...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/pdflatex...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bfort...found Defined make macro "BFORT" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bfort" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/doctext...found Defined make macro "DOCTEXT" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/doctext" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/mapnames...found Defined make macro "MAPNAMES" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/mapnames" Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bib2html...found Defined make macro "BIB2HTML" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bib2html" Found bfort, not installing sowing Executing: /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bfort -version stdout: bfort (sowing) release 1.1.26 of Date unknown ============================================================================================= Running /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bfort to generate fortran stubs ============================================================================================= child config.packages.sowing took 3.647167 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.revolve(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.revolve(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.revolve took 0.000906 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.radau5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.radau5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.radau5 took 0.000565 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pami(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.pami(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.pami took 0.000526 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opengles(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.opengles(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.opengles took 0.000437 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opencl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.opencl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.opencl took 0.000435 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.muparser(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.muparser(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.muparser took 0.000485 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpe(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mpe(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mpe took 0.000479 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.memkind(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.memkind(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.memkind took 0.000497 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libmesh(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.libmesh(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/libmesh.py:69) Defined make rule "libmesh-build" with dependencies "" and code [] Defined make rule "libmesh-install" with dependencies "" and code [] child config.packages.libmesh took 0.000763 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.moose(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.moose(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.moose took 0.000552 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libjpeg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.libjpeg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.libjpeg took 0.000494 seconds Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/lgrind...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/lgrind...not found Checking for program /opt/rocm-4.5.0/bin/lgrind...not found Checking for program /opt/rocm-4.5.0/llvm/bin/lgrind...not found Checking for program /opt/rocm-4.5.0/bin/lgrind...not found Checking for program /opt/rocm-4.5.0/bin/lgrind...not found Checking for program /opt/rocm-4.5.0/hip/bin/lgrind...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/lgrind...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/lgrind...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/lgrind...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/lgrind...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/lgrind...not found Checking for program /opt/rocm-4.5.0/bin/lgrind...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/lgrind...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/lgrind...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/lgrind...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/lgrind...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/lgrind...not found Checking for program /opt/clmgr/sbin/lgrind...not found Checking for program /opt/clmgr/bin/lgrind...not found Checking for program /opt/sgi/sbin/lgrind...not found Checking for program /opt/sgi/bin/lgrind...not found Checking for program /usr/local/bin/lgrind...not found Checking for program /usr/bin/lgrind...not found Checking for program /bin/lgrind...not found Checking for program /opt/bin/lgrind...not found Checking for program /opt/c3/bin/lgrind...not found Checking for program /usr/lib/mit/bin/lgrind...not found Checking for program /opt/puppetlabs/bin/lgrind...not found Checking for program /sbin/lgrind...not found Checking for program /opt/cray/pe/bin/lgrind...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/lgrind...not found child config.packages.lgrind took 0.000656 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.gsl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.gsl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.gsl took 0.000475 seconds child config.packages.gmsh took 0.000082 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.gmp(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.gmp(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.gmp took 0.000547 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpfr(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mpfr(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mpfr took 0.000538 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.giflib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.giflib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.giflib took 0.000545 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cub(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.cub(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.cub took 0.000552 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ctetgen(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.ctetgen(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ctetgen took 0.000460 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.concurrencykit(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.concurrencykit(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.concurrencykit took 0.000465 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cams(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.cams(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.cams took 0.000554 seconds ============================================================================================= TESTING: locateC2html from config.packages.c2html(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/c2html.py:30) Looking for default C2html executable Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/c2html...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/c2html...not found Checking for program /opt/rocm-4.5.0/bin/c2html...not found Checking for program /opt/rocm-4.5.0/llvm/bin/c2html...not found Checking for program /opt/rocm-4.5.0/bin/c2html...not found Checking for program /opt/rocm-4.5.0/bin/c2html...not found Checking for program /opt/rocm-4.5.0/hip/bin/c2html...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/c2html...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/c2html...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/c2html...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/c2html...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/c2html...not found Checking for program /opt/rocm-4.5.0/bin/c2html...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/c2html...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/c2html...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/c2html...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/c2html...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/c2html...not found Checking for program /opt/clmgr/sbin/c2html...not found Checking for program /opt/clmgr/bin/c2html...not found Checking for program /opt/sgi/sbin/c2html...not found Checking for program /opt/sgi/bin/c2html...not found Checking for program /usr/local/bin/c2html...not found Checking for program /usr/bin/c2html...not found Checking for program /bin/c2html...not found Checking for program /opt/bin/c2html...not found Checking for program /opt/c3/bin/c2html...not found Checking for program /usr/lib/mit/bin/c2html...not found Checking for program /opt/puppetlabs/bin/c2html...not found Checking for program /sbin/c2html...not found Checking for program /opt/cray/pe/bin/c2html...not found Checking for program /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/lib/petsc/bin/win32fe/c2html...not found child config.packages.c2html took 0.000926 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.boost(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.boost(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.boost took 0.000546 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.silo(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.silo(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.silo took 0.000533 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Random123(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Random123(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Random123 took 0.000460 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PARTY(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.PARTY(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.PARTY took 0.000453 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.NVSHMEM(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.NVSHMEM(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.NVSHMEM took 0.000422 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Matlab(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Matlab(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Matlab took 0.000390 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MatlabEngine(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.MatlabEngine(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.MatlabEngine took 0.000436 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Mathematica(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Mathematica(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Mathematica took 0.000483 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.regex(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.regex(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.regex(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:937) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional regex Checking for library in Compiler specific search REGEX: [] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [regexec regcomp regfree] in library [] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(); static void _check_regexec() { regexec(); } char regcomp(); static void _check_regcomp() { regcomp(); } char regfree(); static void _check_regfree() { regfree(); } int main() { _check_regexec(); _check_regcomp(); _check_regfree();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(); static void _check_regexec() { regexec(); } char regcomp(); static void _check_regcomp() { regcomp(); } char regfree(); static void _check_regfree() { regfree(); } void dummy(void) {_check_regexec(); _check_regcomp(); _check_regfree();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lstdc++ -ldl Checking for optional headers [] in Compiler specific search REGEX: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 ['regex.h'] in Compiler specific search REGEX: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['regex.h'] in [] Checking include with compiler flags var CPPFLAGS [] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.MPI /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['regex.h'] in [] ============================================================================================= TESTING: checkVersion from config.packages.regex(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.regex(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.regex took 0.401527 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libceed(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.libceed(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.libceed took 0.000866 seconds Defined "PYTHON_EXE" to ""/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/python3.9"" Executing: /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/python3.9 -c "import Cython" Executing: /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/python3.9 -c "import numpy" child config.packages.python took 0.037333 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.petsc4py(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.petsc4py(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/petsc4py.py:129) Defined make rule "petsc4py-build" with dependencies "" and code [] Defined make rule "petsc4py-install" with dependencies "" and code [] Defined make rule "petsc4pytest" with dependencies "" and code [] child config.packages.petsc4py took 0.001150 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpi4py(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mpi4py(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mpi4py took 0.000574 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opengl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.opengl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.opengl took 0.000506 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.glut(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.glut(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.glut took 0.000496 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.GLVis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.GLVis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.GLVis took 0.000575 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.CoDiPack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.CoDiPack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.CoDiPack took 0.000551 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.adblaslapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.adblaslapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.adblaslapack took 0.000541 seconds child config.packages.cxxlibs took 0.000009 seconds ============================================================================================= TESTING: locateCMake from config.packages.cmake(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/cmake.py:51) Looking for default CMake executable Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/cmake...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/cmake...not found Checking for program /opt/rocm-4.5.0/bin/cmake...not found Checking for program /opt/rocm-4.5.0/llvm/bin/cmake...not found Checking for program /opt/rocm-4.5.0/bin/cmake...not found Checking for program /opt/rocm-4.5.0/bin/cmake...not found Checking for program /opt/rocm-4.5.0/hip/bin/cmake...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/cmake...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/cmake...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/cmake...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/cmake...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/cmake...not found Checking for program /opt/rocm-4.5.0/bin/cmake...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/cmake...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/cmake...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/cmake...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/cmake...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/cmake...not found Checking for program /opt/clmgr/sbin/cmake...not found Checking for program /opt/clmgr/bin/cmake...not found Checking for program /opt/sgi/sbin/cmake...not found Checking for program /opt/sgi/bin/cmake...not found Checking for program /usr/local/bin/cmake...not found Checking for program /usr/bin/cmake...found Defined make macro "CMAKE" to "/usr/bin/cmake" Looking for default CTest executable Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/pkgconf-1.8.0-mn63qppokbgxfa6p2cr5gf4ii6dgsf2b/bin/ctest...not found Checking for program /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/ctest...not found Checking for program /opt/rocm-4.5.0/bin/ctest...not found Checking for program /opt/rocm-4.5.0/llvm/bin/ctest...not found Checking for program /opt/rocm-4.5.0/bin/ctest...not found Checking for program /opt/rocm-4.5.0/bin/ctest...not found Checking for program /opt/rocm-4.5.0/hip/bin/ctest...not found Checking for program /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/ctest...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/ctest...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/case-insensitive/ctest...not found Checking for program /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/ctest...not found Checking for program /opt/cray/libfabric/1.15.0.0/bin/ctest...not found Checking for program /opt/rocm-4.5.0/bin/ctest...not found Checking for program /opt/cray/pe/craype/2.7.13/bin/ctest...not found Checking for program /ccs/proj/ven114/lukebr/spack/bin/ctest...not found Checking for program /opt/cray/pe/python/3.9.4.2/bin/ctest...not found Checking for program /opt/cray/pe/perftools/21.12.0/bin/ctest...not found Checking for program /opt/cray/pe/papi/6.0.0.12/bin/ctest...not found Checking for program /opt/clmgr/sbin/ctest...not found Checking for program /opt/clmgr/bin/ctest...not found Checking for program /opt/sgi/sbin/ctest...not found Checking for program /opt/sgi/bin/ctest...not found Checking for program /usr/local/bin/ctest...not found Checking for program /usr/bin/ctest...found Defined make macro "CTEST" to "/usr/bin/ctest" Executing: /usr/bin/cmake --version stdout: cmake version 3.17.0 CMake suite maintained and supported by Kitware (kitware.com/cmake). cmake version found 3.17.0 child config.packages.cmake took 0.010685 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.unittestcpp(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.unittestcpp(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.unittestcpp took 0.000907 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.googletest(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.googletest(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.googletest took 0.000588 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opencascade(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.opencascade(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.opencascade took 0.000551 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.eigen(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.eigen(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.eigen took 0.000557 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.szlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.szlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.szlib took 0.000546 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.zlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.zlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:937) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional zlib Checking for library in User specified ZLIB libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/libz.so'] Contents of /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy: ['include', 'lib', 'share', '.spack'] Contents /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib: ['libz.a', 'libz.so.1', 'libz.so', 'pkgconfig', 'libz.so.1.2.11'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [compress uncompress] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/libz.so'] [] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib for first library:libz.s Files in directory:['libz.a', 'libz.so.1', 'libz.so', 'pkgconfig', 'libz.so.1.2.11'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char compress(); static void _check_compress() { compress(); } char uncompress(); static void _check_uncompress() { uncompress(); } int main() { _check_compress(); _check_uncompress();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char compress(); static void _check_compress() { compress(); } char uncompress(); static void _check_uncompress() { uncompress(); } void dummy(void) {_check_compress(); _check_uncompress();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz -lstdc++ -ldl Defined "HAVE_LIBZ" to "1" Checking for optional headers [] in User specified ZLIB libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] Found header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] Checking for headers ['zlib.h'] in User specified ZLIB libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['zlib.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] Checking include with compiler flags var CPPFLAGS ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['zlib.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include'] ============================================================================================= TESTING: checkVersion from config.packages.zlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "zlib.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(ZLIB_VERSION) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include /tmp/petsc-e_jrgt6k/config.packages.zlib/conftest.c Found version string: char*ver=petscpkgver(1.2.11) For zlib need <= 1.2.11 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.zlib(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.zlib took 0.474589 seconds child config.packages.mathlib took 0.000012 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.tetgen(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.tetgen(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.tetgen took 0.000862 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.tchem(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.tchem(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.tchem took 0.000542 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.saws(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.saws(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.saws took 0.000558 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libpng(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.libpng(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.libpng took 0.000547 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hcephes(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.hcephes(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.hcephes took 0.000533 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.combblas(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.combblas(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.combblas took 0.000536 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Triangle(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Triangle(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Triangle took 0.000528 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.metis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.metis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.metis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/metis.py:46) ================================================================================== Checking for a functional metis Checking for library in User specified METIS libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so'] Contents of /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7: ['include', 'bin', 'lib', '.spack'] Contents /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib: ['libmetis.so'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [METIS_PartGraphKway] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so'] ['libm.a'] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib for first library:libmetis.s Files in directory:['libmetis.so'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char METIS_PartGraphKway(); static void _check_METIS_PartGraphKway() { METIS_PartGraphKway(); } int main() { _check_METIS_PartGraphKway();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char METIS_PartGraphKway(); static void _check_METIS_PartGraphKway() { METIS_PartGraphKway(); } void dummy(void) {_check_METIS_PartGraphKway();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -lm -lstdc++ -ldl Defined "HAVE_LIBMETIS" to "1" Checking for optional headers [] in User specified METIS libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] Found header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] Checking for headers ['metis.h'] in User specified METIS libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['metis.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] Checking include with compiler flags var CPPFLAGS ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.headers -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['metis.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include'] ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.metis/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -fPIC -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include /tmp/petsc-e_jrgt6k/config.packages.metis/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-e_jrgt6k/config.packages.metis/conftest.c:8:7: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif; ^ // 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include "metis.h" int main() { #if (IDXTYPEWIDTH != 32) #error incompatible IDXTYPEWIDTH #endif; return 0; } ============================================================================================= TESTING: checkVersion from config.packages.metis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "metis.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(METIS_VER_MAJOR.METIS_VER_MINOR.METIS_VER_SUBMINOR) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include /tmp/petsc-e_jrgt6k/config.packages.metis/conftest.c Found version string: char*ver=petscpkgver(5.1.0) For metis need <= 5.1.0 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.metis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.metis took 0.533210 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pragmatic(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.pragmatic(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.pragmatic took 0.000847 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.parmetis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.parmetis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.parmetis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/parmetis.py:41) ================================================================================== Checking for a functional parmetis Checking for library in User specified PARMETIS libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so'] Contents of /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253: ['include', 'bin', 'lib', '.spack'] Contents /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib: ['libparmetis.so'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [ParMETIS_V3_PartKway] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so'] ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so', 'libm.a', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib for first library:libparmetis.s Files in directory:['libparmetis.so'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_V3_PartKway(); static void _check_ParMETIS_V3_PartKway() { ParMETIS_V3_PartKway(); } int main() { _check_ParMETIS_V3_PartKway();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -lm -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_V3_PartKway(); static void _check_ParMETIS_V3_PartKway() { ParMETIS_V3_PartKway(); } void dummy(void) {_check_ParMETIS_V3_PartKway();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -lm -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl Defined "HAVE_LIBPARMETIS" to "1" Checking for optional headers [] in User specified PARMETIS libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include'] Found header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include'] Checking for headers ['parmetis.h'] in User specified PARMETIS libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['parmetis.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include'] Checking include with compiler flags var CPPFLAGS ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include', '/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include', '/opt/rocm-4.5.0/hip/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.headers -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['parmetis.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include'] Checking for functions [ParMETIS_ComputeVertexSeparator] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so'] ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so', 'libm.a'] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib for first library:libparmetis.s Files in directory:['libparmetis.so'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_ComputeVertexSeparator(); static void _check_ParMETIS_ComputeVertexSeparator() { ParMETIS_ComputeVertexSeparator(); } int main() { _check_ParMETIS_ComputeVertexSeparator();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -lm -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: ParMETIS_ComputeVertexSeparator >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ParMETIS_ComputeVertexSeparator) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: ParMETIS_ComputeVertexSeparator >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ParMETIS_ComputeVertexSeparator) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: ParMETIS_ComputeVertexSeparator >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ParMETIS_ComputeVertexSeparator) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkVersion from config.packages.parmetis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "parmetis.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(PARMETIS_MAJOR_VERSION.PARMETIS_MINOR_VERSION.PARMETIS_SUBMINOR_VERSION) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.packages.parmetis/conftest.c Found version string: char*ver=petscpkgver(4.0.3) For parmetis need <= 4.0.3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.parmetis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.parmetis took 0.700687 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.KS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.KS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.KS took 0.000865 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Chaco(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Chaco(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Chaco took 0.000531 seconds Executing: uname -s stdout: Linux ============================================================================================= TESTING: consistencyChecks from config.packages.hdf5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.hdf5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.hdf5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/hdf5.py:88) ================================================================================== Checking for a functional hdf5 Checking for library in User specified HDF5 libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib/libhdf5.so'] Contents of /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf: ['include', 'bin', 'lib', 'share', '.spack'] Contents /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib: ['libhdf5.settings', 'libhdf5_tools.so.200.1.0', 'libhdf5_tools.so', 'libhdf5.so', 'libhdf5.a', 'libhdf5_tools.a', 'libhdf5.so.200.1.0', 'pkgconfig', 'libhdf5.so.200', 'libhdf5_tools.so.200'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [H5T_init] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib/libhdf5.so'] ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/libz.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a'] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib for first library:libhdf5.s Files in directory:['libhdf5.settings', 'libhdf5_tools.so.200.1.0', 'libhdf5_tools.so', 'libhdf5.so', 'libhdf5.a', 'libhdf5_tools.a', 'libhdf5.so.200.1.0', 'pkgconfig', 'libhdf5.so.200', 'libhdf5_tools.so.200'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char H5T_init(); static void _check_H5T_init() { H5T_init(); } int main() { _check_H5T_init();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -lhdf5 -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char H5T_init(); static void _check_H5T_init() { H5T_init(); } void dummy(void) {_check_H5T_init();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -lhdf5 -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -lstdc++ -ldl Defined "HAVE_LIBHDF5" to "1" Checking for optional headers [] in User specified HDF5 libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include'] Found header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include'] Checking for headers ['hdf5.h'] in User specified HDF5 libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['hdf5.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include'] Checking include with compiler flags var CPPFLAGS ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include', '/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include', '/opt/rocm-4.5.0/hip/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['hdf5.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "H5pubconf.h" #if defined(H5_HAVE_ZLIB_H) foundbeast #endif Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include /tmp/petsc-e_jrgt6k/config.packages.hdf5/conftest.c Defined "HDF5_HAVE_ZLIB" to "1" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "H5pubconf.h" #if defined(H5_HAVE_SZLIB_H) foundbeast #endif Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include /tmp/petsc-e_jrgt6k/config.packages.hdf5/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "H5pubconf.h" #if defined(H5_HAVE_PARALLEL) foundbeast #endif Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include /tmp/petsc-e_jrgt6k/config.packages.hdf5/conftest.c Defined "HDF5_HAVE_PARALLEL" to "1" ============================================================================================= TESTING: checkVersion from config.packages.hdf5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "hdf5.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(H5_VERSION) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.packages.hdf5/conftest.c Found version string: char*ver=petscpkgver(1.12.1) For hdf5 need 1.8 <= 1.12.1 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.hdf5(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.hdf5 took 0.777869 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.med(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.med(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.med took 0.000888 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cgns(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.cgns(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.cgns took 0.000489 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ascem-io(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.ascem-io(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ascem-io took 0.000535 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pflotran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.pflotran(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.pflotran took 0.000543 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.alquimia(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.alquimia(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.alquimia took 0.000552 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SAMRAI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.SAMRAI(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.SAMRAI took 0.000543 seconds child config.packages.flibs took 0.000008 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pnetcdf(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.pnetcdf(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.pnetcdf took 0.000532 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.netcdf(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.netcdf(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.netcdf took 0.000534 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.exodusii(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.exodusii(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.exodusii took 0.000531 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.fblaslapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.fblaslapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.fblaslapack took 0.000530 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pthread(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.pthread(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.pthread(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/pthread.py:20) Checks for pthread_barrier_t, cpu_set_t, and sys/sysctl.h ================================================================================== Checking for a functional pthread Checking for library in Compiler specific search PTHREAD: [] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [pthread_create] in library [] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } int main() { _check_pthread_create();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: pthread_create >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_pthread_create) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: pthread_create >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_pthread_create) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: pthread_create >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_pthread_create) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): Checking for library in Compiler specific search PTHREAD: ['libpthread.a'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [pthread_create] in library ['libpthread.a'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } int main() { _check_pthread_create();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -lpthread -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } void dummy(void) {_check_pthread_create();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -lpthread -lstdc++ -ldl Defined "HAVE_LIBPTHREAD" to "1" Checking for optional headers [] in Compiler specific search PTHREAD: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 ['pthread.h'] in Compiler specific search PTHREAD: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['pthread.h'] in [] Checking include with compiler flags var CPPFLAGS [] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['pthread.h'] in [] ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { pthread_barrier_t *a; ; return 0; } Defined "HAVE_PTHREAD_BARRIER_T" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { cpu_set_t *a; ; return 0; } Defined "HAVE_SCHED_CPU_SET_T" to "1" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/tmp/petsc-e_jrgt6k/config.packages.pthread /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c Possible ERROR while running preprocessor: stdout: # 1 "/tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c" # 1 "" 1 # 1 "" 3 # 379 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.packages.pthread/confdefs.h" 1 # 2 "/tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c" 2 # 1 "/tmp/petsc-e_jrgt6k/config.packages.pthread/conffix.h" 1 # 3 "/tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c" 2 # 1 "/usr/include/sys/sysctl.h" 1 3 4 # 23 "/usr/include/sys/sysctl.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 443 "/usr/include/features.h" 3 4 # 1 "/usr/include/stdc-predef.h" 1 3 4 # 444 "/usr/include/features.h" 2 3 4 # 465 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 452 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 453 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/include/bits/long-double.h" 1 3 4 # 454 "/usr/include/sys/cdefs.h" 2 3 4 # 466 "/usr/include/features.h" 2 3 4 # 489 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 11 "/usr/include/gnu/stubs.h" 2 3 4 # 490 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/sys/sysctl.h" 2 3 4 # 1 "/opt/rocm-4.5.0/llvm/lib/clang/13.0.0/include/stddef.h" 1 3 4 # 46 "/opt/rocm-4.5.0/llvm/lib/clang/13.0.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 26 "/usr/include/sys/sysctl.h" 2 3 4 # 45 "/usr/include/sys/sysctl.h" 3 4 # 1 "/usr/include/linux/sysctl.h" 1 3 4 # 26 "/usr/include/linux/sysctl.h" 3 4 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 27 "/usr/include/linux/sysctl.h" 2 3 4 # 1 "/usr/include/linux/types.h" 1 3 4 # 28 "/usr/include/linux/sysctl.h" 2 3 4 struct __sysctl_args { int *name; int nlen; void *oldval; size_t *oldlenp; void *newval; size_t newlen; unsigned long __unused[4]; }; enum { CTL_KERN=1, CTL_VM=2, CTL_NET=3, CTL_PROC=4, CTL_FS=5, CTL_DEBUG=6, CTL_DEV=7, CTL_BUS=8, CTL_ABI=9, CTL_CPU=10, CTL_ARLAN=254, CTL_S390DBF=5677, CTL_SUNRPC=7249, CTL_PM=9899, CTL_FRV=9898, }; enum { CTL_BUS_ISA=1 }; enum { INOTIFY_MAX_USER_INSTANCES=1, INOTIFY_MAX_USER_WATCHES=2, INOTIFY_MAX_QUEUED_EVENTS=3 }; enum { KERN_OSTYPE=1, KERN_OSRELEASE=2, KERN_OSREV=3, KERN_VERSION=4, KERN_SECUREMASK=5, KERN_PROF=6, KERN_NODENAME=7, KERN_DOMAINNAME=8, KERN_PANIC=15, KERN_REALROOTDEV=16, KERN_SPARC_REBOOT=21, KERN_CTLALTDEL=22, KERN_PRINTK=23, KERN_NAMETRANS=24, KERN_PPC_HTABRECLAIM=25, KERN_PPC_ZEROPAGED=26, KERN_PPC_POWERSAVE_NAP=27, KERN_MODPROBE=28, KERN_SG_BIG_BUFF=29, KERN_ACCT=30, KERN_PPC_L2CR=31, KERN_RTSIGNR=32, KERN_RTSIGMAX=33, KERN_SHMMAX=34, KERN_MSGMAX=35, KERN_MSGMNB=36, KERN_MSGPOOL=37, KERN_SYSRQ=38, KERN_MAX_THREADS=39, KERN_RANDOM=40, KERN_SHMALL=41, KERN_MSGMNI=42, KERN_SEM=43, KERN_SPARC_STOP_A=44, KERN_SHMMNI=45, KERN_OVERFLOWUID=46, KERN_OVERFLOWGID=47, KERN_SHMPATH=48, KERN_HOTPLUG=49, KERN_IEEE_EMULATION_WARNINGS=50, KERN_S390_USER_DEBUG_LOGGING=51, KERN_CORE_USES_PID=52, KERN_TAINTED=53, KERN_CADPID=54, KERN_PIDMAX=55, KERN_CORE_PATTERN=56, KERN_PANIC_ON_OOPS=57, KERN_HPPA_PWRSW=58, KERN_HPPA_UNALIGNED=59, KERN_PRINTK_RATELIMIT=60, KERN_PRINTK_RATELIMIT_BURST=61, KERN_PTY=62, KERN_NGROUPS_MAX=63, KERN_SPARC_SCONS_PWROFF=64, KERN_HZ_TIMER=65, KERN_UNKNOWN_NMI_PANIC=66, KERN_BOOTLOADER_TYPE=67, KERN_RANDOMIZE=68, KERN_SETUID_DUMPABLE=69, KERN_SPIN_RETRY=70, KERN_ACPI_VIDEO_FLAGS=71, KERN_IA64_UNALIGNED=72, KERN_COMPAT_LOG=73, KERN_MAX_LOCK_DEPTH=74, KERN_NMI_WATCHDOG=75, KERN_PANIC_ON_NMI=76, KERN_PANIC_ON_WARN=77, KERN_PANIC_PRINT=78, }; enum { VM_UNUSED1=1, VM_UNUSED2=2, VM_UNUSED3=3, VM_UNUSED4=4, VM_OVERCOMMIT_MEMORY=5, VM_UNUSED5=6, VM_UNUSED7=7, VM_UNUSED8=8, VM_UNUSED9=9, VM_PAGE_CLUSTER=10, VM_DIRTY_BACKGROUND=11, VM_DIRTY_RATIO=12, VM_DIRTY_WB_CS=13, VM_DIRTY_EXPIRE_CS=14, VM_NR_PDFLUSH_THREADS=15, VM_OVERCOMMIT_RATIO=16, VM_PAGEBUF=17, VM_HUGETLB_PAGES=18, VM_SWAPPINESS=19, VM_LOWMEM_RESERVE_RATIO=20, VM_MIN_FREE_KBYTES=21, VM_MAX_MAP_COUNT=22, VM_LAPTOP_MODE=23, VM_BLOCK_DUMP=24, VM_HUGETLB_GROUP=25, VM_VFS_CACHE_PRESSURE=26, VM_LEGACY_VA_LAYOUT=27, VM_SWAP_TOKEN_TIMEOUT=28, VM_DROP_PAGECACHE=29, VM_PERCPU_PAGELIST_FRACTION=30, VM_ZONE_RECLAIM_MODE=31, VM_MIN_UNMAPPED=32, VM_PANIC_ON_OOM=33, VM_VDSO_ENABLED=34, VM_MIN_SLAB=35, }; enum { NET_CORE=1, NET_ETHER=2, NET_802=3, NET_UNIX=4, NET_IPV4=5, NET_IPX=6, NET_ATALK=7, NET_NETROM=8, NET_AX25=9, NET_BRIDGE=10, NET_ROSE=11, NET_IPV6=12, NET_X25=13, NET_TR=14, NET_DECNET=15, NET_ECONET=16, NET_SCTP=17, NET_LLC=18, NET_NETFILTER=19, NET_DCCP=20, NET_IRDA=412, }; enum { RANDOM_POOLSIZE=1, RANDOM_ENTROPY_COUNT=2, RANDOM_READ_THRESH=3, RANDOM_WRITE_THRESH=4, RANDOM_BOOT_ID=5, RANDOM_UUID=6 }; enum { PTY_MAX=1, PTY_NR=2 }; enum { BUS_ISA_MEM_BASE=1, BUS_ISA_PORT_BASE=2, BUS_ISA_PORT_SHIFT=3 }; enum { NET_CORE_WMEM_MAX=1, NET_CORE_RMEM_MAX=2, NET_CORE_WMEM_DEFAULT=3, NET_CORE_RMEM_DEFAULT=4, NET_CORE_MAX_BACKLOG=6, NET_CORE_FASTROUTE=7, NET_CORE_MSG_COST=8, NET_CORE_MSG_BURST=9, NET_CORE_OPTMEM_MAX=10, NET_CORE_HOT_LIST_LENGTH=11, NET_CORE_DIVERT_VERSION=12, NET_CORE_NO_CONG_THRESH=13, NET_CORE_NO_CONG=14, NET_CORE_LO_CONG=15, NET_CORE_MOD_CONG=16, NET_CORE_DEV_WEIGHT=17, NET_CORE_SOMAXCONN=18, NET_CORE_BUDGET=19, NET_CORE_AEVENT_ETIME=20, NET_CORE_AEVENT_RSEQTH=21, NET_CORE_WARNINGS=22, }; enum { NET_UNIX_DESTROY_DELAY=1, NET_UNIX_DELETE_DELAY=2, NET_UNIX_MAX_DGRAM_QLEN=3, }; enum { NET_NF_CONNTRACK_MAX=1, NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2, NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3, NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4, NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5, NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6, NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7, NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8, NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9, NET_NF_CONNTRACK_UDP_TIMEOUT=10, NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11, NET_NF_CONNTRACK_ICMP_TIMEOUT=12, NET_NF_CONNTRACK_GENERIC_TIMEOUT=13, NET_NF_CONNTRACK_BUCKETS=14, NET_NF_CONNTRACK_LOG_INVALID=15, NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16, NET_NF_CONNTRACK_TCP_LOOSE=17, NET_NF_CONNTRACK_TCP_BE_LIBERAL=18, NET_NF_CONNTRACK_TCP_MAX_RETRANS=19, NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20, NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21, NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22, NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26, NET_NF_CONNTRACK_COUNT=27, NET_NF_CONNTRACK_ICMPV6_TIMEOUT=28, NET_NF_CONNTRACK_FRAG6_TIMEOUT=29, NET_NF_CONNTRACK_FRAG6_LOW_THRESH=30, NET_NF_CONNTRACK_FRAG6_HIGH_THRESH=31, NET_NF_CONNTRACK_CHECKSUM=32, }; enum { NET_IPV4_FORWARD=8, NET_IPV4_DYNADDR=9, NET_IPV4_CONF=16, NET_IPV4_NEIGH=17, NET_IPV4_ROUTE=18, NET_IPV4_FIB_HASH=19, NET_IPV4_NETFILTER=20, NET_IPV4_TCP_TIMESTAMPS=33, NET_IPV4_TCP_WINDOW_SCALING=34, NET_IPV4_TCP_SACK=35, NET_IPV4_TCP_RETRANS_COLLAPSE=36, NET_IPV4_DEFAULT_TTL=37, NET_IPV4_AUTOCONFIG=38, NET_IPV4_NO_PMTU_DISC=39, NET_IPV4_TCP_SYN_RETRIES=40, NET_IPV4_IPFRAG_HIGH_THRESH=41, NET_IPV4_IPFRAG_LOW_THRESH=42, NET_IPV4_IPFRAG_TIME=43, NET_IPV4_TCP_MAX_KA_PROBES=44, NET_IPV4_TCP_KEEPALIVE_TIME=45, NET_IPV4_TCP_KEEPALIVE_PROBES=46, NET_IPV4_TCP_RETRIES1=47, NET_IPV4_TCP_RETRIES2=48, NET_IPV4_TCP_FIN_TIMEOUT=49, NET_IPV4_IP_MASQ_DEBUG=50, NET_TCP_SYNCOOKIES=51, NET_TCP_STDURG=52, NET_TCP_RFC1337=53, NET_TCP_SYN_TAILDROP=54, NET_TCP_MAX_SYN_BACKLOG=55, NET_IPV4_LOCAL_PORT_RANGE=56, NET_IPV4_ICMP_ECHO_IGNORE_ALL=57, NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS=58, NET_IPV4_ICMP_SOURCEQUENCH_RATE=59, NET_IPV4_ICMP_DESTUNREACH_RATE=60, NET_IPV4_ICMP_TIMEEXCEED_RATE=61, NET_IPV4_ICMP_PARAMPROB_RATE=62, NET_IPV4_ICMP_ECHOREPLY_RATE=63, NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES=64, NET_IPV4_IGMP_MAX_MEMBERSHIPS=65, NET_TCP_TW_RECYCLE=66, NET_IPV4_ALWAYS_DEFRAG=67, NET_IPV4_TCP_KEEPALIVE_INTVL=68, NET_IPV4_INET_PEER_THRESHOLD=69, NET_IPV4_INET_PEER_MINTTL=70, NET_IPV4_INET_PEER_MAXTTL=71, NET_IPV4_INET_PEER_GC_MINTIME=72, NET_IPV4_INET_PEER_GC_MAXTIME=73, NET_TCP_ORPHAN_RETRIES=74, NET_TCP_ABORT_ON_OVERFLOW=75, NET_TCP_SYNACK_RETRIES=76, NET_TCP_MAX_ORPHANS=77, NET_TCP_MAX_TW_BUCKETS=78, NET_TCP_FACK=79, NET_TCP_REORDERING=80, NET_TCP_ECN=81, NET_TCP_DSACK=82, NET_TCP_MEM=83, NET_TCP_WMEM=84, NET_TCP_RMEM=85, NET_TCP_APP_WIN=86, NET_TCP_ADV_WIN_SCALE=87, NET_IPV4_NONLOCAL_BIND=88, NET_IPV4_ICMP_RATELIMIT=89, NET_IPV4_ICMP_RATEMASK=90, NET_TCP_TW_REUSE=91, NET_TCP_FRTO=92, NET_TCP_LOW_LATENCY=93, NET_IPV4_IPFRAG_SECRET_INTERVAL=94, NET_IPV4_IGMP_MAX_MSF=96, NET_TCP_NO_METRICS_SAVE=97, NET_TCP_DEFAULT_WIN_SCALE=105, NET_TCP_MODERATE_RCVBUF=106, NET_TCP_TSO_WIN_DIVISOR=107, NET_TCP_BIC_BETA=108, NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109, NET_TCP_CONG_CONTROL=110, NET_TCP_ABC=111, NET_IPV4_IPFRAG_MAX_DIST=112, NET_TCP_MTU_PROBING=113, NET_TCP_BASE_MSS=114, NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS=115, NET_TCP_DMA_COPYBREAK=116, NET_TCP_SLOW_START_AFTER_IDLE=117, NET_CIPSOV4_CACHE_ENABLE=118, NET_CIPSOV4_CACHE_BUCKET_SIZE=119, NET_CIPSOV4_RBM_OPTFMT=120, NET_CIPSOV4_RBM_STRICTVALID=121, NET_TCP_AVAIL_CONG_CONTROL=122, NET_TCP_ALLOWED_CONG_CONTROL=123, NET_TCP_MAX_SSTHRESH=124, NET_TCP_FRTO_RESPONSE=125, }; enum { NET_IPV4_ROUTE_FLUSH=1, NET_IPV4_ROUTE_MIN_DELAY=2, NET_IPV4_ROUTE_MAX_DELAY=3, NET_IPV4_ROUTE_GC_THRESH=4, NET_IPV4_ROUTE_MAX_SIZE=5, NET_IPV4_ROUTE_GC_MIN_INTERVAL=6, NET_IPV4_ROUTE_GC_TIMEOUT=7, NET_IPV4_ROUTE_GC_INTERVAL=8, NET_IPV4_ROUTE_REDIRECT_LOAD=9, NET_IPV4_ROUTE_REDIRECT_NUMBER=10, NET_IPV4_ROUTE_REDIRECT_SILENCE=11, NET_IPV4_ROUTE_ERROR_COST=12, NET_IPV4_ROUTE_ERROR_BURST=13, NET_IPV4_ROUTE_GC_ELASTICITY=14, NET_IPV4_ROUTE_MTU_EXPIRES=15, NET_IPV4_ROUTE_MIN_PMTU=16, NET_IPV4_ROUTE_MIN_ADVMSS=17, NET_IPV4_ROUTE_SECRET_INTERVAL=18, NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS=19, }; enum { NET_PROTO_CONF_ALL=-2, NET_PROTO_CONF_DEFAULT=-3 }; enum { NET_IPV4_CONF_FORWARDING=1, NET_IPV4_CONF_MC_FORWARDING=2, NET_IPV4_CONF_PROXY_ARP=3, NET_IPV4_CONF_ACCEPT_REDIRECTS=4, NET_IPV4_CONF_SECURE_REDIRECTS=5, NET_IPV4_CONF_SEND_REDIRECTS=6, NET_IPV4_CONF_SHARED_MEDIA=7, NET_IPV4_CONF_RP_FILTER=8, NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE=9, NET_IPV4_CONF_BOOTP_RELAY=10, NET_IPV4_CONF_LOG_MARTIANS=11, NET_IPV4_CONF_TAG=12, NET_IPV4_CONF_ARPFILTER=13, NET_IPV4_CONF_MEDIUM_ID=14, NET_IPV4_CONF_NOXFRM=15, NET_IPV4_CONF_NOPOLICY=16, NET_IPV4_CONF_FORCE_IGMP_VERSION=17, NET_IPV4_CONF_ARP_ANNOUNCE=18, NET_IPV4_CONF_ARP_IGNORE=19, NET_IPV4_CONF_PROMOTE_SECONDARIES=20, NET_IPV4_CONF_ARP_ACCEPT=21, NET_IPV4_CONF_ARP_NOTIFY=22, }; enum { NET_IPV4_NF_CONNTRACK_MAX=1, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9, NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT=10, NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11, NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT=12, NET_IPV4_NF_CONNTRACK_GENERIC_TIMEOUT=13, NET_IPV4_NF_CONNTRACK_BUCKETS=14, NET_IPV4_NF_CONNTRACK_LOG_INVALID=15, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16, NET_IPV4_NF_CONNTRACK_TCP_LOOSE=17, NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL=18, NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS=19, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26, NET_IPV4_NF_CONNTRACK_COUNT=27, NET_IPV4_NF_CONNTRACK_CHECKSUM=28, }; enum { NET_IPV6_CONF=16, NET_IPV6_NEIGH=17, NET_IPV6_ROUTE=18, NET_IPV6_ICMP=19, NET_IPV6_BINDV6ONLY=20, NET_IPV6_IP6FRAG_HIGH_THRESH=21, NET_IPV6_IP6FRAG_LOW_THRESH=22, NET_IPV6_IP6FRAG_TIME=23, NET_IPV6_IP6FRAG_SECRET_INTERVAL=24, NET_IPV6_MLD_MAX_MSF=25, }; enum { NET_IPV6_ROUTE_FLUSH=1, NET_IPV6_ROUTE_GC_THRESH=2, NET_IPV6_ROUTE_MAX_SIZE=3, NET_IPV6_ROUTE_GC_MIN_INTERVAL=4, NET_IPV6_ROUTE_GC_TIMEOUT=5, NET_IPV6_ROUTE_GC_INTERVAL=6, NET_IPV6_ROUTE_GC_ELASTICITY=7, NET_IPV6_ROUTE_MTU_EXPIRES=8, NET_IPV6_ROUTE_MIN_ADVMSS=9, NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS=10 }; enum { NET_IPV6_FORWARDING=1, NET_IPV6_HOP_LIMIT=2, NET_IPV6_MTU=3, NET_IPV6_ACCEPT_RA=4, NET_IPV6_ACCEPT_REDIRECTS=5, NET_IPV6_AUTOCONF=6, NET_IPV6_DAD_TRANSMITS=7, NET_IPV6_RTR_SOLICITS=8, NET_IPV6_RTR_SOLICIT_INTERVAL=9, NET_IPV6_RTR_SOLICIT_DELAY=10, NET_IPV6_USE_TEMPADDR=11, NET_IPV6_TEMP_VALID_LFT=12, NET_IPV6_TEMP_PREFERED_LFT=13, NET_IPV6_REGEN_MAX_RETRY=14, NET_IPV6_MAX_DESYNC_FACTOR=15, NET_IPV6_MAX_ADDRESSES=16, NET_IPV6_FORCE_MLD_VERSION=17, NET_IPV6_ACCEPT_RA_DEFRTR=18, NET_IPV6_ACCEPT_RA_PINFO=19, NET_IPV6_ACCEPT_RA_RTR_PREF=20, NET_IPV6_RTR_PROBE_INTERVAL=21, NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN=22, NET_IPV6_PROXY_NDP=23, NET_IPV6_ACCEPT_SOURCE_ROUTE=25, NET_IPV6_ACCEPT_RA_FROM_LOCAL=26, NET_IPV6_ACCEPT_RA_RT_INFO_MIN_PLEN=27, __NET_IPV6_MAX }; enum { NET_IPV6_ICMP_RATELIMIT = 1, NET_IPV6_ICMP_ECHO_IGNORE_ALL = 2 }; enum { NET_NEIGH_MCAST_SOLICIT=1, NET_NEIGH_UCAST_SOLICIT=2, NET_NEIGH_APP_SOLICIT=3, NET_NEIGH_RETRANS_TIME=4, NET_NEIGH_REACHABLE_TIME=5, NET_NEIGH_DELAY_PROBE_TIME=6, NET_NEIGH_GC_STALE_TIME=7, NET_NEIGH_UNRES_QLEN=8, NET_NEIGH_PROXY_QLEN=9, NET_NEIGH_ANYCAST_DELAY=10, NET_NEIGH_PROXY_DELAY=11, NET_NEIGH_LOCKTIME=12, NET_NEIGH_GC_INTERVAL=13, NET_NEIGH_GC_THRESH1=14, NET_NEIGH_GC_THRESH2=15, NET_NEIGH_GC_THRESH3=16, NET_NEIGH_RETRANS_TIME_MS=17, NET_NEIGH_REACHABLE_TIME_MS=18, }; enum { NET_DCCP_DEFAULT=1, }; enum { NET_IPX_PPROP_BROADCASTING=1, NET_IPX_FORWARDING=2 }; enum { NET_LLC2=1, NET_LLC_STATION=2, }; enum { NET_LLC2_TIMEOUT=1, }; enum { NET_LLC_STATION_ACK_TIMEOUT=1, }; enum { NET_LLC2_ACK_TIMEOUT=1, NET_LLC2_P_TIMEOUT=2, NET_LLC2_REJ_TIMEOUT=3, NET_LLC2_BUSY_TIMEOUT=4, }; enum { NET_ATALK_AARP_EXPIRY_TIME=1, NET_ATALK_AARP_TICK_TIME=2, NET_ATALK_AARP_RETRANSMIT_LIMIT=3, NET_ATALK_AARP_RESOLVE_TIME=4 }; enum { NET_NETROM_DEFAULT_PATH_QUALITY=1, NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER=2, NET_NETROM_NETWORK_TTL_INITIALISER=3, NET_NETROM_TRANSPORT_TIMEOUT=4, NET_NETROM_TRANSPORT_MAXIMUM_TRIES=5, NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY=6, NET_NETROM_TRANSPORT_BUSY_DELAY=7, NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE=8, NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT=9, NET_NETROM_ROUTING_CONTROL=10, NET_NETROM_LINK_FAILS_COUNT=11, NET_NETROM_RESET=12 }; enum { NET_AX25_IP_DEFAULT_MODE=1, NET_AX25_DEFAULT_MODE=2, NET_AX25_BACKOFF_TYPE=3, NET_AX25_CONNECT_MODE=4, NET_AX25_STANDARD_WINDOW=5, NET_AX25_EXTENDED_WINDOW=6, NET_AX25_T1_TIMEOUT=7, NET_AX25_T2_TIMEOUT=8, NET_AX25_T3_TIMEOUT=9, NET_AX25_IDLE_TIMEOUT=10, NET_AX25_N2=11, NET_AX25_PACLEN=12, NET_AX25_PROTOCOL=13, NET_AX25_DAMA_SLAVE_TIMEOUT=14 }; enum { NET_ROSE_RESTART_REQUEST_TIMEOUT=1, NET_ROSE_CALL_REQUEST_TIMEOUT=2, NET_ROSE_RESET_REQUEST_TIMEOUT=3, NET_ROSE_CLEAR_REQUEST_TIMEOUT=4, NET_ROSE_ACK_HOLD_BACK_TIMEOUT=5, NET_ROSE_ROUTING_CONTROL=6, NET_ROSE_LINK_FAIL_TIMEOUT=7, NET_ROSE_MAX_VCS=8, NET_ROSE_WINDOW_SIZE=9, NET_ROSE_NO_ACTIVITY_TIMEOUT=10 }; enum { NET_X25_RESTART_REQUEST_TIMEOUT=1, NET_X25_CALL_REQUEST_TIMEOUT=2, NET_X25_RESET_REQUEST_TIMEOUT=3, NET_X25_CLEAR_REQUEST_TIMEOUT=4, NET_X25_ACK_HOLD_BACK_TIMEOUT=5, NET_X25_FORWARD=6 }; enum { NET_TR_RIF_TIMEOUT=1 }; enum { NET_DECNET_NODE_TYPE = 1, NET_DECNET_NODE_ADDRESS = 2, NET_DECNET_NODE_NAME = 3, NET_DECNET_DEFAULT_DEVICE = 4, NET_DECNET_TIME_WAIT = 5, NET_DECNET_DN_COUNT = 6, NET_DECNET_DI_COUNT = 7, NET_DECNET_DR_COUNT = 8, NET_DECNET_DST_GC_INTERVAL = 9, NET_DECNET_CONF = 10, NET_DECNET_NO_FC_MAX_CWND = 11, NET_DECNET_MEM = 12, NET_DECNET_RMEM = 13, NET_DECNET_WMEM = 14, NET_DECNET_DEBUG_LEVEL = 255 }; enum { NET_DECNET_CONF_LOOPBACK = -2, NET_DECNET_CONF_DDCMP = -3, NET_DECNET_CONF_PPP = -4, NET_DECNET_CONF_X25 = -5, NET_DECNET_CONF_GRE = -6, NET_DECNET_CONF_ETHER = -7 }; enum { NET_DECNET_CONF_DEV_PRIORITY = 1, NET_DECNET_CONF_DEV_T1 = 2, NET_DECNET_CONF_DEV_T2 = 3, NET_DECNET_CONF_DEV_T3 = 4, NET_DECNET_CONF_DEV_FORWARDING = 5, NET_DECNET_CONF_DEV_BLKSIZE = 6, NET_DECNET_CONF_DEV_STATE = 7 }; enum { NET_SCTP_RTO_INITIAL = 1, NET_SCTP_RTO_MIN = 2, NET_SCTP_RTO_MAX = 3, NET_SCTP_RTO_ALPHA = 4, NET_SCTP_RTO_BETA = 5, NET_SCTP_VALID_COOKIE_LIFE = 6, NET_SCTP_ASSOCIATION_MAX_RETRANS = 7, NET_SCTP_PATH_MAX_RETRANS = 8, NET_SCTP_MAX_INIT_RETRANSMITS = 9, NET_SCTP_HB_INTERVAL = 10, NET_SCTP_PRESERVE_ENABLE = 11, NET_SCTP_MAX_BURST = 12, NET_SCTP_ADDIP_ENABLE = 13, NET_SCTP_PRSCTP_ENABLE = 14, NET_SCTP_SNDBUF_POLICY = 15, NET_SCTP_SACK_TIMEOUT = 16, NET_SCTP_RCVBUF_POLICY = 17, }; enum { NET_BRIDGE_NF_CALL_ARPTABLES = 1, NET_BRIDGE_NF_CALL_IPTABLES = 2, NET_BRIDGE_NF_CALL_IP6TABLES = 3, NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4, NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, }; enum { FS_NRINODE=1, FS_STATINODE=2, FS_MAXINODE=3, FS_NRDQUOT=4, FS_MAXDQUOT=5, FS_NRFILE=6, FS_MAXFILE=7, FS_DENTRY=8, FS_NRSUPER=9, FS_MAXSUPER=10, FS_OVERFLOWUID=11, FS_OVERFLOWGID=12, FS_LEASES=13, FS_DIR_NOTIFY=14, FS_LEASE_TIME=15, FS_DQSTATS=16, FS_XFS=17, FS_AIO_NR=18, FS_AIO_MAX_NR=19, FS_INOTIFY=20, FS_OCFS2=988, }; enum { FS_DQ_LOOKUPS = 1, FS_DQ_DROPS = 2, FS_DQ_READS = 3, FS_DQ_WRITES = 4, FS_DQ_CACHE_HITS = 5, FS_DQ_ALLOCATED = 6, FS_DQ_FREE = 7, FS_DQ_SYNCS = 8, FS_DQ_WARNINGS = 9, }; enum { DEV_CDROM=1, DEV_HWMON=2, DEV_PARPORT=3, DEV_RAID=4, DEV_MAC_HID=5, DEV_SCSI=6, DEV_IPMI=7, }; enum { DEV_CDROM_INFO=1, DEV_CDROM_AUTOCLOSE=2, DEV_CDROM_AUTOEJECT=3, DEV_CDROM_DEBUG=4, DEV_CDROM_LOCK=5, DEV_CDROM_CHECK_MEDIA=6 }; enum { DEV_PARPORT_DEFAULT=-3 }; enum { DEV_RAID_SPEED_LIMIT_MIN=1, DEV_RAID_SPEED_LIMIT_MAX=2 }; enum { DEV_PARPORT_DEFAULT_TIMESLICE=1, DEV_PARPORT_DEFAULT_SPINTIME=2 }; enum { DEV_PARPORT_SPINTIME=1, DEV_PARPORT_BASE_ADDR=2, DEV_PARPORT_IRQ=3, DEV_PARPORT_DMA=4, DEV_PARPORT_MODES=5, DEV_PARPORT_DEVICES=6, DEV_PARPORT_AUTOPROBE=16 }; enum { DEV_PARPORT_DEVICES_ACTIVE=-3, }; enum { DEV_PARPORT_DEVICE_TIMESLICE=1, }; enum { DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES=1, DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES=2, DEV_MAC_HID_MOUSE_BUTTON_EMULATION=3, DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE=4, DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE=5, DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES=6 }; enum { DEV_SCSI_LOGGING_LEVEL=1, }; enum { DEV_IPMI_POWEROFF_POWERCYCLE=1, }; enum { ABI_DEFHANDLER_COFF=1, ABI_DEFHANDLER_ELF=2, ABI_DEFHANDLER_LCALL7=3, ABI_DEFHANDLER_LIBCSO=4, ABI_TRACE=5, ABI_FAKE_UTSNAME=6, }; # 46 "/usr/include/sys/sysctl.h" 2 3 4 # 65 "/usr/include/sys/sysctl.h" 3 4 # 1 "/usr/include/bits/sysctl.h" 1 3 4 # 66 "/usr/include/sys/sysctl.h" 2 3 4 extern int sysctl (int *__name, int __nlen, void *__oldval, size_t *__oldlenp, void *__newval, size_t __newlen) __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); # 4 "/tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c" 2 stderr: In file included from /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c:3: /usr/include/sys/sysctl.h:21:2: warning: "The header is deprecated and will be removed." [-W#warnings] #warning "The header is deprecated and will be removed." ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: In file included from /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c:3: /usr/include/sys/sysctl.h:21:2: warning: "The header is deprecated and will be removed." [-W#warnings] #warning "The header is deprecated and will be removed." ^ 1 warning generated. : Preprocess output after filtering: In file included from /tmp/petsc-e_jrgt6k/config.packages.pthread/conftest.c:3: /usr/include/sys/sysctl.h:21:2: warning: "The header is deprecated and will be removed." [-W#warnings] #warning "The header is deprecated and will be removed." ^ 1 warning generated.: ============================================================================================= TESTING: checkVersion from config.packages.pthread(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.pthread(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.pthread took 0.765079 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.egads(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.egads(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.egads took 0.000926 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PTScotch(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.PTScotch(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.PTScotch took 0.000594 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mmg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mmg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mmg took 0.000511 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.parmmg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.parmmg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.parmmg took 0.000505 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Zoltan(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Zoltan(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Zoltan took 0.000502 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ADIOS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.ADIOS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ADIOS took 0.000561 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.openmp(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.openmp(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.openmp took 0.000535 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.viennacl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.viennacl(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.viennacl took 0.000571 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ColPack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.ColPack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ColPack took 0.000525 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ADOLC(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.ADOLC(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ADOLC took 0.000499 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.openblas(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.openblas(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.openblas took 0.000497 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.blis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.blis(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.blis took 0.000604 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.f2cblaslapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.f2cblaslapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.f2cblaslapack took 0.000570 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:494) ================================================================================ Checking for BLAS and LAPACK in User specified BLAS/LAPACK library ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:109) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so'] ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } void dummy(void) {_check_ddot_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" Checking for functions [dgetrs_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so'] ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(); static void _check_dgetrs_() { dgetrs_(); } int main() { _check_dgetrs_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(); static void _check_dgetrs_() { dgetrs_(); } void dummy(void) {_check_dgetrs_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" Checking for functions [dgeev_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so'] ['/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(); static void _check_dgeev_() { dgeev_(); } int main() { _check_dgeev_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(); static void _check_dgeev_() { dgeev_(); } void dummy(void) {_check_dgeev_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" Found Fortran mangling on BLAS/LAPACK which is underscore Defined "BLASLAPACK_UNDERSCORE" to "1" ============================================================================================= TESTING: checkMKL from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:566) Check for Intel MKL library Checking for functions [mkl_set_num_threads] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] [] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_set_num_threads(); static void _check_mkl_set_num_threads() { mkl_set_num_threads(); } int main() { _check_mkl_set_num_threads();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: mkl_set_num_threads >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_mkl_set_num_threads) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: mkl_set_num_threads >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_mkl_set_num_threads) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: mkl_set_num_threads >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_mkl_set_num_threads) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkESSL from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:612) Check for the IBM ESSL library Checking for functions [iessl] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] [] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char iessl(); static void _check_iessl() { iessl(); } int main() { _check_iessl();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: iessl >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_iessl) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: iessl >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_iessl) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: iessl >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_iessl) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkPESSL from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:632) Check for the IBM PESSL library - and error out - if used instead of ESSL Checking for functions [ipessl] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] [] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ipessl(); static void _check_ipessl() { ipessl(); } int main() { _check_ipessl();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: undefined symbol: ipessl >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ipessl) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: undefined symbol: ipessl >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ipessl) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: undefined symbol: ipessl >>> referenced by conftest.c >>> /tmp/petsc-e_jrgt6k/config.libraries/conftest.o:(_check_ipessl) clang-13: error: linker command failed with exit code 1 (use -v to see invocation): ============================================================================================= TESTING: checkMissing from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:657) Check for missing LAPACK routines Checking for functions [dgelss_ dgerfs_ dgges_ dhgeqz_ dhseqr_ dorgqr_ dormqr_ dstebz_ dstegr_ dstein_ dsteqr_ dsytri_ dtgsen_ dtrsen_ dtrtrs_ dgeqp3_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so'] ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgelss_(); static void _check_dgelss_() { dgelss_(); } char dgerfs_(); static void _check_dgerfs_() { dgerfs_(); } char dgges_(); static void _check_dgges_() { dgges_(); } char dhgeqz_(); static void _check_dhgeqz_() { dhgeqz_(); } char dhseqr_(); static void _check_dhseqr_() { dhseqr_(); } char dorgqr_(); static void _check_dorgqr_() { dorgqr_(); } char dormqr_(); static void _check_dormqr_() { dormqr_(); } char dstebz_(); static void _check_dstebz_() { dstebz_(); } char dstegr_(); static void _check_dstegr_() { dstegr_(); } char dstein_(); static void _check_dstein_() { dstein_(); } char dsteqr_(); static void _check_dsteqr_() { dsteqr_(); } char dsytri_(); static void _check_dsytri_() { dsytri_(); } char dtgsen_(); static void _check_dtgsen_() { dtgsen_(); } char dtrsen_(); static void _check_dtrsen_() { dtrsen_(); } char dtrtrs_(); static void _check_dtrtrs_() { dtrtrs_(); } char dgeqp3_(); static void _check_dgeqp3_() { dgeqp3_(); } int main() { _check_dgelss_(); _check_dgerfs_(); _check_dgges_(); _check_dhgeqz_(); _check_dhseqr_(); _check_dorgqr_(); _check_dormqr_(); _check_dstebz_(); _check_dstegr_(); _check_dstein_(); _check_dsteqr_(); _check_dsytri_(); _check_dtgsen_(); _check_dtrsen_(); _check_dtrtrs_(); _check_dgeqp3_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgelss_(); static void _check_dgelss_() { dgelss_(); } char dgerfs_(); static void _check_dgerfs_() { dgerfs_(); } char dgges_(); static void _check_dgges_() { dgges_(); } char dhgeqz_(); static void _check_dhgeqz_() { dhgeqz_(); } char dhseqr_(); static void _check_dhseqr_() { dhseqr_(); } char dorgqr_(); static void _check_dorgqr_() { dorgqr_(); } char dormqr_(); static void _check_dormqr_() { dormqr_(); } char dstebz_(); static void _check_dstebz_() { dstebz_(); } char dstegr_(); static void _check_dstegr_() { dstegr_(); } char dstein_(); static void _check_dstein_() { dstein_(); } char dsteqr_(); static void _check_dsteqr_() { dsteqr_(); } char dsytri_(); static void _check_dsytri_() { dsytri_(); } char dtgsen_(); static void _check_dtgsen_() { dtgsen_(); } char dtrsen_(); static void _check_dtrsen_() { dtrsen_(); } char dtrtrs_(); static void _check_dtrtrs_() { dtrtrs_(); } char dgeqp3_(); static void _check_dgeqp3_() { dgeqp3_(); } void dummy(void) {_check_dgelss_(); _check_dgerfs_(); _check_dgges_(); _check_dhgeqz_(); _check_dhseqr_(); _check_dorgqr_(); _check_dormqr_(); _check_dstebz_(); _check_dstegr_(); _check_dstein_(); _check_dsteqr_(); _check_dsytri_(); _check_dtgsen_(); _check_dtrsen_(); _check_dtrtrs_(); _check_dgeqp3_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" ============================================================================================= TESTING: checklsame from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:673) Do the BLAS/LAPACK libraries have a valid lsame() function with correct binding. Checking for functions [lsame_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] [] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(); static void _check_lsame_() { lsame_(); } int main() { _check_lsame_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(); static void _check_lsame_() { lsame_(); } void dummy(void) {_check_lsame_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" Defined "HAVE_LIBHIPSPARSE" to "1" Defined "HAVE_LIBHIPBLAS" to "1" Defined "HAVE_LIBROCSPARSE" to "1" Defined "HAVE_LIBROCSOLVER" to "1" Defined "HAVE_LIBROCBLAS" to "1" Defined "HAVE_LIBROCRAND" to "1" Defined "HAVE_LIBAMDHIP64" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBSTDC__" to "1" Defined "HAVE_LIBDL" to "1" Defined "HAVE_LIBMPIFORT_AMD" to "1" Defined "HAVE_LIBMPI_AMD" to "1" Defined "HAVE_LIBSCI_AMD_MPI" to "1" Defined "HAVE_LIBSCI_AMD" to "1" Defined "HAVE_LIBDSMML" to "1" Defined "HAVE_LIBFLANGMAIN" to "1" Defined "HAVE_LIBPGMATH" to "1" Defined "HAVE_LIBFLANG" to "1" Defined "HAVE_LIBFLANGRTI" to "1" Defined "HAVE_LIBOMPSTUB" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBRT" to "1" Defined "HAVE_LIBPTHREAD" to "1" Defined "HAVE_LIBGCC_S" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.setCompilers/libconftest.so -Wl,-z,notext -shared -fPIC /tmp/petsc-e_jrgt6k/config.setCompilers/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lsci_amd -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -lgcc_s -lstdc++ -ldl ============================================================================================= TESTING: checkRuntimeIssues from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/BlasLapack.py:732) Determines if BLAS/LAPACK routines use 32 or 64 bit integers ============================================================================================= ***** WARNING: Cannot determine if BLAS/LAPACK uses 32 bit or 64 bit integers in batch-mode! Assuming 32 bit integers. Run with --known-64-bit-blas-indices if you know they are 64 bit. Run with --known-64-bit-blas-indices=0 to remove this warning message ***** ============================================================================================= In batch mode with unknown size of BLAS/LAPACK defaulting to 32 bit Checking if sdot() returns a float or a double ============================================================================================= ***** WARNING: Cannot determine if BLAS sdot() returns a float or a double in batch-mode! Assuming float. Run with --known-sdot-returns-double=1 if you know it returns a double (very unlikely). Run with --known-sdor-returns-double=0 to remove this warning message ***** ============================================================================================= Checking if snrm() returns a float or a double ============================================================================================= ***** WARNING: Cannot determine if BLAS snrm2() returns a float or a double in batch-mode! Assuming float. Run with --known-snrm2-returns-double=1 if you know it returns a double (very unlikely). Run with --known-snrm2-returns-double=0 to remove this warning message ***** ============================================================================================= ============================================================================================= TESTING: checkVersion from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.BlasLapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.BlasLapack took 3.421607 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sundials2(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.sundials2(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.sundials2 took 0.000574 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.spai(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/spai.py:53) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.spai(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.spai took 0.000702 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.raja(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.raja(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.raja took 0.000563 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pARMS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.pARMS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.pARMS took 0.000523 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.p4est(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.p4est(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.p4est took 0.000529 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_sparse_optimize(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mkl_sparse_optimize(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.mkl_sparse_optimize(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/mkl_sparse_optimize.py:48) ============================================================================================= TESTING: checkVersion from config.packages.mkl_sparse_optimize(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.mkl_sparse_optimize(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.mkl_sparse_optimize took 0.000789 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_sparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mkl_sparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.mkl_sparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/mkl_sparse.py:21) ============================================================================================= TESTING: checkVersion from config.packages.mkl_sparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.mkl_sparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.mkl_sparse took 0.000787 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_cpardiso(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/mkl_cpardiso.py:20) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mkl_cpardiso(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mkl_cpardiso took 0.000588 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.kokkos(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.kokkos(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.kokkos took 0.000550 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.kokkos-kernels(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.kokkos-kernels(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.kokkos-kernels took 0.000523 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.htool(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.htool(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.htool took 0.000518 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.magma(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.magma(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.magma took 0.000526 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.kblas(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.kblas(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.kblas took 0.000516 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.h2opus(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.h2opus(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.h2opus took 0.000499 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.fftw(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.fftw(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.fftw took 0.000517 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.elemental(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.elemental(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.elemental took 0.000541 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ml(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.ml(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.ml took 0.000526 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_pardiso(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/mkl_pardiso.py:21) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mkl_pardiso(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mkl_pardiso took 0.000576 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SuperLU_DIST(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.SuperLU_DIST(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.SuperLU_DIST(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/SuperLU_DIST.py:84) ================================================================================== Checking for a functional SuperLU_DIST Checking for library in User specified SUPERLU_DIST libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib/libsuperlu_dist.so'] Contents of /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve: ['include', 'lib', '.spack'] Contents /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib: ['libsuperlu_dist_fortran.so.7', 'EXAMPLE', 'libsuperlu_dist.so.7.2.0', 'libsuperlu_dist.so.7', 'pkgconfig', 'libsuperlu_dist.so', 'libsuperlu_dist_fortran.so', 'libsuperlu_dist_fortran.so.7.2.0', 'libsuperlu_dist.a'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [set_default_options_dist] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib/libsuperlu_dist.so'] ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so', '/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so', '/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib for first library:libsuperlu_dist.s Files in directory:['libsuperlu_dist_fortran.so.7', 'EXAMPLE', 'libsuperlu_dist.so.7.2.0', 'libsuperlu_dist.so.7', 'pkgconfig', 'libsuperlu_dist.so', 'libsuperlu_dist_fortran.so', 'libsuperlu_dist_fortran.so.7.2.0', 'libsuperlu_dist.a'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char set_default_options_dist(); static void _check_set_default_options_dist() { set_default_options_dist(); } int main() { _check_set_default_options_dist();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -lsuperlu_dist -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char set_default_options_dist(); static void _check_set_default_options_dist() { set_default_options_dist(); } void dummy(void) {_check_set_default_options_dist();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -lsuperlu_dist -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl Defined "HAVE_LIBSUPERLU_DIST" to "1" Checking for optional headers [] in User specified SUPERLU_DIST libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include'] Found header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include'] Checking for headers ['superlu_ddefs.h'] in User specified SUPERLU_DIST libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['superlu_ddefs.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include'] Checking include with compiler flags var CXXPPFLAGS ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include', '/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include', '/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include', '/opt/rocm-4.5.0/hip/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['superlu_ddefs.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include'] ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -fPIC -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include "superlu_ddefs.h" int main() { #if defined(_LONGINT) #error "longint is defined" #endif ; return 0; } ============================================================================================= TESTING: checkVersion from config.packages.SuperLU_DIST(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "superlu_ddefs.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(SUPERLU_DIST_MAJOR_VERSION.SUPERLU_DIST_MINOR_VERSION.SUPERLU_DIST_PATCH_VERSION) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST/conftest.cc Found version string: }char*ver=petscpkgver(7.2.0) For superlu_dist need 6.3.0 <= 7.2.0 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.SuperLU_DIST(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.SuperLU_DIST took 0.790024 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SuperLU(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.SuperLU(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.SuperLU took 0.000851 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PaStiX(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.PaStiX(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.PaStiX took 0.000550 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.scalapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.scalapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.scalapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:937) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional scalapack Checking for library in User specified SCALAPACK libraries: ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [pssytrd_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so'] ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pssytrd_(); static void _check_pssytrd_() { pssytrd_(); } int main() { _check_pssytrd_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pssytrd_(); static void _check_pssytrd_() { pssytrd_(); } void dummy(void) {_check_pssytrd_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" Checking for optional headers [] in User specified SCALAPACK libraries: [] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/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 [] in User specified SCALAPACK libraries: [] ============================================================================================= TESTING: checkVersion from config.packages.scalapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.scalapack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.scalapack took 0.495805 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.strumpack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/strumpack.py:65) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.strumpack(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.strumpack took 0.000862 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MUMPS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MUMPS.py:59) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MUMPS(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.MUMPS took 0.000785 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MOAB(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.MOAB(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.MOAB took 0.000556 seconds Executing: uname -s stdout: Linux ============================================================================================= TESTING: consistencyChecks from config.packages.SuiteSparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/SuiteSparse.py:176) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.SuiteSparse(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.SuiteSparse took 0.006101 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Chombo(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/Chombo.py:130) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Chombo(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Chombo took 0.000682 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hypre(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/hypre.py:176) Checking for functions [dgels_] in library ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s'] [] Checking directory of requested libraries:/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib for first library:libsci_amd.s Files in directory:['libsci_amd.a', 'libsci_amd.so', 'libsci_amd.so.5', 'libsci_amd.so.5.0', 'libsci_amd_mp.a', 'libsci_amd_mp.so', 'libsci_amd_mp.so.5', 'libsci_amd_mp.so.5.0', 'libsci_amd_mpi.a', 'libsci_amd_mpi.so', 'libsci_amd_mpi.so.5', 'libsci_amd_mpi.so.5.0', 'libsci_amd_mpi_mp.a', 'libsci_amd_mpi_mp.so', 'libsci_amd_mpi_mp.so.5', 'libsci_amd_mpi_mp.so.5.0', 'pkgconfig'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgels_(); static void _check_dgels_() { dgels_(); } int main() { _check_dgels_();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgels_(); static void _check_dgels_() { dgels_(); } void dummy(void) {_check_dgels_();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -lstdc++ -ldl Defined "HAVE_LIBSCI_AMD" to "1" Defined "HAVE_LIBHIPSPARSE" to "1" Defined "HAVE_LIBHIPBLAS" to "1" Defined "HAVE_LIBROCSPARSE" to "1" Defined "HAVE_LIBROCSOLVER" to "1" Defined "HAVE_LIBROCBLAS" to "1" Defined "HAVE_LIBROCRAND" to "1" Defined "HAVE_LIBAMDHIP64" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBSTDC__" to "1" Defined "HAVE_LIBDL" to "1" Defined "HAVE_LIBMPIFORT_AMD" to "1" Defined "HAVE_LIBMPI_AMD" to "1" Defined "HAVE_LIBSCI_AMD_MPI" to "1" Defined "HAVE_LIBSCI_AMD" to "1" Defined "HAVE_LIBDSMML" to "1" Defined "HAVE_LIBFLANGMAIN" to "1" Defined "HAVE_LIBPGMATH" to "1" Defined "HAVE_LIBFLANG" to "1" Defined "HAVE_LIBFLANGRTI" to "1" Defined "HAVE_LIBOMPSTUB" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBRT" to "1" Defined "HAVE_LIBPTHREAD" to "1" Defined "HAVE_LIBGCC_S" to "1" Found dgels() in Lapack library as needed by hypre ============================================================================================= TESTING: checkDependencies from config.packages.hypre(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.hypre(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/hypre.py:184) ================================================================================== Checking for a functional hypre Checking for library in User specified HYPRE libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib/libHYPRE.so'] Contents of /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad: ['include', 'lib', '.spack'] Contents /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib: ['libHYPRE.so', 'libHYPRE-2.24.0.so'] ============================================================================================= TESTING: check from config.libraries(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [HYPRE_IJMatrixCreate] in library ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib/libHYPRE.so'] ['/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so', 'libm.a', '-Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib', '-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib', '-Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-L/opt/cray/pe/dsmml/0.2.2/dsmml/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7', '-L/usr/lib64/gcc/x86_64-suse-linux/7', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-L/opt/rocm-4.5.0/llvm/lib', '-lstdc++', '-ldl', '-lmpifort_amd', '-lmpi_amd', '-lsci_amd_mpi', '-lsci_amd', '-ldsmml', '-lflangmain', '-lpgmath', '-lflang', '-lflangrti', '-lompstub', '-lm', '-lrt', '-lpthread', '-Wl,-rpath,/opt/rocm-4.5.0/llvm/lib', '-lgcc_s', '/opt/rocm-4.5.0/hip/lib/libhipsparse.a', 'libhipblas.a', 'librocsparse.a', 'librocsolver.a', 'librocblas.a', 'librocrand.a', 'libamdhip64.a'] Checking directory of requested libraries:/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib for first library:libHYPRE.s Files in directory:['libHYPRE.so', 'libHYPRE-2.24.0.so'] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char HYPRE_IJMatrixCreate(); static void _check_HYPRE_IJMatrixCreate() { HYPRE_IJMatrixCreate(); } int main() { _check_HYPRE_IJMatrixCreate();; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/config.libraries/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -lHYPRE -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char HYPRE_IJMatrixCreate(); static void _check_HYPRE_IJMatrixCreate() { HYPRE_IJMatrixCreate(); } void dummy(void) {_check_HYPRE_IJMatrixCreate();} ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -c -o /tmp/petsc-e_jrgt6k/config.compilers/conftest.o -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilersFortran -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.libraries -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -o /tmp/petsc-e_jrgt6k/config.compilers/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/config.compilers/conftest.o /tmp/petsc-e_jrgt6k/config.compilers/confc.o -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -lHYPRE -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd -lm -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -lgcc_s -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl Defined "HAVE_LIBHYPRE" to "1" Checking for optional headers [] in User specified HYPRE libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include'] Found header files [] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include'] Checking for headers ['HYPRE.h'] in User specified HYPRE libraries: ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include'] ============================================================================================= TESTING: checkInclude from config.headers(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['HYPRE.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include'] Checking include with compiler flags var CPPFLAGS ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include', '/opt/rocm-4.5.0/hip/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.headers -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/opt/rocm-4.5.0/hip/include /tmp/petsc-e_jrgt6k/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['HYPRE.h'] in ['/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include'] ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -fPIC -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include "HYPRE_config.h" int main() { #if defined(HYPRE_BIGINT) #error HYPRE_BIGINT defined! #endif #if defined(HYPRE_MIXEDINT) #error HYPRE_MIXEDINT defined! #endif ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -fPIC -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include "HYPRE_config.h" int main() { #if defined(HYPRE_MIXEDINT) #error HYPRE_MIXEDINT defined! #endif ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -fPIC -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include "HYPRE_config.h" int main() { #if defined(HYPRE_USING_GPU) #error HYPRE_USING_GPU defined! #endif ; return 0; } ============================================================================================= TESTING: checkVersion from config.packages.hypre(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1077) 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 "HYPRE_config.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(HYPRE_RELEASE_VERSION) ")"; Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.zlib -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.packages.parmetis -I/tmp/petsc-e_jrgt6k/config.packages.hdf5 -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/opt/rocm-4.5.0/hip/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include /tmp/petsc-e_jrgt6k/config.packages.hypre/conftest.c Found version string: char*ver=petscpkgver(2.24.0) For hypre need 2.14 <= 2.24.0 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.hypre(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1002) By default we don't care about checking if the library is shared child config.packages.hypre took 1.310650 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Trilinos(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.Trilinos(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.Trilinos took 0.000887 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.xSDKTrilinos(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.xSDKTrilinos(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.xSDKTrilinos took 0.000534 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mstk(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.mstk(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1006) Called if --with-packagename=0; does nothing by default child config.packages.mstk took 0.000523 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.slepc(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.slepc(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/slepc.py:97) Defined make rule "slepc-build" with dependencies "" and code [] Defined make rule "slepc-install" with dependencies "" and code [] child config.packages.slepc took 0.000776 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hpddm(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.hpddm(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/hpddm.py:109) Defined make rule "hpddm-build" with dependencies "" and code [] Defined make rule "hpddm-install" with dependencies "" and code [] child config.packages.hpddm took 0.000718 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.bamg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.bamg(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/bamg.py:86) Defined make rule "bamg-build" with dependencies "" and code [] Defined make rule "bamg-install" with dependencies "" and code [] child config.packages.bamg took 0.000725 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MFEM(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.MFEM(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/MFEM.py:217) Defined make rule "mfem-build" with dependencies "" and code [] Defined make rule "mfem-install" with dependencies "" and code [] child config.packages.MFEM took 0.000720 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.AMReX(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/package.py:1010) 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.AMReX(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/BuildSystem/config/packages/AMReX.py:151) Defined make rule "amrex-build" with dependencies "" and code [] Defined make rule "amrex-install" with dependencies "" and code [] child config.packages.AMReX took 0.000731 seconds ============================================================================================= TESTING: configureRTLDDefault from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:709) ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c:4:15: error: use of undeclared identifier 'RTLD_DEFAULT' void *ptr = RTLD_DEFAULT; ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include void *ptr = RTLD_DEFAULT; int main() { ; return 0; } ============================================================================================= TESTING: configurePrefetch from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:527) Sees if there are any prefetch functions supported Executing: uname -s stdout: Linux ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *v = 0;_mm_prefetch((const char*)v,_MM_HINT_NTA); ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl Defined "HAVE_XMMINTRIN_H" to "1" Defined "Prefetch(a,b,c)" to "_mm_prefetch((const char*)(a),(c))" Defined "PREFETCH_HINT_NTA" to "_MM_HINT_NTA" Defined "PREFETCH_HINT_T0" to "_MM_HINT_T0" Defined "PREFETCH_HINT_T1" to "_MM_HINT_T1" Defined "PREFETCH_HINT_T2" to "_MM_HINT_T2" ============================================================================================= TESTING: configureUnused from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:595) Sees if __attribute((unused)) is supported ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" __attribute((unused)) static int myfunc(__attribute((unused)) void *name){ return 1;} int main() { int i = 0; int j = myfunc(&i); typedef void* atype; __attribute((unused)) atype a; ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl Defined "UNUSED" to "__attribute((unused))" ============================================================================================= TESTING: configureDeprecated from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:613) Check if __attribute((deprecated)) is supported ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" __attribute((deprecated)) static int myfunc(void) { return 1;} int main() { ; return 0; } Defined "DEPRECATED_FUNCTION(why)" to "__attribute((deprecated))" Defined "DEPRECATED_TYPEDEF(why)" to "__attribute((deprecated))" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" enum E {oldval __attribute((deprecated)), newval }; int main() { ; return 0; } Defined "DEPRECATED_ENUM(why)" to "__attribute((deprecated))" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define TEST _Pragma("GCC warning "Testing _Pragma"") value int main() { ; return 0; } Defined "DEPRECATED_MACRO(why)" to "_Pragma(why)" ============================================================================================= TESTING: configureIsatty from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:607) Check if the Unix C function isatty() works correctly Actually just assumes it does not work correctly on batch systems ============================================================================================= TESTING: configureExpect from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:662) Sees if the __builtin_expect directive is supported ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__builtin_expect(0,1)) return 1;; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl Defined "HAVE_BUILTIN_EXPECT" to "1" ============================================================================================= TESTING: configureAlign from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:646) Check if __attribute(aligned) is supported ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" struct mystruct {int myint;} __attribute((aligned(16))); char assert_aligned[(sizeof(struct mystruct)==16)*2-1]; int main() { ; return 0; } Defined "ATTRIBUTEALIGNED(size)" to "__attribute((aligned(size)))" Defined "HAVE_ATTRIBUTEALIGNED" to "1" ============================================================================================= TESTING: configureFunctionName from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:669) Sees if the compiler supports __func__ or a variant. ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl Defined "FUNCTION_NAME_C" to "__func__" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -std=c++11 -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl Defined "FUNCTION_NAME_CXX" to "__func__" ============================================================================================= TESTING: configureIntptrt from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:687) Determine what to use for uintptr_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int x; uintptr_t i = (uintptr_t)&x;; return 0; } Defined "UINTPTR_T" to "uintptr_t" ============================================================================================= TESTING: configureSolaris from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:714) Solaris specific stuff ============================================================================================= TESTING: configureLinux from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:736) Linux specific stuff Defined "HAVE_DOUBLE_ALIGN_MALLOC" to "1" ============================================================================================= TESTING: configureDarwin from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:727) Log brew configuration for Apple systems Executing: ['brew', 'config'] ============================================================================================= TESTING: configureWin32 from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:742) Win32 non-cygwin specific stuff Checking for functions [GetComputerName] in library ['Kernel32.lib'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName() { GetComputerName(NULL,NULL);; } int main() { _check_GetComputerName();; return 0; } Compile failed inside link Checking for functions [GetComputerName] in library ['kernel32'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName() { GetComputerName(NULL,NULL);; } int main() { _check_GetComputerName();; return 0; } Compile failed inside link Checking for functions [GetUserName] in library ['Advapi32.lib'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName() { GetUserName(NULL,NULL);; } int main() { _check_GetUserName();; return 0; } Compile failed inside link Checking for functions [GetUserName] in library ['advapi32'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName() { GetUserName(NULL,NULL);; } int main() { _check_GetUserName();; return 0; } Compile failed inside link Checking for functions [GetDC] in library ['User32.lib'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC() { GetDC(0);; } int main() { _check_GetDC();; return 0; } Compile failed inside link Checking for functions [GetDC] in library ['user32'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC() { GetDC(0);; } int main() { _check_GetDC();; return 0; } Compile failed inside link Checking for functions [CreateCompatibleDC] in library ['Gdi32.lib'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC() { CreateCompatibleDC(0);; } int main() { _check_CreateCompatibleDC();; return 0; } Compile failed inside link Checking for functions [CreateCompatibleDC] in library ['gdi32'] [] ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.libraries/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/config.libraries/conftest.c:4:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC() { CreateCompatibleDC(0);; } int main() { _check_CreateCompatibleDC();; return 0; } Compile failed inside link Checking for type: int32_t ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/config.types/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a;; return 0; } int32_t found ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { uid_t u; ; return 0; } ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(PETSC_HAVE_UNISTD_H) #include #endif int main() { int a=R_OK; ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int a=0; if (S_ISDIR(a)){} ; return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c:3:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { LARGE_INTEGER a; DWORD b=a.u.HighPart; ; return 0; } ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c:3:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int flags = O_BINARY;; return 0; } Defined "REPLACE_DIR_SEPARATOR" to "'\\'" Defined "DIR_SEPARATOR" to "'/'" Defined "DIR" to ""/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7"" Defined make macro "wPETSC_DIR" to "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7" Defined "ARCH" to """" ============================================================================================= TESTING: configureCygwinBrokenPipe from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:820) Cygwin version <= 1.7.18 had issues with pipes and long commands invoked from gnu-make http://cygwin.com/ml/cygwin/2013-05/msg00340.html Executing: uname -s stdout: Linux ============================================================================================= TESTING: configureDefaultArch from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:836) ============================================================================================= TESTING: configureScript from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:853) Output a script in the conf directory which will reproduce the configuration ============================================================================================= TESTING: configureInstall from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:892) Setup the directories for installation Defined make rule "print_mesg_after_build" with dependencies "" and code ['-@echo "========================================="', '-@echo "Now to install the libraries do:"', '-@echo "${MAKE_USER} PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} install"', '-@echo "========================================="'] ============================================================================================= TESTING: configureGCOV from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:908) ============================================================================================= TESTING: configureAtoll from PETSc.Configure(/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/config/PETSc/Configure.py:590) Checks if atoll exists ===== Checking linker Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { long v = atoll("25"); return 0; } Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest -Wl,-z,notext -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -lstdc++ -ldl Defined "HAVE_ATOLL" to "1" ============================================================================================= Executing: CC -VV Defined "USE_SOCKET_VIEWER" to "1" ===== Checking compiler Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -c -o /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.o -I/tmp/petsc-e_jrgt6k/config.compilerFlags -I/tmp/petsc-e_jrgt6k/config.utilities.closure -I/tmp/petsc-e_jrgt6k/config.headers -I/tmp/petsc-e_jrgt6k/config.utilities.cacheDetails -I/tmp/petsc-e_jrgt6k/config.functions -I/tmp/petsc-e_jrgt6k/config.utilities.featureTestMacros -I/tmp/petsc-e_jrgt6k/config.utilities.missing -I/tmp/petsc-e_jrgt6k/PETSc.options.sharedLibraries -I/tmp/petsc-e_jrgt6k/PETSc.options.scalarTypes -I/tmp/petsc-e_jrgt6k/config.packages.MPI -I/tmp/petsc-e_jrgt6k/config.packages.metis -I/tmp/petsc-e_jrgt6k/config.setCompilers -I/tmp/petsc-e_jrgt6k/config.packages.pthread -I/tmp/petsc-e_jrgt6k/config.packages.SuperLU_DIST -I/tmp/petsc-e_jrgt6k/config.compilers -I/tmp/petsc-e_jrgt6k/config.packages.hypre -I/tmp/petsc-e_jrgt6k/config.libraries -I/tmp/petsc-e_jrgt6k/config.types -I/tmp/petsc-e_jrgt6k/PETSc.Configure -fPIC /tmp/petsc-e_jrgt6k/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { setsockopt(0,SOL_SOCKET,SO_REUSEADDR,0,0); return 0; } Defined "HAVE_SO_REUSEADDR" to "1" ============================================================================================= Executing: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -show stdout: /autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd Defined "MPICC_SHOW" to ""/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd"" Defined make macro "CC_FLAGS" to " -fPIC " Defined "HAVE_CXX" to "1" Defined make macro "CXXPP_FLAGS" to "" Defined make macro "CXX_FLAGS" to " -std=c++11 -fPIC " Defined make macro "CXX_LINKER" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx" Defined make macro "CXX_LINKER_FLAGS" to "-Wl,-z,notext " Defined make macro "CPP_FLAGS" to " " Defined make macro "PCC" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Defined make macro "PCC_FLAGS" to " -fPIC " Defined make macro "CC_SUFFIX" to "o" Defined make macro "PCC_LINKER" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Defined make macro "PCC_LINKER_FLAGS" to "-Wl,-z,notext -fPIC" Defined make macro "CC_LINKER_SUFFIX" to "" Defined "HAVE_FORTRAN" to "1" Defined make macro "FPP_FLAGS" to "" Defined make macro "FC_FLAGS" to "-fPIC " Defined make macro "FC_SUFFIX" to "o" Defined make macro "FC_LINKER" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90" Defined make macro "FC_LINKER_FLAGS" to "-Wl,-z,notext -fPIC " Defined make macro "FC_MODULE_FLAG" to "-I" Defined make macro "FC_MODULE_OUTPUT_FLAG" to "-module " Defined make macro "HIPC_FLAGS" to " -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 --amdgpu-target=gfx90a " Defined make macro "HIPPP_FLAGS" to "" Defined make macro "SL_LINKER" to "/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc" Defined make macro "SL_LINKER_FLAGS" to "${PCC_LINKER_FLAGS}" Defined make macro "SL_LINKER_SUFFIX" to "so" Defined "SLSUFFIX" to ""so"" Defined make macro "SL_LINKER_LIBS" to "${PETSC_EXTERNAL_LIB_BASIC}" Defined make macro "PETSC_LANGUAGE" to "CONLY" Defined make macro "PETSC_SCALAR" to "real" Defined make macro "PETSC_PRECISION" to "double" Defined make macro "PETSC_WITH_BATCH" to "1" ============================================================================================= Defined "HAVE_HYPRE" to "1" Defined make macro "HYPRE_LIB" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -lHYPRE" Defined make macro "HYPRE_INCLUDE" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include" Defined "HAVE_SCALAPACK" to "1" Defined make macro "SCALAPACK_LIB" to "-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd" Defined make macro "SCALAPACK_INCLUDE" to "" Defined "HAVE_SUPERLU_DIST" to "1" Defined make macro "SUPERLU_DIST_LIB" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -lsuperlu_dist" Defined make macro "SUPERLU_DIST_INCLUDE" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include" Defined make macro "BLASLAPACK_LIB" to "-Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd" Defined make macro "BLASLAPACK_INCLUDE" to "" Defined "HAVE_PTHREAD" to "1" Defined make macro "PTHREAD_LIB" to "-lpthread" Defined make macro "PTHREAD_INCLUDE" to "" Defined "HAVE_HDF5" to "1" Defined make macro "HDF5_LIB" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -lhdf5" Defined make macro "HDF5_INCLUDE" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include" Defined "HAVE_PARMETIS" to "1" Defined make macro "PARMETIS_LIB" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis" Defined make macro "PARMETIS_INCLUDE" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include" Defined "HAVE_METIS" to "1" Defined make macro "METIS_LIB" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis" Defined make macro "METIS_INCLUDE" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include" Defined "HAVE_MATHLIB" to "1" Defined make macro "MATHLIB_LIB" to "-lm" Defined make macro "MATHLIB_INCLUDE" to "" Defined "HAVE_ZLIB" to "1" Defined make macro "ZLIB_LIB" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz" Defined make macro "ZLIB_INCLUDE" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include" Defined "HAVE_REGEX" to "1" Defined make macro "REGEX_LIB" to "" Defined make macro "REGEX_INCLUDE" to "" Defined make macro "MPI_LIB" to "" Defined make macro "MPI_INCLUDE" to "" Defined "HAVE_DEVICE" to "1" Defined "HAVE_HIP" to "1" Defined make macro "HIP_LIB" to "-Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64" Defined make macro "HIP_INCLUDE" to "-I/opt/rocm-4.5.0/hip/include" Defined make macro "PETSC_EXTERNAL_LIB_BASIC" to "-Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lHYPRE -lsci_amd -lsuperlu_dist -lsci_amd -lpthread -lhdf5 -lparmetis -lmetis -lm -lz -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -lgcc_s -lstdc++ -ldl" Defined make macro "PETSC_CC_INCLUDES" to "-I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/include -I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/arch-linux-c-opt/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include" Defined make macro "PETSC_CC_INCLUDES_INSTALL" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include" Defined make macro "PETSC_FC_INCLUDES" to "-I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/include -I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/arch-linux-c-opt/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include" Defined make macro "PETSC_FC_INCLUDES_INSTALL" to "-I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include" Defined "LIB_DIR" to ""/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/lib"" Defined make macro "LIBNAME" to "${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX}" Defined make macro "SHLIBS" to "libpetsc" Defined make macro "PETSC_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_KSP_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_TS_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_TAO_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_WITH_EXTERNAL_LIB" to "-L${PETSC_DIR}/${PETSC_ARCH}/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lpetsc -lHYPRE -lsci_amd -lsuperlu_dist -lsci_amd -lpthread -lhdf5 -lparmetis -lmetis -lm -lz -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -lgcc_s -lstdc++ -ldl" Defined "USE_SINGLE_LIBRARY" to "1" Defined make macro "PETSC_SYS_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_VEC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_MAT_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_DM_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_KSP_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_SNES_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TS_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TAO_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_CHARACTERISTIC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_CONTRIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "CONFIGURE_OPTIONS" to "--prefix=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7 --with-ssl=0 --download-c2html=0 --download-sowing=0 --download-hwloc=0 CFLAGS= FFLAGS=-fPIC CXXFLAGS= LDFLAGS=-Wl,-z,notext --with-cc=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --with-cxx=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --with-fc=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --with-precision=double --with-scalar-type=real --with-shared-libraries=1 --with-debugging=0 --with-openmp=0 --with-64-bit-indices=0 COPTFLAGS= FOPTFLAGS= CXXOPTFLAGS= --with-blaslapack-lib=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so --with-batch=1 --with-x=0 --with-clanguage=C --with-cuda=0 --with-hip=1 --with-hip-dir=/opt/rocm-4.5.0/hip --with-metis=1 --with-metis-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include --with-metis-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so --with-hypre=1 --with-hypre-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include --with-hypre-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib/libHYPRE.so --with-parmetis=1 --with-parmetis-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include --with-parmetis-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so --with-superlu_dist=1 --with-superlu_dist-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include --with-superlu_dist-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib/libsuperlu_dist.so --with-ptscotch=0 --with-suitesparse=0 --with-hdf5=1 --with-hdf5-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include --with-hdf5-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib/libhdf5.so --with-zlib=1 --with-zlib-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include --with-zlib-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/libz.so --with-mumps=0 --with-trilinos=0 --with-fftw=0 --with-valgrind=0 --with-gmp=0 --with-libpng=0 --with-giflib=0 --with-mpfr=0 --with-netcdf=0 --with-pnetcdf=0 --with-moab=0 --with-random123=0 --with-exodusii=0 --with-cgns=0 --with-memkind=0 --with-p4est=0 --with-saws=0 --with-yaml=0 --with-hwloc=0 --with-libjpeg=0 --with-scalapack=1 --with-scalapack-lib=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so --with-strumpack=0 --with-mmg=0 --with-parmmg=0 --with-tetgen=0 --with-cxx-dialect=C++11" ================================================================================ child PETSc.Configure took 2.754429 seconds child sum 64.033220 child total 64.046519 **** arch-linux-c-opt/lib/petsc/conf/petscvariables **** FAST_AR_FLAGS = Scq AR_FLAGS = cr AR_ARGFILE = yes C_VERSION = AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Cxx_VERSION = AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) FC_VERSION = AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) HIP_VERSION = HIP version: 4.4.21401-bedc5f61 MPICXX_SHOW = Unavailable C_DEPFLAGS = -MMD -MP CXX_DEPFLAGS = -MMD -MP HIP_DEPFLAGS = -MMD -MP FC_DEFINE_FLAG = -D wPETSC_DIR = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7 CC_FLAGS = -fPIC CXXPP_FLAGS = CXX_FLAGS = -std=c++11 -fPIC CXX_LINKER = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx CXX_LINKER_FLAGS = -Wl,-z,notext CPP_FLAGS = PCC = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc PCC_FLAGS = -fPIC CC_SUFFIX = o PCC_LINKER = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc PCC_LINKER_FLAGS = -Wl,-z,notext -fPIC CC_LINKER_SUFFIX = FPP_FLAGS = FC_FLAGS = -fPIC FC_SUFFIX = o FC_LINKER = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 FC_LINKER_FLAGS = -Wl,-z,notext -fPIC FC_MODULE_FLAG = -I FC_MODULE_OUTPUT_FLAG = -module HIPC_FLAGS = -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 --amdgpu-target=gfx90a HIPPP_FLAGS = SL_LINKER = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc SL_LINKER_FLAGS = ${PCC_LINKER_FLAGS} SL_LINKER_SUFFIX = so SL_LINKER_LIBS = ${PETSC_EXTERNAL_LIB_BASIC} PETSC_LANGUAGE = CONLY PETSC_SCALAR = real PETSC_PRECISION = double PETSC_WITH_BATCH = 1 HYPRE_LIB = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -lHYPRE HYPRE_INCLUDE = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include SCALAPACK_LIB = -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd SCALAPACK_INCLUDE = SUPERLU_DIST_LIB = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -lsuperlu_dist SUPERLU_DIST_INCLUDE = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include BLASLAPACK_LIB = -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd BLASLAPACK_INCLUDE = PTHREAD_LIB = -lpthread PTHREAD_INCLUDE = HDF5_LIB = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -lhdf5 HDF5_INCLUDE = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include PARMETIS_LIB = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis PARMETIS_INCLUDE = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include METIS_LIB = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis METIS_INCLUDE = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include MATHLIB_LIB = -lm MATHLIB_INCLUDE = ZLIB_LIB = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz ZLIB_INCLUDE = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include REGEX_LIB = REGEX_INCLUDE = MPI_LIB = MPI_INCLUDE = HIP_LIB = -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 HIP_INCLUDE = -I/opt/rocm-4.5.0/hip/include PETSC_EXTERNAL_LIB_BASIC = -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lHYPRE -lsci_amd -lsuperlu_dist -lsci_amd -lpthread -lhdf5 -lparmetis -lmetis -lm -lz -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -lgcc_s -lstdc++ -ldl PETSC_CC_INCLUDES = -I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/include -I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/arch-linux-c-opt/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include PETSC_CC_INCLUDES_INSTALL = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include PETSC_FC_INCLUDES = -I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/include -I/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src/arch-linux-c-opt/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include PETSC_FC_INCLUDES_INSTALL = -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include -I/opt/rocm-4.5.0/hip/include LIBNAME = ${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX} SHLIBS = libpetsc PETSC_LIB_BASIC = -lpetsc PETSC_KSP_LIB_BASIC = -lpetsc PETSC_TS_LIB_BASIC = -lpetsc PETSC_TAO_LIB_BASIC = -lpetsc PETSC_WITH_EXTERNAL_LIB = -L${PETSC_DIR}/${PETSC_ARCH}/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -Wl,-rpath,/opt/cray/pe/dsmml/0.2.2/dsmml/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/lib64/gcc/x86_64-suse-linux/7 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/opt/rocm-4.5.0/llvm/lib -L/opt/rocm-4.5.0/llvm/lib -lpetsc -lHYPRE -lsci_amd -lsuperlu_dist -lsci_amd -lpthread -lhdf5 -lparmetis -lmetis -lm -lz -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 -lstdc++ -ldl -lmpifort_amd -lmpi_amd -lsci_amd_mpi -lsci_amd -ldsmml -lflangmain -lpgmath -lflang -lflangrti -lompstub -lm -lrt -lpthread -lgcc_s -lstdc++ -ldl PETSC_SYS_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_VEC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_MAT_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_DM_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_KSP_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_SNES_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_TS_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_TAO_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_CHARACTERISTIC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_CONTRIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} CONFIGURE_OPTIONS = --prefix=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7 --with-ssl=0 --download-c2html=0 --download-sowing=0 --download-hwloc=0 CFLAGS= FFLAGS=-fPIC CXXFLAGS= LDFLAGS=-Wl,-z,notext --with-cc=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc --with-cxx=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx --with-fc=/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 --with-precision=double --with-scalar-type=real --with-shared-libraries=1 --with-debugging=0 --with-openmp=0 --with-64-bit-indices=0 COPTFLAGS= FOPTFLAGS= CXXOPTFLAGS= --with-blaslapack-lib=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so --with-batch=1 --with-x=0 --with-clanguage=C --with-cuda=0 --with-hip=1 --with-hip-dir=/opt/rocm-4.5.0/hip --with-metis=1 --with-metis-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include --with-metis-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib/libmetis.so --with-hypre=1 --with-hypre-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include --with-hypre-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib/libHYPRE.so --with-parmetis=1 --with-parmetis-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include --with-parmetis-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib/libparmetis.so --with-superlu_dist=1 --with-superlu_dist-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include --with-superlu_dist-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib/libsuperlu_dist.so --with-ptscotch=0 --with-suitesparse=0 --with-hdf5=1 --with-hdf5-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include --with-hdf5-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib/libhdf5.so --with-zlib=1 --with-zlib-include=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include --with-zlib-lib=/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib/libz.so --with-mumps=0 --with-trilinos=0 --with-fftw=0 --with-valgrind=0 --with-gmp=0 --with-libpng=0 --with-giflib=0 --with-mpfr=0 --with-netcdf=0 --with-pnetcdf=0 --with-moab=0 --with-random123=0 --with-exodusii=0 --with-cgns=0 --with-memkind=0 --with-p4est=0 --with-saws=0 --with-yaml=0 --with-hwloc=0 --with-libjpeg=0 --with-scalapack=1 --with-scalapack-lib=/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib/libsci_amd.so --with-strumpack=0 --with-mmg=0 --with-parmmg=0 --with-tetgen=0 --with-cxx-dialect=C++11 MKDIR = /usr/bin/mkdir -p SHELL = /usr/bin/bash SED = /usr/bin/sed SEDINPLACE = /usr/bin/sed -i MV = /usr/bin/mv CP = /usr/bin/cp GREP = /usr/bin/grep RM = /usr/bin/rm -f DIFF = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/diffutils-3.8-fhao3hghxno7wgdflw7uw4xvnxikkb7g/bin/diff -w PYTHON = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/python3.9 M4 = /usr/bin/m4 CC = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc CPP = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -E CXX = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx CXXPP = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -E HIPC = /opt/rocm-4.5.0/hip/bin/hipcc HIPPP = /opt/rocm-4.5.0/hip/bin/hipcc -E FC = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 FPP = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -E AR = /usr/bin/ar RANLIB = /usr/bin/ranlib AR_LIB_SUFFIX = a LD_SHARED = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc DYNAMICLINKER = /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc CC_LINKER_SLFLAG = -Wl,-rpath, FC_LINKER_SLFLAG = -Wl,-rpath, CLANGUAGE = C GIT = git PREFIXDIR = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7 PETSC_SCALAR_SIZE = 64 PETSC_INDEX_SIZE = 32 MAKE = /usr/bin/gmake MAKE_USER = make OMAKE_PRINTDIR = /usr/bin/gmake --print-directory OMAKE = /usr/bin/gmake --no-print-directory MAKE_PAR_OUT_FLG = --output-sync=recurse MAKE_NP = 59 MAKE_TEST_NP = 49 MAKE_LOAD = 166.4 NPMAX = 128 SONAME_FUNCTION = $(1).$(SL_LINKER_SUFFIX).$(2) SL_LINKER_FUNCTION = -Wl,-z,notext -shared -fPIC -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2)) BUILDSHAREDLIB = yes GDB = /usr/bin/gdb DSYMUTIL = true MPIEXEC = Not_appropriate_for_batch_systems_You_must_use_your_batch_system_to_submit_MPI_jobs_speak_with_your_local_sys_admin MPICXX_INCLUDES = -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include MPICXX_LIBS = -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd FULLPATHHIPC = /opt/rocm-4.5.0/hip/bin/hipcc HIP_CONFIG = /opt/rocm-4.5.0/bin/hipconfig ROCMINFO = /opt/rocm-4.5.0/bin/rocminfo CMAKE = /usr/bin/cmake CTEST = /usr/bin/ctest BFORT = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bfort DOCTEXT = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/doctext MAPNAMES = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/mapnames BIB2HTML = /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bib2html PETSC_TEST_OPTIONS = -use_gpu_aware_mpi 0 **** arch-linux-c-opt/lib/petsc/conf/petscrules **** print_mesg_after_build: -@echo "=========================================" -@echo "Now to install the libraries do:" -@echo "${MAKE_USER} PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} install" -@echo "=========================================" libc: ${LIBNAME}(${OBJSC}) libcxx: ${LIBNAME}(${OBJSCXX}) libcu: ${LIBNAME}(${OBJSCU}) libf: ${OBJSF} -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} shared_arch: shared_linux amrex-build: amrex-install: mfem-build: mfem-install: slepc-build: slepc-install: bamg-build: bamg-install: hpddm-build: hpddm-install: libmesh-build: libmesh-install: petsc4py-build: petsc4py-install: petsc4pytest: **** arch-linux-c-opt/include/petscconf.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_ARCH "" #define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned(size))) #define PETSC_Alignx(a,b) #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_CLANGUAGE_C 1 #define PETSC_CXX_RESTRICT __restrict #define PETSC_DEPRECATED_ENUM(why) __attribute((deprecated)) #define PETSC_DEPRECATED_FUNCTION(why) __attribute((deprecated)) #define PETSC_DEPRECATED_MACRO(why) _Pragma(why) #define PETSC_DEPRECATED_TYPEDEF(why) __attribute((deprecated)) #define PETSC_DIR "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7" #define PETSC_DIR_SEPARATOR '/' #define PETSC_FORTRAN_CHARLEN_T int #define PETSC_FORTRAN_TYPE_INITIALIZE = -2 #define PETSC_FUNCTION_NAME_C __func__ #define PETSC_FUNCTION_NAME_CXX __func__ #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_ATOLL 1 #define PETSC_HAVE_ATTRIBUTEALIGNED 1 #define PETSC_HAVE_BUILTIN_EXPECT 1 #define PETSC_HAVE_BZERO 1 #define PETSC_HAVE_C99_COMPLEX 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_CUPM 1 #define PETSC_HAVE_CXX 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_HAVE_CXX_COMPLEX_FIX 1 #define PETSC_HAVE_CXX_DIALECT_CXX11 1 #define PETSC_HAVE_DEVICE 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_DOUBLE_ALIGN_MALLOC 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_FORTRAN 1 #define PETSC_HAVE_FORTRAN_FLUSH 1 #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #define PETSC_HAVE_FORTRAN_UNDERSCORE 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_GETWD 1 #define PETSC_HAVE_HDF5 1 #define PETSC_HAVE_HIP 1 #define PETSC_HAVE_HIPROCM 1 #define PETSC_HAVE_HIP_DIALECT_CXX11 1 #define PETSC_HAVE_HIP_DIALECT_CXX14 1 #define PETSC_HAVE_HIP_DIALECT_CXX17 1 #define PETSC_HAVE_HYPRE 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_MEMALIGN 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_METIS 1 #define PETSC_HAVE_MMAP 1 #define PETSC_HAVE_MPICH_NUMVERSION 30400002 #define PETSC_HAVE_MPIIO 1 #define PETSC_HAVE_MPI_COMBINER_CONTIGUOUS 1 #define PETSC_HAVE_MPI_COMBINER_DUP 1 #define PETSC_HAVE_MPI_COMBINER_NAMED 1 #define PETSC_HAVE_MPI_F90MODULE 1 #define PETSC_HAVE_MPI_F90MODULE_VISIBILITY 1 #define PETSC_HAVE_MPI_FEATURE_DYNAMIC_WINDOW 1 #define PETSC_HAVE_MPI_FINALIZED 1 #define PETSC_HAVE_MPI_GET_ACCUMULATE 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_INT64_T 1 #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #define PETSC_HAVE_MPI_NEIGHBORHOOD_COLLECTIVES 1 #define PETSC_HAVE_MPI_NONBLOCKING_COLLECTIVES 1 #define PETSC_HAVE_MPI_ONE_SIDED 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_RGET 1 #define PETSC_HAVE_MPI_WIN_CREATE 1 #define PETSC_HAVE_NANOSLEEP 1 #define PETSC_HAVE_NETDB_H 1 #define PETSC_HAVE_NETINET_IN_H 1 #define PETSC_HAVE_PARMETIS 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_PTHREAD 1 #define PETSC_HAVE_PTHREAD_BARRIER_T 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_REGEX 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_SCALAPACK 1 #define PETSC_HAVE_SCHED_CPU_SET_T 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_SO_REUSEADDR 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_SUPERLU_DIST 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_HAVE_XMMINTRIN_H 1 #define PETSC_HDF5_HAVE_PARALLEL 1 #define PETSC_HDF5_HAVE_ZLIB 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 32 #define PETSC_LIB_DIR "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/lib" #define PETSC_MAX_PATH_LEN 4096 #define PETSC_MEMALIGN 16 #define PETSC_MPICC_SHOW "/autofs/nccs-svm1_proj/ven114/lukebr/spack/lib/spack/env/rocmcc/amdclang -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd" #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA #define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 #define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 #define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 #define PETSC_PYTHON_EXE "/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/python-3.9.10-7y7mxajn5rywz5xdnba4azphcdodxiub/bin/python3.9" #define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) #define PETSC_REPLACE_DIR_SEPARATOR '\\' #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_SLSUFFIX "so" #define PETSC_UINTPTR_T uintptr_t #define PETSC_UNUSED __attribute((unused)) #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_INFO 1 #define PETSC_USE_LOG 1 #define PETSC_USE_MALLOC_COALESCED 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_USE_SHARED_LIBRARIES 1 #define PETSC_USE_SINGLE_LIBRARY 1 #define PETSC_USE_SOCKET_VIEWER 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-03-11 12:02:01 -0600" #define PETSC_VERSION_GIT "3cfff3d279e6da04ec8c99cb1b8a27e868d150cf" #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC__GNU_SOURCE 1 #define __HIP_PLATFORM_AMD__ 1 #define __HIP_PLATFORM_HCC__ 1 #endif **** arch-linux-c-opt/include/petscfix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif **** arch-linux-c-opt/include/petscpkg_version.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_PKG_MPI_VERSION_MAJOR 3 #define PETSC_PKG_MPI_VERSION_MINOR 0 #define PETSC_PKG_MPI_VERSION_SUBMINOR 0 #define PETSC_PKG_MPI_VERSION_ PETSC_PKG_MPI_VERSION_EQ #define PETSC_PKG_MPI_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_MPI_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_MPI_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_MPI_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_MPI_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_MPI_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_MPI_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_MPI_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_MPI_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_MPI_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_MPI_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_MPI_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_MPI_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_MPI_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_MPI_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_MPI_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_MPI_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HIP_VERSION_MAJOR 4 #define PETSC_PKG_HIP_VERSION_MINOR 4 #define PETSC_PKG_HIP_VERSION_SUBMINOR 0 #define PETSC_PKG_HIP_VERSION_ PETSC_PKG_HIP_VERSION_EQ #define PETSC_PKG_HIP_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_HIP_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_HIP_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_HIP_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_HIP_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_HIP_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_HIP_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_HIP_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_HIP_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_HIP_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_HIP_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_HIP_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_HIP_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HIP_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_HIP_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HIP_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_HIP_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_ZLIB_VERSION_MAJOR 1 #define PETSC_PKG_ZLIB_VERSION_MINOR 2 #define PETSC_PKG_ZLIB_VERSION_SUBMINOR 11 #define PETSC_PKG_ZLIB_VERSION_ PETSC_PKG_ZLIB_VERSION_EQ #define PETSC_PKG_ZLIB_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_ZLIB_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_ZLIB_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_ZLIB_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_ZLIB_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_ZLIB_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_ZLIB_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_ZLIB_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_ZLIB_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_ZLIB_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_ZLIB_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_ZLIB_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_ZLIB_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_ZLIB_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_ZLIB_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_ZLIB_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_ZLIB_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HDF5_VERSION_MAJOR 1 #define PETSC_PKG_HDF5_VERSION_MINOR 12 #define PETSC_PKG_HDF5_VERSION_SUBMINOR 1 #define PETSC_PKG_HDF5_VERSION_ PETSC_PKG_HDF5_VERSION_EQ #define PETSC_PKG_HDF5_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_HDF5_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_HDF5_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_HDF5_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_HDF5_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_HDF5_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_HDF5_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_HDF5_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_HDF5_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_HDF5_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_HDF5_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_HDF5_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_HDF5_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HDF5_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_HDF5_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HDF5_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_HDF5_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HYPRE_VERSION_MAJOR 2 #define PETSC_PKG_HYPRE_VERSION_MINOR 24 #define PETSC_PKG_HYPRE_VERSION_SUBMINOR 0 #define PETSC_PKG_HYPRE_VERSION_ PETSC_PKG_HYPRE_VERSION_EQ #define PETSC_PKG_HYPRE_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_HYPRE_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_HYPRE_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_HYPRE_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_HYPRE_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_HYPRE_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_HYPRE_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_HYPRE_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_HYPRE_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_HYPRE_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_HYPRE_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_HYPRE_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_HYPRE_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HYPRE_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_HYPRE_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_HYPRE_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_HYPRE_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_METIS_VERSION_MAJOR 5 #define PETSC_PKG_METIS_VERSION_MINOR 1 #define PETSC_PKG_METIS_VERSION_SUBMINOR 0 #define PETSC_PKG_METIS_VERSION_ PETSC_PKG_METIS_VERSION_EQ #define PETSC_PKG_METIS_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_METIS_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_METIS_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_METIS_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_METIS_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_METIS_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_METIS_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_METIS_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_METIS_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_METIS_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_METIS_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_METIS_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_METIS_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_METIS_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_METIS_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_METIS_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_METIS_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_PARMETIS_VERSION_MAJOR 4 #define PETSC_PKG_PARMETIS_VERSION_MINOR 0 #define PETSC_PKG_PARMETIS_VERSION_SUBMINOR 3 #define PETSC_PKG_PARMETIS_VERSION_ PETSC_PKG_PARMETIS_VERSION_EQ #define PETSC_PKG_PARMETIS_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_PARMETIS_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_PARMETIS_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_PARMETIS_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_PARMETIS_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_PARMETIS_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_PARMETIS_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_PARMETIS_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_PARMETIS_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_PARMETIS_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_PARMETIS_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_PARMETIS_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_PARMETIS_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_PARMETIS_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_PARMETIS_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_PARMETIS_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_PARMETIS_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_SUPERLU_DIST_VERSION_MAJOR 7 #define PETSC_PKG_SUPERLU_DIST_VERSION_MINOR 2 #define PETSC_PKG_SUPERLU_DIST_VERSION_SUBMINOR 0 #define PETSC_PKG_SUPERLU_DIST_VERSION_ PETSC_PKG_SUPERLU_DIST_VERSION_EQ #define PETSC_PKG_SUPERLU_DIST_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_SUPERLU_DIST_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_SUPERLU_DIST_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_SUPERLU_DIST_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_SUPERLU_DIST_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_SUPERLU_DIST_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_SUPERLU_DIST_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_SUPERLU_DIST_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_SUPERLU_DIST_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_SUPERLU_DIST_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_SUPERLU_DIST_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_SUPERLU_DIST_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_SUPERLU_DIST_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_SUPERLU_DIST_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_SUPERLU_DIST_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_SUPERLU_DIST_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_SUPERLU_DIST_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #endif Attempting to save configure hash file: arch-linux-c-opt/lib/petsc/conf/configure-hash Saved configure hash file: arch-linux-c-opt/lib/petsc/conf/configure-hash Configure Actions These are the actions performed by configure on the filesystem ----------------------------------------------------------------- PETSc: File creation : Generated Fortran stubs Build : Set default architecture to arch-linux-c-opt in lib/petsc/conf/petscvariables File creation : Created arch-linux-c-opt/lib/petsc/conf/reconfigure-arch-linux-c-opt.py for automatic reconfiguration Framework: RDict update : Substitutions were stored in RDict with parent None File creation : Created makefile configure header arch-linux-c-opt/lib/petsc/conf/petscvariables File creation : Created makefile configure header arch-linux-c-opt/lib/petsc/conf/petscrules File creation : Created configure header arch-linux-c-opt/include/petscconf.h File creation : Created C specific configure header arch-linux-c-opt/include/petscfix.h File creation : Created configure pkg header arch-linux-c-opt/include/petscpkg_version.h Compilers: C Compiler: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -fPIC Version: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) HIP Compiler: /opt/rocm-4.5.0/hip/bin/hipcc -std=gnu++17 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 --amdgpu-target=gfx90a Version: HIP version: 4.4.21401-bedc5f61 C++ Compiler: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicxx -std=c++11 -fPIC Version: AMD clang version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Fortran Compiler: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpif90 -fPIC Version: AMD flang-new version 13.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-4.5.0 21422 e2489b0d7ede612d6586c61728db321047833ed8) Linkers: Shared linker: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -Wl,-z,notext -shared -fPIC Dynamic linker: /opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/bin/mpicc -Wl,-z,notext -shared -fPIC Libraries linked against: -lstdc++ -ldl Intel instruction sets utilizable by compiler: AVX2 Intel instruction sets utilizable by compiler: AVX2 BlasLapack: Library: -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd Unknown if this uses OpenMP (try export OMP_NUM_THREADS=<1-4> yourprogram -log_view) uses 4 byte integers MPI: Version: 3 mpiexec: Not_appropriate_for_batch_systems_You_must_use_your_batch_system_to_submit_MPI_jobs_speak_with_your_local_sys_admin Implementation: mpich3 MPI C++ include paths: -I/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/include MPI C++ libraries: -L/opt/cray/pe/mpich/8.1.12/ofi/amd/4.4/lib -lmpi_amd MPICH_NUMVERSION: 30400002 hip: Version: 4.4 Includes: -I/opt/rocm-4.5.0/hip/include Library: -Wl,-rpath,/opt/rocm-4.5.0/hip/lib -L/opt/rocm-4.5.0/hip/lib -lhipsparse -lhipblas -lrocsparse -lrocsolver -lrocblas -lrocrand -lamdhip64 HIP arch: gfx90a pthread: Library: -lpthread zlib: Version: 1.2.11 Includes: -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/include Library: -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/zlib-1.2.11-2ciasfxwyxanyohroisdpvidg4gs2fdy/lib -lz hdf5: Version: 1.12.1 Includes: -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/include Library: -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hdf5-1.12.1-dp5vqo4tjh6oi7szpcsqkdlifgjxknzf/lib -lhdf5 cmake: Version: 3.17.0 /usr/bin/cmake hypre: Version: 2.24.0 Includes: -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/include Library: -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/hypre-develop-vgfx3lhhloq4cnethsrrpz7iez7x6wad/lib -lHYPRE metis: Version: 5.1.0 Includes: -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/include Library: -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/metis-5.1.0-zn5rn5srr7qzxyo5tq36d46adcsyc5a7/lib -lmetis parmetis: Version: 4.0.3 Includes: -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/include Library: -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/parmetis-4.0.3-6jqxqmt7qqq73rxmx3beu5ba4vj3r253/lib -lparmetis regex: scalapack: Library: -Wl,-rpath,/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -L/opt/cray/pe/libsci/21.08.1.2/AMD/4.0/x86_64/lib -lsci_amd SuperLU_DIST: Version: 7.2.0 Includes: -I/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/include Library: -Wl,-rpath,/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -L/gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/superlu-dist-develop-mpiyhomp4k72bilqn6xk7uol36ulsdve/lib -lsuperlu_dist sowing: Version: 1.1.26 /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/sowing-1.1.26-p1-ptouwec7vx3sedrzlclv633jqitycbu4/bin/bfort Language used to compile PETSc: C PETSc: PETSC_ARCH: arch-linux-c-opt PETSC_DIR: /tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src Prefix: /gpfs/alpine/ven114/scratch/lukebr/confidence/spack/install_tree/cray-sles15-zen3/rocmcc-4.5.0/petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7 Scalar type: real Precision: double Integer size: 4 bytes Single library: yes Shared libraries: yes Memory alignment from malloc(): 16 bytes Using GNU make: /usr/bin/gmake xxx=========================================================================xxx Configure stage complete. Now build PETSc libraries with: make PETSC_DIR=/tmp/lukebr/spack-stage/spack-stage-petsc-main-mccbycx66la7rlx6jv44f6zd63cmdzm7/spack-src PETSC_ARCH=arch-linux-c-opt all xxx=========================================================================xxx ================================================================================ Finishing configure run at Fri, 11 Mar 2022 15:28:16 -0500 ================================================================================